Hotkeys setup by Kubuntu install

Achim Bohnet ach at
Mon Dec 12 15:45:37 GMT 2005

On Saturday 10 December 2005 01:19, Frank Siegert wrote:
> 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:
> #!/bin/sh
> 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 
> something.

while many keyboards use the same keycode, some do not. Try e.g.,

	grep XF86AudioPlay /etc/X11/xkb/symbols/inet  | sort | uniq

check kcontrol or the file if you laptop model isn't already there

	system settings -> regional & accessibility -> keyboard
		'keyboard model' in the layout tab

and if not submit a bug report with the right setting for you laptop
against xkeyboard-config.

I fully agree that autoconfig of the special keys during
installation is badly missing in kubuntu.  (Have not checked what
needs to be done.)

> Thanks,
> Frank
> -- 
> kubuntu-devel mailing list
> kubuntu-devel at

  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at

More information about the kubuntu-devel mailing list