Hotkeys setup by Kubuntu install

Frank Siegert hugelmopf at
Sat Dec 10 00:19:17 GMT 2005

Hi all,

giving support on IRC, I was told, that hotkeys are not setup automagically 
during the Kubuntu install, while in the Ubuntu install they are. I seem to 
recall that this is true, but I have not used the Ubuntu installer on my own 
laptop yet.

Some multimedia keyboards and laptops (e.g. the guy's I supported and mine) 
use certain keycodes for hotkeys, which can be mapped to specific X-server 
keys, and which can be
1. used automatically by KDE via KMilo (mute, raise/lower volume, ...)
2. used as hotkeys as usual in the control centre (browser, email, ...)

I am not an expert in this, but the mapping between these keycodes and X-keys 
can either be added to some keymap in /etc/X11 (?) or by using the "xmodmap" 
command. Here is a small list of my hotkeys:

xmodmap -e "keycode 178 = XF86HomePage"
xmodmap -e "keycode 236 = XF86Mail"
xmodmap -e "keycode 160 = XF86AudioMute"
xmodmap -e "keycode 174 = XF86AudioLowerVolume"
xmodmap -e "keycode 176 = XF86AudioRaiseVolume"

Here are some more, which I don't have and cannot verify myself:
xmodmap -e "keycode 162 = XF86AudioPlay"
xmodmap -e "keycode 164 = XF86AudioStop"
xmodmap -e "keycode 144 = XF86AudioPrev"
xmodmap -e "keycode 153 = XF86AudioNext"
xmodmap -e "keycode 229 = XF86Search"
xmodmap -e "keycode 230 = XF86Go"
xmodmap -e "keycode 223 = XF86Sleep"

As mentioned above, these keycodes seem to be quite generic, and should 
probably be setup by the installer, should they not? Maybe you can test these 
(e.g. with xev) and report back. I think this is something, the installer 
should do, but would like to hear, if anybody thinks this can break 


More information about the kubuntu-devel mailing list