Shea Martin <[EMAIL PROTECTED]> wrote:
> I am trying to figure out the key # of my two Windows
> buttons (win95 keyboard). bbkeys homepage says to use the
> command 'xev', but it is not on my system, and the closest
> *.deb is xevil ->game.
YMMV, but I added the following lines to my .xinitrc after
determining the proper keycodes with xev, perhaps you could
try the same numbers:
# Map extra fnc keys for bbkeys
/usr/X11R6/bin/xmodmap -e "keycode 115 = F30" #left Windows button
/usr/X11R6/bin/xmodmap -e "keycode 116 = F31" #right Windows button
/usr/X11R6/bin/xmodmap -e "keycode 117 = F32" #right "menu" button
and the corresponding configuration in .bbkeysrc (sorry for
the long lines):
KeyToGrab(F30), WithModifier(Control), WithAction(ExecCommand), DoThis(ssh
tron.tunl.duke.edu -f rxvt -title mutt:beal@tunl -name mutt -e 'mutt -f =lists')
KeyToGrab(F30), WithModifier(None), WithAction(ExecCommand), DoThis(ssh
tron.tunl.duke.edu -f rxvt -title mutt:beal@tunl -name mutt -e 'mutt -f =inbox')
KeyToGrab(F31), WithModifier(None), WithAction(ExecCommand), DoThis(rxvt -name huge
-title slrn -e slrn)
KeyToGrab(F32), WithModifier(None), WithAction(ExecCommand),
DoThis(/home/beal/bin/runnetscape)
KeyToGrab(F32), WithModifier(Mod1), WithAction(ExecCommand), DoThis(killall -9
netscape-navigator)
KeyToGrab(F32), WithModifier(Shift), WithAction(ExecCommand), DoThis(rxvt -name huge
-title lynx +sb -e lynx)
voila - an "Internet Keyboard". (That 'killall -9
netscape-navigator' is my favorite hotkey, btw. <g>)
--
Bill Beal
[EMAIL PROTECTED]
http://www.bildo.net/