Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: keyboard modification

  1. #1
    Join Date
    Jun 2009
    Beans
    31

    keyboard modification

    my @ key doesn't work (spilt water on it) Is there a way to simply modify the keyboard configuration?

  2. #2
    Join Date
    May 2009
    Location
    Between chair & keyboard
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: keyboard modification

    water?? hmm.. well, using the xmodmap command you can manually modify the result of every single key of the keyboard.. ..Do you want to change the key for the '@' character?

    A
    Every morning you have two choices:
    Continue your sleep with dreaming
    or wake up and chase your dreams
    CHOICE IS YOURS.

  3. #3
    Join Date
    Jun 2009
    Beans
    31

    Re: keyboard modification

    yes. id like to change the key for the '@' character. ideally the ¬ key (to the left of the 1 key)

  4. #4
    Join Date
    May 2009
    Location
    Between chair & keyboard
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: keyboard modification

    sorry, i don't understand what "¬" key stand for.. well, do u want that the characters appears with a single keypress or with a combo [es: Alt Gr + Key or others ]?

    A
    Every morning you have two choices:
    Continue your sleep with dreaming
    or wake up and chase your dreams
    CHOICE IS YOURS.

  5. #5
    Join Date
    Jun 2009
    Beans
    31

    Re: keyboard modification

    a single keypress would be great

  6. #6
    Join Date
    May 2009
    Location
    Between chair & keyboard
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Arrow Re: keyboard modification

    Well, this is vary simple.. the only thing that separate you from the solution is "what is the keycode or the key that i wnat to modify?" .. Ok, then open a terminal en type
    Code:
    xev
    now a little window will open, with the mouse cursor go in.. you will see a sort of log window.. now, press the key u want to substitute with '@'.. in the log file [when u press the key], the log add a line like "KeyPress event [..] keycode=[number] [..]"! Whell This is the number you must use in the following command to update the key
    Code:
    xmodmap -e "keycode [number] = at"
    But, BEFORE, i want that u do a backup of the current keyboard layout by typing [in the home directory]
    Code:
    mv .Xmodmap .backup-Xmodmap
    so, if something go wrong u can restore the previous settings!

    A

    P.s. Try to see if xev capture the event for the old "@" that u say 'is broken'.. if u see adding the event, means that is not broken at all!
    Every morning you have two choices:
    Continue your sleep with dreaming
    or wake up and chase your dreams
    CHOICE IS YOURS.

  7. #7
    Join Date
    Jun 2009
    Beans
    31

    Re: keyboard modification

    Ok. The key was coded 49. But this happens.

    alex@alex-laptop:~$ xmodmap -e "keycode [49] = at"
    xmodmap: commandline:1: bad keycode value
    xmodmap: 1 error encountered, aborting.

    I tried using the codes of some other non inportant keys, with same result
    Last edited by almagr; June 16th, 2009 at 10:02 AM.

  8. #8
    Join Date
    May 2009
    Location
    Between chair & keyboard
    Beans
    330
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: keyboard modification

    Well, I mean without '[' and ']'..
    Code:
    xmodmap -e "keycode 49 = at "
    A
    Last edited by masux594; June 16th, 2009 at 10:47 AM.
    Every morning you have two choices:
    Continue your sleep with dreaming
    or wake up and chase your dreams
    CHOICE IS YOURS.

  9. #9
    Join Date
    Jun 2009
    Beans
    31

    Re: keyboard modification

    Thanks. works a treat

  10. #10
    Join Date
    Jun 2009
    Beans
    31

    Re: keyboard modification

    • How do i make the changes permanent. When i restarted my laptop, the keyboard change had been undone

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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