Linked Questions
37 questions linked to/from Permanent xmodmap in Ubuntu 13.04
68
votes
3
answers
188k
views
How can I remap keyboard keys? [duplicate]
I am looking for general instructions on remapping keys.
Can someone tell me how to remap F9 to PrtScr and F10 to ScrollLock button?
I have looked through every thread here and none of the ...
0
votes
1
answer
925
views
Change Right Alt Key to Page Up Key [duplicate]
I would like to set the right Alt key as a Page up key.
Currently I have the following set which gets half of what I want done.
key <MENU> { [ Next ] };
I have tried xmodmap and it doesn't ...
2
votes
1
answer
1k
views
Remap right shift to Down arrow key [duplicate]
My laptop down arrow key just stopped working, so how can I remap the right shift key to work as the down arrow key?
1
vote
1
answer
634
views
Remapping only 1 key to another [duplicate]
I rarely use '^' (Shift+6 or Unicode U+005E) and use '⁓' (Unicode U+2053) all the time as part of my signature on emails and so forth.
I realize the Swung Dash (⁓) and Tilde (~) are very similar, I ...
1
vote
0
answers
534
views
How do I remap my Tab key on startup? - Ubuntu 20.04 [duplicate]
My tab key doesn't work properly, so I'm trying to remap it to the grave/tilde key right above it. I have already found out the command to map it -
xmodmap -e "keycode 49 = Tab"
but it ...
336
votes
7
answers
922k
views
How to restart X Window Server from command line?
How can I restart X Window Server from the command line?
I'd really like to be able to restart my GUI without having to do a full system reboot.
159
votes
14
answers
215k
views
How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?)
I want to change the key bindings on some of the keys on my keyboard. I want some to run commands and others to activate different keys.
What applications can I use to do this?
Index:
...
58
votes
4
answers
67k
views
Run Script on Wakeup? [duplicate]
Is there a way to run a script when a computer "wakes up" (from sleeping)? I know it can be done on startup, obviously, but the issue in this case is that the backlight of my laptop seems to reset ...
41
votes
9
answers
42k
views
How can I persistently remap keys in Ubuntu 16.04?
This is working for the current session:
costales@dev:~/Desktop$ xmodmap -e "keycode 166 = less"
costales@dev:~/Desktop$ xmodmap -e "keycode 167 = greater"
Then I created this config file:
costales@...
62
votes
4
answers
50k
views
how to execute a command after resume from suspend?
I've got a script that is executed in order to have suspending/resuming working in my laptop. Then I have another series of xinput,xkbset and xmodmap commands that are executed when I initiate a ...
19
votes
4
answers
5k
views
How do I make the Caps Lock key a third Shift key?
How do I make the Caps Lock key work just like another Shift key?
There are loads of questions here about reassigning it, or having it launch a custom command. I just want it to work like another ...
21
votes
2
answers
26k
views
How do I change the keymap of a single device (Logitech presenter)?
My Logitech R400 presenter sends the following key codes:
keycode 112 (keysym 0xff55, Prior) [page up]
keycode 117 (keysym 0xff56, Next) [page down]
keycode 60 (keysym 0x2e, period)
keycode 71 ...
12
votes
1
answer
70k
views
How do I make a program auto-start everytime I log in in Ubuntu 14.04? [duplicate]
I read the previous answers to this question, and tried to follow, but it does not work. I wanted to add Chromium and Skype to the Startup Applications, but I can't find out what command I should ...
12
votes
2
answers
8k
views
Why did 13.10 break my custom keyboard layout?
I was using a custom keyboard layout. Basically I modified the us-mac layout to fit my ideal of a math-heavy version of the regular us layout that also throws German umlauts into mix. It went well and ...
21
votes
1
answer
4k
views
Disable XF86Back and XF86Forward (browser back/forward on Lenovo Thinkpad)
My Thinkpad R500 has back/forward keys just about the direction keys, so on Firefox I keep losing entered text, accidentally.
How to disable these back/forward keys?
Excerpt from xev:
KeyPress ...