A keymap is used to map certain keys or keyboard shortcuts to other ones, e.g. when using different keyboard layouts.
Questions tagged [keymap]
200 questions
76
votes
4 answers
How to re-map command and option keys on Mac OS X with a PC-keyboard?
in my keyboard the command key is mapped to the windows key (I'm using a regular PC keyboard) so I only have a left command, because the space on the right is occupied by the useless Fn key.
I've used Ukelele and also edited keyboard mappings but…
Petruza
- 3,931
74
votes
3 answers
Notepad++: Ctrl-S does not Save, instead inserts [DC3]; Ctrl-F inserts [ACK]
I've been using Notepad++ more as my primary code editor. Just a few minutes ago, however, I accidentally pressed some combination of keys (no idea what I pressed) and suddenly my standard shortcut keys no longer work.
When I press Ctrl-S, it…
Brian Lacy
- 3,391
57
votes
5 answers
How to swap the "fn" use of Function keys on an Apple Keyboard in Linux
I have an apple slim keyboard (USB) and if I want to use one of the Function Key as-is, I also have to press "fn " key first. Otherwise, it will try to perform the other function of the key, such as increasing or decreasing the display intensity,…
jfmessier
- 2,810
53
votes
10 answers
How to map the Caps Lock key to Escape key in Arch Linux
My OS is Arch Linux amd64, Gnome ENV.
I want to map the Caps Lock key to Esc (escape) in Arch Linux.
I run the command:
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
It works well, but a moment later, the Caps Lock key works again.
And I must…
pexeer
46
votes
3 answers
Keys all switched on keyboard
My friend/enemy switched the keys on my keyboard as an April fool's joke. When I press Y, Z appears on the screen. Some keys work like b, x, g, i, d, and a few more. Also, when I press ctrl, it returns Enter. Even the function keys are switched!!
I…
Google Services
- 630
43
votes
3 answers
How to change console keymap in Linux?
I'd like to exchange Esc and CapsLock in console (not in X, and use xev), how can I do it?
My OS is Ubuntu.
Vayn
- 541
41
votes
10 answers
Synergy Key Mapping
I'm running a Synergy server on Ubuntu and a Synergy+ client on OSX. The server has a standard windows keyboard with shift, ctrl, windows, and alt keys. My MacBookPro has shift, fn, control, alt/option, and command keys.
When I press ctrl-c,…
Tauren
- 667
40
votes
7 answers
Permanently change default language and keyboard settings - what am I missing?
I'm trying to configure a Debian Linux (ARMHF 3.8.13-bone20) on a BeagleBone Black to use German as the default language and keyboard layout, which does not work, and I can't see why. I'm talking about the console settings, not X or Gnome etc. Here…
Rob
- 591
- 2
- 10
- 24
35
votes
8 answers
Mapping Super+hjkl to arrow keys under X
I'm trying to map:
Super+h -> Left
Super+j -> Down
Super+k -> Up
Super+l -> Right
globally under X. The idea is I don't want to leave my home row that often to use the arrow keys, so I'll use the Super modifier + hjkl to emulate the arrow keys…
William Casarin
- 1,050
35
votes
15 answers
How can I type a backslash with no backslash key?
I'm trying to use a UK keymap on a physical US keyboard on my notebook (Asus Zenbook UX31E). My keyboard has vertical bar and backslash (| and \) above the Enter key, but I get hash and tilde instead. On UK keyboards, pipe and backslash seem to be…
wim
- 3,327
24
votes
2 answers
Remap FN to another key
I got a keyboard (Logitech Wave, pictured below) which I'm very happy with. Unfortunately, the manufacturer has changed the button for right-click for a FN key.
Is there any program to remap the FN key to something else?
MrValdez
- 777
17
votes
3 answers
Remap keys without xmodmap or any X tools
Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap.
However, that caused a few problems.
I don't always use X on this computer, and…
Alex
- 2,106
15
votes
1 answer
Swap Control and Caps Lock on Windows 7
How can I swap my Control and Caps Lock keys on Windows 7? I've found several options online but all are for previous versions of Windows.
jrdioko
- 13,195
14
votes
4 answers
Map Caps-Lock to Control in Windows 8.1
Before the Windows 8.1 update, I was able to map Caps-Lock to Controls through the type of registry tweak in this post:
Remapping a keyboard key in windows 8.1
However, after updating to 8.1, my tweak no longer works. What I had done was
Windows…
ehuang
- 287
13
votes
3 answers
In Linux, how can I map SHIFT_L/SHIFT_R when pressed without additional key?
Today I found this very nice article by Steven Losh in which he presents a couple of productivity boosting keyboard mappings. Among them is a dynamic mapping of the left and right shift keys.
The Idea
When Shift_L or Shift_R are pressed without an…
gilligan
- 181