Key Binding
Jim Herrmann
jimh at ItDepends.com
Thu Dec 26 05:13:27 CST 2002
I'm using KDE, and sometimes IceWM. Is the example you sent from
file:/etc/X11/Xmodmap? That should set them up for any window manager,
correct? How do you map function keys to commands or scripts?
Thanks,
Jim
Tony Hammitt wrote:
> Which window manager are you using? KDE has pretty simple
> configuration, I hear. I don't even know about gnome. My FVWM setup
> was a little more complicated but it's a _lot_ more flexible than any
> of the other WM's key configurations (for instance, it can easily do
> anything you can write in a script and can behave differently with
> shift control or alt)
>
> You can always just bind the keys to function keys, here's what I have
> for my Logitec Cordless Desktop Pro:
>
>
> # left 'doze keycode 115 F13
> # right 'doze keycode 116 F14
> # menu keycode 117 F15
> # logitech keycode 161 F28
> xmodmap -e 'keycode 115 = F13'
> xmodmap -e 'keycode 116 = F14'
> xmodmap -e 'keycode 117 = F15'
> xmodmap -e 'keycode 161 = F28'
>
> # sleep keycode 223 F16
> # home keycode 178 F17
> # email keycode 236 F18
> # search keycode 229 F19
> # run keycode 230 F20
> xmodmap -e 'keycode 223 = F16'
> xmodmap -e 'keycode 178 = F17'
> xmodmap -e 'keycode 236 = F18'
> xmodmap -e 'keycode 229 = F19'
> xmodmap -e 'keycode 230 = F20'
>
> # mute keycode 160 F21
> # vol down keycode 174 F22
> # vol up keycode 176 F23
> # pause keycode 162 F24
> # stop keycode 164 F25
> # replay keycode 144 F26
> # skip to next keycode 153 F27
> xmodmap -e 'keycode 160 = F21'
> xmodmap -e 'keycode 174 = F22'
> xmodmap -e 'keycode 176 = F23'
> xmodmap -e 'keycode 162 = F24'
> xmodmap -e 'keycode 164 = F25'
> xmodmap -e 'keycode 144 = F26'
> xmodmap -e 'keycode 153 = F27'
>
>
>
> Jim Herrmann wrote:
>
>> OK, I got a new wireless keyboard and mouse for christmas. I plugged
>> it in, and it works fine without any help from me. The thing is, it
>> has all these extra keys and buttons and geegaws. It sure would be
>> cool to be able to use them. Does anyone know how to go about this?
>>
>> Thanks,
>> Jim
>>
>>
>>
>>
>>
>
>
>
>
>
>
More information about the Kclug
mailing list