special keys on a Sony VAIO
Thomas McGuire
thomasmg at web.de
Wed Jan 5 22:00:41 GMT 2005
On Wednesday 05 January 2005 20:13, Steve Turnbull wrote:
> Has any one any idea how to associate special keys in KDE, remember it
> works in Gnome so it's not a hardware issue...
I use lineak for this, but the program is difficult to set up.
Furthermore, the KDE frontend did not compile for me.
Another method is described below, taken from the new KDE user guide:
> Many modern keyboards contain extra keys that are not by default
> assigned to any action.
> “Multimedia” keys often generate a signal, and can simply
> be chosen as a keybinding within an application just like choosing any
other
> key. Some keys however, are not detected and pressing them in a
> Configure Shortcuts has no effect.
> Some IBM laptops, for instance, have extra keys about the left and right
> arrows, which look like page left and page
> right.
> Use xev to find the code of the keys. In
> this case, they are 233 and 234
>
> Choose key symbols. There are quite a range of these that are not
> used by default, so many are free. You can find the list in
> /usr/X11R6/include/X11/keysymdef.h (or its equivalent
> on your system).
> Create a file in your home directory called
> .Xmodmap, and add to it the following:
> keycode 233 = Next_Virtual_Screen
> keycode 234 = Prev_Virtual_Screen
> Run the command xmodmap~/.Xmodmap
> At this point, you should be able to run xev again
> and see that the keys now generate the keysym that you assigned. You
can now
> simply assign them to any action as normal.
> Related Information
> The xev manpage. You can see this by typing
> man:/xev into a Konqueror window or by typing
> man xev into a terminal.
Please don't post to more than one mailing list.
Hope that helps,
Thomas
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list