Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux On Laptops / Netbooks / Minibooks > X.org server keyboard map for Dell Inspiron 1100

Forgot Password?
 Linux On Laptops / Netbooks / Minibooks   Linux on laptop machines, netbooks, minibooks, and anything else tiny! A great place to discuss linux on smaller devices.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-11-2006   #1 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 4
Unhappy X.org server keyboard map for Dell Inspiron 1100

Hi all,

I am having some trouble getting all of the keys to work properly in X11 on my Dell Inspiron 1100. Most specifically, I cannot get the up, down, left, right arrow keys to work, as well as PgUp and PgDown. Can anyone tell me what the Xkb options I need to add to xorg.conf to get the proper key map working? Alternatively, can anyone tell me how to re-map these keys to work? as well as how to identify the keycodes and/or scancodes that correspond to these keys?

Thanks for any help you can give me.

XB
xenblend is offline  



Reply With Quote
Old 10-11-2006   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,090
Quote:
Alternatively, can anyone tell me how to re-map these keys to work? as well as how to identify the keycodes and/or scancodes that correspond to these keys?
for keycodes, execute command 'xev' in konsole/terminal' and press keys to check their keycodes. you can re-map keys using command 'xmodmap'

xmodmap -e 'keycode <value>=<action>'




casper
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 10-11-2006   #3 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 4
Quote:
Originally Posted by devils_casper
for keycodes, execute command 'xev' in konsole/terminal' and press keys to check their keycodes. you can re-map keys using command 'xmodmap'

xmodmap -e 'keycode <value>=<action>'




casper
Thanks for the info! But a couple more questions now...

xmodmap -e 'keycode <value>=<action>'

How do I figure out the "value" and the name of an "action" for up, down, left, and right arrow keys? and PageUp and PageDown? Thanks again!

XB
xenblend is offline   Reply With Quote
Old 10-11-2006   #4 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,090
hi !

you can figure out keycodes using 'xev' command in terminal.
Code:
xev
press up, down and other keys one by one and note their keycodes.

in my machine keycode for 'up', 'down', 'left', 'right', 'PageUp' and 'PageDown' keys are 98,104,100,102, 99 and 105

Code:
xmodmap 'keycode 98=Up'
xmodmap 'keycode 104=Down'
xmodmap 'keycode 100=Left'
xmodmap 'keycode 102=Right'
xmodmap 'keycode 99=Prior'
xmodmap 'keycode 102=Next'
if this works, then save this code in file ~/.kde/env/keys.sh




casper
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:53 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1