Hotkeys setup by Kubuntu install

Luke Monahan lukemonahan at
Sat Dec 10 02:27:56 GMT 2005

I think at least that the default install should automatically load the 
~/.Xmodmap file on login.  It seems that Ubuntu does this, yet Kubuntu 

We would only need to use the Ubuntu key mapping, plus add some appropriate 
global and local shortcuts e.g. for Amarok, Konqueror and Kontact.

I can confirm that my xmodmap contains the same key codes as Frank's list.


On Saturday 10 December 2005 11:19 am, 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.
> Thanks,
> Frank

More information about the kubuntu-devel mailing list