LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure my keyboard keys. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-my-keyboard-keys-266896/)

jrfly 12-15-2004 10:10 PM

How to configure my keyboard keys.
 
My Keypad '.' key is not working, although The key map is correct.
How do i configure it?
i read sometime ago that a command could show the key code when pressed! and then have to write this code in somewhere else.
This is a little problem, but is making me :mad:
Thanks..

saravkrish 12-15-2004 10:15 PM

The command is called "xev". Don't know why your ":" is not working though.

~Sarav

DreameR-X 12-15-2004 10:30 PM

try hiting the key you want and then hit space bar. =)
-Galen

Nixu 12-16-2004 03:52 AM

try also tool called linEAK it can map also those special keys from keyboard and has some other guides for setting up keyboard keys.


falcon79 12-16-2004 03:53 AM

Note that your keyboard layout depends on X11 configuration AND window manager configuration, in some cases. Try to launch X11 without any window manager, then try your ".". If it is ok, it'a a window manager problem, otherwise you have to configure properly yout XFree86

mr_bod 12-16-2004 06:02 AM

What character is shown when you press the key in question?

jrfly 12-16-2004 01:16 PM

First thanks for the replyes..
I have to go out right now, but i can tell that:
- when i press the Keypad '.' nothing appears
- the linEAK i will try later with time.
- with xev:

for the keypad "."
KeyRelease event, serial 25, synthetic NO, window 0x2c00001,
root 0x38, subw 0x0, time 12927341, (150,447), root:(162,522),
state 0x10, keycode 134 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes: ""

just for example:
for the keypad "+"
KeyPress event, serial 25, synthetic NO, window 0x2c00001,
root 0x38, subw 0x0, time 12927654, (150,447), root:(162,522),
state 0x10, keycode 86 (keysym 0xffab, KP_Add), same_screen YES,
XLookupString gives 1 bytes: "+"

where i write a configuration for that key? (134=noSymblo)?
:scratch:

Nixu 12-16-2004 03:54 PM

you can use command xmodmap to map keycodes to symbols.
for us keyboard:
xmodmap 134 = period greater
for skandinavian keyboard.
xmodmap 134 = period colon

These settings are not permanent, to make them available on next reboot put the xmodmap commands to you .xmodmap file or put the xmodmap commands to you ~/.bashrc file.

(see man xmodmap for full instructions and syntax.)


All times are GMT -5. The time now is 03:04 PM.