The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    keycodes...

    Discussion in 'Linux Compatibility and Software' started by anitha, Dec 18, 2007.

  1. anitha

    anitha Newbie

    Reputations:
    0
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    5
    Hi all,

    Is it possible to change the keycode of a key in linux?

    regards,
    anitha..
     
  2. danny2001

    danny2001 Notebook Consultant

    Reputations:
    288
    Messages:
    237
    Likes Received:
    0
    Trophy Points:
    30
    Are you needing to remap keys or just use another keyboard layout? Could you give an example of what you need changed?
     
  3. anitha

    anitha Newbie

    Reputations:
    0
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    5
    Hi,

    In my gateway laptop, same keycode was produced for the keys Fn+F9,Fn+F10, Fn+F11 and Fn+F12. I was not able to assign various keysyms for these keys since they are having same keycodes. So I want to set individual keycodes for all that keys..... Is it possible?

    Regards,
    Anitha..
     
  4. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    The Fn key is typically BIOS controlled, and not really remappable. If you don't see different key codes, there's not a lot you can do in my experience.
     
  5. anitha

    anitha Newbie

    Reputations:
    0
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    5
    Hi,

    I used setkeycodes command for assigning keycodes for the keys with the scancode i got from 'showkey -s' command. After assigning the keycodes i checked the output with 'showkey -k' command and 'xev' command. In 'showkey -k' command i got the output keycodes as what as assigned. But using xev command, some keys takes keycodes of the already assigned keys.If i try to change that keycode both of the keys got affected. How can i change the particular keycode?

    Regards,
    Anitha..