SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

$Id: README,v 1.6 2003/10/28 17:51:03 jpr5 Exp $

Program: Kedge (KDE edge)
Author: Jordan Ritter <jpr5@darkridge.com> Date: October 28, 2003
Version: 1.3

Description

Kedge is a simple little utility designed to bring edge-sensitive desktop switching to KDE. By moving the mouse against an edge, KDE will automatically switch to the adjacent desktop in that direction.

Notes

Apparently KDE3 finally has this capability built-in. This is good news, except for two annoyances:

  1. When you change to a new desktop, the pointer gets warped way too far towards the center of the screen, which is extremely irritating if you accidentally switched desktops and need to switch back. 10 pixels in is all you really need.
  2. Apparently outer borders aren't respected by the capability, so all borders are active instead of just borders adjacent to other desktops.

The first could be fixed with a recompile, and the second probably needs a patch. Otherwise, if you're using KDE3 you don't really need kedge, unless the above proves too bothersome (as it does for me).

The last version fork()'d, in this version the code is removed. The Autostart's functionality is a little irritating with respect to fork()'ing programs -- it will insist the program crashed or terminated prematurely if you fork() during an Autostart scenario. Best thing is just not to fork(), and if you want it in the background you can start it with an ``&''.

License

Public Domain, baby. Eat it up.

Configuration

Unlike the last version, this one is able to figure out what the current pager size is and doesn't require any hand-configuration, unless you're using a system with weird paths for QT and KDE. If this is the case, please inspect the Makefile and change the INCLUDE and LIB defines accordingly.

Installation

I suggest you install kedge into /usr/local/bin (or wherever preferred), and symlink to your Autostart directory, like so:

% cd kedge
% make
g++ -c -g -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -I/usr/X11R6/include -I/usr/lib/qt2/include -I/usr/include/kde kedge.cc -o kedge.o
g++ -g kedge.o -o kedge -L/usr/X11R6/lib -lX11 -L/usr/lib/qt2/lib -lqt /usr/lib/libkdeui.so /usr/lib/libkdecore.so -ldl % cp kedge /usr/local/bin
% cd ~/.kde/Autostart/
% ln -s /usr/local/bin/kedge
%

Usage

Kedge immediately forks and attaches to the local X server.

% ./kedge
%


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.