Enabling laptops special keys under KDE

To enable the special keys (Volume Up-Down, Mute) on my Lenovo 3000 N200, installed kmilo package:

sudo apt-get install kmilo

But there is a bug at Debian for kmilo (bug#396622), because of this, i have to install xkeycaps package to map the special keys manually:

sudo apt-get install xkeycaps

Then paste this key bindings in the ~/.Xmodmap file:

keycode 129 = XF86AudioMedia
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 161 = XF86Calculator
keycode 162 = XF86AudioPause
keycode 164 = XF86AudioStop
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 223 = XF86Standby

And finally, give this command:

xmodmap .Xmodmap

That’s it. Enjoy :slight_smile: