Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-22-2005, 06:56 PM   #1
LQ Newbie
Registered: Sep 2005
Distribution: SuSe 10.0
Posts: 20

Rep: Reputation: 0
Unhappy Special keyboard keys

Could anyone help me to configure, in Suse 10, special keys in the keyboard? I've tried klineaksetup, but it did not work in my distro.thanx in advance.
Old 12-23-2005, 02:18 AM   #2
Senior Member
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Hi, cannot help much, it is in my "to learn" list.
Some references of alternatives for now

CLI Magic: Energize your console with redefined keys

Multimedia/Internet Keyboards in GNU/Linux
Old 12-23-2005, 10:45 AM   #3
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Rep: Reputation: 53
Some distros autoconfigure the special keys on the keyboard. Ubuntu is one of them.
Old 01-04-2006, 05:01 AM   #4
Senior Member
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Here are some ideas of what to look for, or some directions to dig in (in addition to my previous post)
(This is by no mean comprehensive or even accurate, but it is a starting point.)
To my shame I have not read yet
and the suggestions here are translated and collated from the lea book

Lineak, KHotKeys (Sourceforge project hotkeys), KeyLaunch, XBindKeys
XBindKeys allows one to associate a command to a key combination.

Here are command line fashion-style ideas, some of these may be performed through GUI (?).
You can use xev (in a console) to know the keycode of any keyboard key
Or you can look in /etc/X11/xkb/symbols/code (where code is us, en, be , uk)

Key definitions are in /usr/X11R6/lib/X11/XKeysymDB
Copy the definitions you want to ascribe and edit ~/.xmodmaprc
To activate the new mapping xmodmap ~/.xmodmaprc
In kde this can be automated by creating a script in ~/.kde/Autostart/
I do not have a linux pc to check if this applies to xfree and X11
NB: xmodmap can be used in this way as well:
xmodmap −e "keycode xxx = KEYSYMNAME "
KEYSYMNAME is given by xev where before the closing bracket where keysym is
(keysym 0xffca, F13), in this example KEYSYMNAME is F13

There might be a .Xmodmap file in the user userspace ~.Xmodmap
This can be edited, for example to make the delete key of the numerical pad
To retur a period whether numlock is on or not, shift <key> returns a comma.
keycode 0x5B = period comma

Another way is to edit your /etc/X11/xconfig (name, location may vary)
In a section (incomplete) like below, you may need edit it to have the right layout or keyboard
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
#In X11 version 6.8 or above Driver "kdb"
Option "XkbModel" "somemodel"
Option "XkbLayout" "en"

The keyboard definition is sometimes in /etc/X11/xkb/symbols/inet

rc.keymap this script load the keyboard config for the terminals
/etc/inputrc has some info about the keyboard behaviour
Also you can load another mapping with for example
/usr/bin/loadkeys fr−

Other possibly relevant commands
Edit /etc/sysconfig/keyboard and look for KEYTABLE=

kde services overrides some of the multimedia keys. It can be stopped (so I read)
where KDE_PATH=/usr/kde/3.3 for example, as root edit
replace X−KDE−Kded−autoload=true by X−KDE−Kded−autoload=false
restart kde

See also
Mapping Keyboard Special Keys(some success at long last)

Last edited by Emmanuel_uk; 01-04-2006 at 05:04 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping Keyboard Special Keys(some success at long last) RedShirt SUSE / openSUSE 0 11-13-2005 09:43 PM
special keys of laptop alinsoar Linux - Laptop and Netbook 2 11-01-2005 02:40 PM
Special Function Keys on a Logitech Keyboard linux-rulz Linux - Hardware 2 07-13-2005 07:16 AM
How to get special keys of a keyboard working? TTL_2 Linux - Hardware 5 03-05-2005 04:31 PM
Special Keys raven Linux - Laptop and Netbook 0 10-16-2003 09:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration