Since using KDE what do want to map the keys to do. Look over the following threads for help.
http://www.linuxquestions.org/questi...12#post1707612
http://www.linuxquestions.org/questi...388#post536388
http://www.linuxquestions.org/questi...18#post1483618
Info I have written down in my notes about KDE and extra keys
* Add the following to /etc/X11/Xmodmap for front volume buttons
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 178 = XF86WWW
keycode 236 = XF86Mail
Restart new mapping ' xmodmap /etc/X11/Xmodmap (as root)
Goto kmenu. Goto ThunderBird and select shortcut key at bottom. Hit the mail button it will say XF86Mail.
XF86 is defined in file:///usr/X11R6/include/X11/XF86keysym.h
Other info in file:///usr/X11R6/include/X11/keysymdef.h
Now you don't have to match keycode number with and XF86* option As long as you know the code then something close to what you want it to do. What it amounts to one and call keycode=178 XF86Mail if you want.
Scripts:
For mute scripts require running this command Run ' aumix -f ~/.aumixrc ' to set aumix saving point. Also mute requires 3 scripts volumemute, volumemute1, and volumemute2. The last two rewrite the first one to be ready for the next press.
I need to look over the above post from flower.Hercules and maybe can make it into one script file. I just write simply scripts and need to spend time to understand using other commands in scripts to make chooses.
file:///storage1/Multimedia/volumekeys/volumedn
Code:
#!/bin/sh
aumix -v -5 -S
file:///storage1/Multimedia/volumekeys/volumedn1
Code:
#!/bin/sh
aumix -v -1 -S
file:///storage1/Multimedia/volumekeys/volumemute
Code:
#!/bin/sh
# copy of volumemute2
# This commands saves all current levels to ~/aumixrc
aumix -S
# This command turns master volume to off to 0 percent
aumix -v0
# This command copys the file volumemute1 to volumemute to be ready for the next press
cp /opt/volumekeys/volumemute1 /opt/volumekeys/volumemute
file:///storage1/Multimedia/volumekeys/volumemute1
Code:
#!/bin/sh
# This loads the saved levels of all channels
aumix -L
# This command copys the file volumemute2 to volumemute to be ready for the next press
cp /opt/volumekeys/volumemute2 /opt/volumekeys/volumemute
file:///storage1/Multimedia/volumekeys/volumemute1reset
Code:
#!/bin/sh
cp /opt/volumekeys/volumemute2 /opt/volumekeys/volumemute
file:///storage1/Multimedia/volumekeys/volumemute2
Code:
#!/bin/sh
# copy of volumemute2
# This commands saves all current levels to ~/aumixrc
aumix -S
# This command turns master volume to off to 0 percent
aumix -v0
# This command copys the file volumemute1 to volumemute to be ready for the next press
cp /opt/volumekeys/volumemute1 /opt/volumekeys/volumemute
file:///storage1/Multimedia/volumekeys/volumeup
Code:
#!/bin/sh
aumix -v +5 -S
file:///storage1/Multimedia/volumekeys/volumeup1
Code:
#!/bin/sh
aumix -v +1 -S
List of keycodes I have found, but keycode numbers can vary.
keycode 122 = XF86Search
keycode 130 = XF86HomePage
keycode 144 = XF86AudioPrev
keycode 147 = XF86Word
keycode 148 = XF86Excel
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 161 = XF86Calculator
keycode 162 = XF86AudioPlay
keycode 163 = XF86ScrollClick
keycode 164 = XF86AudioStop
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 178 = XF86HomePage
keycode 178 = XF86WWW
keycode 223 = XF86Standby
keycode 229 = XF86Search
keycode 230 = XF86Start
keycode 231 = XF86Refresh
keycode 239 = XF86Mail
keycode 222 = XF86PowerOff
keycode 223 = XF86Sleep
keycode 230 = XF86Favorites
keycode 231 = XF86Refresh
keycode 232 = XF86Stop
keycode 236 = XF86Mail
keycode 234 = XF86Prev_VMode
keycode 233 = XF86Next_VMode
keycode 223 = XF86Sleep
keycode 229 = XF86Search
keycode 230 = XF86Favorites
keycode 231 = XF86Refresh
keycode 232 = XF86Stop
keycode 233 = XF86Forward
keycode 234 = XF86Back
keycode 235 = XF86MyComputer
keycode 236 = XF86Mail
keycode 237 = XF86AudioMedia
Brian1