Making use of eject key
Matthew Flaschen
matthew.flaschen at gatech.edu
Wed Sep 24 04:07:20 UTC 2008
Konstantin Svist wrote:
> According to showkey -s, the key code is "0xe0 0x7d".
> How do I make the key usable in KDE?
I don't know how to use showkey -s, but you can try xev.
Run xev, press the eject button and watch for the KeyPress event. You
should see:
keycode ##
as part of the output. After that you will see "keysym ####, " then
either a symbol name or "No Symbol". If you see "No Symbol", create or open
~/.xmodmap
in a text editor. Add the line:
"keycode ## = XF86Eject"
Now, you need to make sure:
xmodmap ~/.xmodmap
runs on startup. There are various ways of doing this, the simplest of
which is adding a script to:
~/.kde/Autostart
Once you have run xmodmap, KDE should treat it as a normal key.
If a key is already assigned, you can skip this the xmodmap process.
Matt Flaschen
More information about the fedora-list
mailing list