Re: Making use of eject key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux