|
NAMExbindkeys - a grabbing keys program for XSYNOPSISxbindkeys [ options ]DESCRIPTIONXbindKeys is a program that grab keys and mouse button events in X and starts associated shell command.COMMAND LINE OPTIONSAvailable command line options are as follows:
If guile support have not been disabled:
XBINDKEYSRCXBindKeys uses a configuration files. This file is $HOME/.xbindkeysrc, used only for one user. All whitespace is ignored in the files except for within the commands names double quotes.The configuration file consists of commands names in double quotes, and associated keys in the next line. Comments are started with a pound (#) and extend to the end of the line. You can see a default file with the --defaults option or create a default $HOME/.xbindkeysrc with 'xbindkeys --defaults > $HOME/.xbindkeysrc'. KEYSYMSThe program expects combinations of keysyms to be used by using plus(+) characters to combine them together.The format of a command line is: "command to start &" To specify an associated key, you can use 'xbindkeys --key' or 'xbindkeys --multikey' and put one of the two lines in the configuration file. A list of keys is in /usr/include/X11/keysym.h and in /usr/include/X11/keysymdef.h. The XK_ is not needed. List of modifiers: Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), The release modifier is not a standard X modifier, but you can use it if you want to catch release events instead of press events. By defaults, xbindkeys does not pay attention with the modifiers NumLock, CapsLock and ScrollLock. Add the lines above in the configuration file, if you want to pay attention to them. keystate_numlock = enable keystate_capslock = enable EXAMPLES# control+shift+q starts an xterm (it's a comment)"xterm" # Menu key starts xbindkeys_show # Control + mouse button 1 starts an xterm # Control+Shift+a release event starts rxvt # Control + mouse button 2 release event starts rxvt SCHEME CONFIGURATION STYLEIf the guile support have not been disabled, you can use an alternate configuration file written in scheme. xbindkeys read first the scheme configuration file, and if this file doesn't exist, it read the standard configuration file.For more details, please see here http://www.gnu.org/software/guile/guile.html Note: The guile configuration file is the prefered way if you have a non trivial configuration like for example double click, timed click or keys combinations. The defaults is ~/.xbindkeysrc.scm Use xbindkeys --defaults-guile for more details. And xbindkeys --defaults-guile > ~/.xbindkeysrc.scm to use this method. NOTExbindkeys reload its configuration file each time it has changed. But if you want to force it reloading its configuration file, you can send a HUP signal:killall -HUP xbindkeys When HUP signal is send to xbindkeys, changes in $HOME/.xbindkeysrc takes effect only after moving mouse. BUGSIf you find a bug, please send a mail to <hocwp@free.fr>HOMEPAGEhttp://hocwp.free.fr/xbindkeys AUTHORPhilippe Brochard <hocwp@free.fr>Marcello Mathias Herreshoff for the guile support <marcello@hummer.stanford.edu> FILES$HOME/.xbindkeysrc The users configuration file. $HOME/.xbindkeysrc.scm The users configuration file in scheme style (if guile support have not been disabled). SEE ALSOxbindkeys_show Utility for showing the actual keybinding with xbindkeys xmodmap(1x) Utility for modifying keymap & button mappings in X. xev(1x) Print contents of X events. /usr/include/X11/keysymdef.h X11 KeySym definitions.
Visit the GSP FreeBSD Man Page Interface. |