my @ key doesn't work (spilt water on it) Is there a way to simply modify the keyboard configuration?
my @ key doesn't work (spilt water on it) Is there a way to simply modify the keyboard configuration?
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.
yes. id like to change the key for the '@' character. ideally the ¬ key (to the left of the 1 key)
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.
a single keypress would be great
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 typenow 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 keyCode:xev
But, BEFORE, i want that u do a backup of the current keyboard layout by typing [in the home directory]Code:xmodmap -e "keycode [number] = at"
so, if something go wrong u can restore the previous settings!Code:mv .Xmodmap .backup-Xmodmap
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.
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.
Well, I mean without '[' and ']'..
ACode:xmodmap -e "keycode 49 = at "
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.
Thanks. works a treat
- How do i make the changes permanent. When i restarted my laptop, the keyboard change had been undone
Bookmarks