Find the answer to your Linux question:
Results 1 to 4 of 4
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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    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 is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    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

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    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 is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •