LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-15-2004, 11:10 PM   #1
jrfly
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake 10.1
Posts: 16

Rep: Reputation: 0
Question 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
Thanks..
 
Old 12-15-2004, 11:15 PM   #2
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

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

~Sarav
 
Old 12-15-2004, 11:30 PM   #3
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Rep: Reputation: 30
try hiting the key you want and then hit space bar. =)
-Galen
 
Old 12-16-2004, 04:52 AM   #4
Nixu
LQ Newbie
 
Registered: Feb 2004
Posts: 15

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


Last edited by Nixu; 12-16-2004 at 04:53 AM.
 
Old 12-16-2004, 04:53 AM   #5
falcon79
LQ Newbie
 
Registered: Jun 2004
Posts: 15

Rep: Reputation: 0
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
 
Old 12-16-2004, 07:02 AM   #6
mr_bod
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
What character is shown when you press the key in question?
 
Old 12-16-2004, 02:16 PM   #7
jrfly
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake 10.1
Posts: 16

Original Poster
Rep: Reputation: 0
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), root162,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), root162,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)?

Last edited by jrfly; 03-13-2005 at 09:25 PM.
 
Old 12-16-2004, 04:54 PM   #8
Nixu
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
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.)
 
  


Reply


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
Keyboard is swapping keys jamiem Linux - Newbie 7 06-23-2005 09:50 PM
Keyboard and it's shortcut keys ZakuSage Linux - Hardware 4 06-13-2005 03:11 PM
New keyboard with Volume keys, etc. vbguru12000 Debian 6 02-02-2005 11:13 AM
Keyboard keys not mapped. Clumsy Slackware 1 12-15-2004 11:13 PM
Assigning keyboard shortcuts to keyboard keys the who Linux - Hardware 3 02-20-2004 10:36 PM


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

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