xhotkeys - Hot key bindings for the X-Window System
---------------------------------------------------

*** Author

	Tokland <arnau@ehas.org>

*** Motivation

	Some desktop environments have their own hotkey launcher utilitity. 
	This is nice, but also has a serious problem: if you change the 
	environment, you have to reconfigure all the hotkeys (disgusting!). 
	It's better to have a utility that do this task separately.

*** How to install

- Go to xhotkeys source directory and just:

	make install

- Configure your X Desktop environment to run "xhotkeys" at startup:
	
	for example, with GNOME: 
	 
	 - System-> Preferences -> Sessions
	 - StartUp Programs -> Add 
	 - StartUp Command: xhotkeys (Order: 50)

*** How to configure

	Take a look at the manpage (man xhotkeys), but basically:

	xhotkeys --config

*** Specificacions

	- Python 2.3 with PyXlib and PyGTK libraries 
	- User configuration file in $HOME/.xhotkeys 
	- Global configuration in /etc/.xhotkeys.conf
	- Pidfile exists with each logged user: $HOME/.xhotkeys.$USER 
	- Daemon reload configuration with SIGHUP signal

*** Why Python?

	Python is a multiplataform dynamic object-oriented language. It's easy 
	to learn and *very* funny to use. With Python you spend your time 
	programming instead of fighting with the language itself. Moreover, 
	it has tons of modules and add-ons. Wrappers for the most popular C
	libraries are often available (in fact, PyGTK and PyXlib used here
	are wrappers around the corresponding C libreries). Take a look at 
	http://www.python.org.

*** Pluses

	- Developed in Python: compact, easy to understand and modify.
	- Graphical GTK-configuration.
	- Recognizes <WinKey> apart from <Ctrl>, <Alt> and <Shift> modifiers.  
	- Human-understable and modifiable hotkeys in configuration file.
	- It's possible to change hotkeys without reloading daemon.

*** Minuses:

	Devoloped in Python :-). Scripting languages are big CPU and memory
	eaters, far more than compiled C applications. But who cares? however
	a C version of the daemon would be welcomed, it's not a urgent task
	for now.

*** Contact

	Feel free me for whatever reason at <arnau@ehas.org>
