UBUNTU: Change Keyboard Mapping
I want to change my right alt key to perform a spacebar function.
how do I do this? Thank you. |
You should open file /usr/share/X11/xkb/keycodes/xfree86.
Then add a line to the end of the default xkb_keycodes "xfree86" section Code:
<SPCE> = 113 |
Thankyou
but when I try to save the file it says 'Permission Denied.'
any suggestions? |
You need to edit it as root. Open your terminal and type:
sudo gedit /usr/share/X11/xkb/keycodes/xfree86 <Then enter password> |
so i tried everything and even got it to save but it still does not change my RIGHT ALT key to my SPACEBAR function. I restarted my computer to see if the changes would take effect but no dice.
I even deleted the line that said <RALT> = 113 in case it was causing a problem, but again, no dice. |
Quote:
|
I never tried this before. I am using Debian and just did the same thing you did, didn't work for me either.
|
Oh, sorry. It's my fault, there should be semicolon at the end. Like this
Code:
<SPCE> = 113; |
Quote:
I had guessed that there was a semicolon the first time I tried to modify the file. So it's not the problem. Any ideas? |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 10:03 AM. |