Quote: |
Originally Posted by sarumont Just foi, what prog did you use to bind them?
And a side note: I've seen keyboards with a little penguin on the "windows keys" instead of a windows symbol. And they were all hooked up to puters running Windows at a LAN party.  | I've only seen pics of the "Tux Key"
I use xmodmap, after some xev'ing I also bound a few other keys, I made a fix_keys bash script: Code: #!/bin/bash
# 115 = left winkey, 116 = right winkey
xmodmap -e 'keycode 115 = Super_L'
xmodmap -e 'keycode 116 = Super_R'
xmodmap -e 'keycode 0x75 = Menu'
# www
xmodmap -e 'keycode 178 = XF86HomePage'
# e-mail
xmodmap -e 'keycode 236 = XF86Mail'
# Stop
xmodmap -e 'keycode 164 = XF86AudioStop'
# Play/Pause
xmodmap -e 'keycode 162 = XF86AudioPlay'
# Previous
xmodmap -e 'keycode 144 = XF86AudioPrev'
# Next
xmodmap -e 'keycode 153 = XF86AudioNext'
# Mute
xmodmap -e 'keycode 160 = XF86AudioMute'
# Vol -
xmodmap -e 'keycode 174 = XF86AudioLowerVolume'
# Vol +
xmodmap -e 'keycode 176 = XF86AudioRaiseVolume'
# power = 222, Sleep = 223, Wake up = 227
xmodmap -e 'keycode 227 = XF86WakeUp'
(I've also made a ~/.Xmodmap, but it's untested -- haven't restarted X) Code: keycode 0x73 = Super_L
keycode 0x74 = Super_R
keycode 0x75 = Menu
keycode 178 = XF86HomePage
keycode 236 = XF86Mail
keycode 164 = XF86AudioStop
keycode 162 = XF86AudioPlay
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 227 = XF86WakeUp
then I used the IceWM's 'keys' config file to bind it, I first assigned F13,F14 to the WinKeys and added "actions" for them.
Untill I made some diging in the IceWM CVS (-headace-), and found out that they use Super_L and Super_R for the windows keys -- there is a config option that enables IceWM to use Super_L (Win_L) as shortcu to the IceWM menu, Super_R (Win_R) opens the window list. And menu does the same as right clicking (in some apps, like X-Chat  , alas not in MFB).
Then I had to fight with the keyboard layout (changed from pc102 to pc109 (pc104, or was it pc105 -- didn't work, some keys didn't listen then)).
__________________
Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.
|