Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
User Journal

Journal egork's Journal: Linux diNovo Edge Kubuntu 8.10 Intrepid

I had to tweak the ~/.Xmodemap again. (is accessed by script in ~/.kde/Autorun)

Use this command to get the keycodes from the multimedia keys.

xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'

my Xmodmap
keycode 121 = XF86AudioMute
keycode 122 = XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume
keycode 142 = XF86Away
keycode 163 = XF86Mail
keycode 165 = XF86AudioPrev
keycode 166 = XF86AudioStop
keycode 171 = XF86AudioNext
keycode 172 = XF86AudioPlay
keycode 217 = XF86Search

Generally to map shortcuts one can use the KDE Settings "Input Actions" and just add new Hotkeys. I have used it for all keys except for Amarok.

Also Qt has explicitly refused to accept
keycode 150 = XF86Sleep
keycode 179 = XF86Tools
that have worked before in 8.04

"Hotkey" Action command
"Decrease Volume" qdbus org.kde.kmix /kmix/KMixWindow/actions/decrease_volume com.trolltech.Qt.QAction.trigger
"Increase Volume" qdbus org.kde.kmix /kmix/KMixWindow/actions/increase_volume com.trolltech.Qt.QAction.trigger
"Start Dolphin" /usr/bin/dolphin

Amarok has its own Settings->Configure Global Shortcuts menu.
Just drop all XF86... Shortcuts from "Configure Shortcuts" and put them into "Configure Global Shortcuts"

I have also deinstalled keytouch, keytouch-editor and lineakd, klineakconfig. They basically are responsible for the same thing and may have interferred with the settings, but I am not sure.

This discussion has been archived. No new comments can be posted.

Linux diNovo Edge Kubuntu 8.10 Intrepid

Comments Filter:

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...