National keyboard layouts, relocating control keys, etc., generally at the operating system level. See /keyboard-shortcuts for key mappings in applications.

learn more… | top users | synonyms

6
votes
3answers
2k views

Swap alt and super

I have a Macbook Air that runs Linux. I want to swap the alt and super keys in both sides of the keyboard with each other. How do I do this with cli tools? Update Following Drav Sloan's answer I ...
2
votes
1answer
12 views

How to make SysRq working on laptop?

My /proc/sys/kernel/sysrq contains the number 502, but Alt+SysRq+... seems not to work on my HP Pavilion laptop. How can I fix that? Update 1: By the way: neither my print-screen-key nor any other ...
3
votes
2answers
55 views

KDE How to switch between 4 keyboard layouts?

I have KDE 4.14.2 on Debian 8.1 installed. When I have 3 layouts, switching META+Spacebar works perfectly. The problem begins when I am adding 4th layout, switching works incorrectly: I'm only able ...
2
votes
1answer
39 views

Firefox loses focus when switching keyboard layouts

I use many different keyboard layouts and I do change them often. That is why I defined keyboard shortcuts in Cinnamon (alt+F1, alt+F2 and so on). Now, this works ok in the applications I use, except ...
1
vote
1answer
31 views

How do I enable Shift Lock? (Sticky shift key)

I want to map one of my keys the shift lock key. In my understanding, the shift lock key is a kind of a 'sticky' shift key: it remains pressed, shifting all keys of the layout until pressed again. It ...
0
votes
0answers
13 views

Unable to add a keyboard layout on Cinnamon

I'd like to try the Polish Colemak layout. It's built into xkb: /usr/share/X11/xkb/rules $ grep -ri 'Polish (Colemak)' * base.extras.xml: <description>Polish ...
6
votes
4answers
96 views

Insert both characters if a dead key combination is not recognized (e.g. 'a → á, 'b → 'b)

When I use any variation of English, US international (with dead keys,altGr dead keys or alternative) on my Linux Mint machine I always encounter this behaviour. When I press one of these keys: ' " ...
0
votes
3answers
1k views

Arch linux: set keyboard layout to PL

I'm unsuccessfully trying to force my Arch to set pl layout on X start. I've googled for solutions, and I found couple of tutorials/tips but none of them works. My current, keyboard related ...
2
votes
1answer
17 views

Using remapped Left Control <LCTL> key as shortcut

I have remapped the <LCTL> key to Tab in /usr/share/X11/xkb/symbols/en using key <LCTL> { [ Tab, Tab, Tab, Tab ] }; key <MENU> { [ Alt_R, Alt_R, ...
1
vote
0answers
10 views

Map Caps Lock to Escape for server not running X [duplicate]

I am using xmodmap to remap the capslock key to escape for my Linux system running X. I am now working directly on a headless Ubuntu 14.04 LTS server that does not run X. Is there any easy way to ...
6
votes
3answers
395 views

Tuning keyboard (dead key) functionality in X

My preferred keyboard configuration is US-International. When I use it on MS-Windows and type certain special characters (i.e., ~ ' ") followed by a, o n I get á ó or ñ as I wish. However when I type ...
0
votes
0answers
24 views

Setting login screen keyboard

I'm running Arch Linux with the Gnome desktop environment. Using the Gnome settings I can add the dvorak keyboard layout and switch between with the shortcut key, but whenever start the computer the ...
1
vote
1answer
17 views

Remapping both Caps Lock and Windows keys to be separate modifiers

I want to use both my Caps Lock key and Windows key in my i3wm config. In particular, I want Caps Lock to take the place of $mod in the config and I also want to be able to reference the Windows key ...
1
vote
2answers
52 views

Swap shift and caps-lock

I would like to swap the behavior of the two keys Shift and Caps Lock on my keyboard. I have read the options in /usr/share/X11/xkb/rules/base.lst, played around with'em, but none of them seems to be ...
3
votes
1answer
680 views

Grub2 keyboard layout when decrypting partition

According to the OpenSUSE 12.3 documentation the only keyboard layout which can be used during a Grub2 boot is the "US keyboard layout". Is there really no way to change the keyboard layout used when ...
1
vote
0answers
15 views

XKB - Clearing locked modifiers

I've been having some trouble creating a custom keymap with XKB configuration. I would like to have a Shift key that locks when called with a specific modifier and can be pressed again to toggle the ...
1
vote
0answers
10 views

Remap key to two modifers or use meta shortcuts in terminal (terminator)

Background: Running Arch Linux on KDE. KDE shortcuts have a problem with being saved past reboot so i'm using xmodmap and xbindkeys. So I am using xmodmap. Right now caps lock is mapped to meta ...
2
votes
1answer
739 views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
1
vote
0answers
18 views

Remapping space + ijkl to arrow keys

I want to set it so that pressing space and releasing will emit a "normal" space, but holding space and pressing one of ijkl will emit an arrow key. Is it possible to do that? Thanks!
4
votes
1answer
860 views

setxkbmap switches between 2 out of 3 layouts

Issuing that command: setxkbmap -layout "us,ua,ru" -variant ",winkeys" -option "grp:shift_caps_toggle,grp_led:scroll" -model pc105 -rules xorg When hitting Caps Lock+Shift I'm switching between ...
1
vote
2answers
74 views

Modified keyboard layout under VirtualBox

I'm running VirtualBox on Linux. (The virtualbox 4.3.10 package on Ubuntu 14.04 if it matters, but I'd prefer a version-agnostic solution.) I have a tweaked keyboard layout on the host (under X11), ...
0
votes
0answers
7 views

To get Stable Keyboard Configs for 90 WPM and Dvorak in Debian?

I am trying to set stable keyboard configurations for the user with 90 WPM of correct words per minute and the keyboard layout Dvorak. The cursor location is behaving unstably for instance in editors ...
0
votes
0answers
27 views

Unable to switch to Dvorak layout

I need help switching my keyboard to Dvorak layout. I've done this a number of times through the GUI and never had problems until now. I'm running Ubuntu 14.04.2 LTS codename trusty, Xfce4 & ...
0
votes
1answer
17 views

keyboard layout switching - non-working hotkeys in cyrillic layout

I've got a small script that runs in background and handles setxkbmap for me. Said script has some logic of switching keyboard layouts, which is essential and is not supported by my DE installation ...
2
votes
0answers
27 views

Problems after mapping Alt_R to Control [closed]

I have mapped by Alt_R to Control. My Control_R is also mapped to Control. Alt_L remains as Alt (Mod1). I used xkbcomp :0 keyboard.xkb to dump the current configuration file. In that file, in the ...
1
vote
1answer
19 views

How to remap keycodes (not symbols)?

Using XKB I can change the symbol for the TAB key: key <TAB> { type= "ONE_LEVEL", symbols[Group1]= [ Overlay1_Enable ] }; However, Google Chrome detects keycode 23 (aka <TAB>) ...
1
vote
0answers
24 views

How can I make CapsLock Shift and Shift Ctrl in GNOME?

GNOME's Tweak Tool tweak tool is an awesome GUI that comes with the desktop environment. In the tool, I can easily change the position of Ctrl and I can change the behavior of CapsLock. ...
1
vote
0answers
12 views

DDvorak layout, but QWERTY with Ctrl or Alt modifiers

I comfortably type a keyboard layout named Light Developer's Dvorak, further customized (negligibly) for myself. I don't know how to modify the commands so that pressing Ctrl, Alt, etc. will read the ...
4
votes
1answer
2k views

Keyboard layout changed. How and why?

Yesterday, I upgraded my kernel (to 3.5.0-19-generic), rebooted, and had to reinstall my video drivers to get full resolution. (After upgrading the kernel, the resolution always goes to 640x480, until ...
0
votes
0answers
18 views

Incorrect keyboard mappings on RHEL v6.4

Spent a while trying to create keyboard shortcuts in terminal for command history access (up/down arrow keys). Realized after some frustration that this wasn't the issue - some keyboard keys are just ...
4
votes
1answer
692 views

F4-key mysteriously reassigned

In the middle of today, my F4 key started producing the letter p, without my conscious acting and I can't seem to revert this change. Whenever I press F4, p appears instead. How can I change this ...
0
votes
0answers
56 views

Remote X11 applications have wrong keyboard mappings (local: OSX, remote: Linux)

I am connecting from a Mac (with OSX 10.6) to a Linux machine (with CentOS 6.6) by using the ssh command (ssh -X). On the Mac side, I am using the Terminal app. After logging into Linux, I can use ...
2
votes
2answers
214 views

How to make AltGr+i,j,k,l work properly as cursor keys?

(I already asked this question on superuser but got no answer so I'll try here now.) I would like to have the cursor keys and some others available as AltGr+c,h,t,n etc. (i,j,k,l if you have qwerty). ...
8
votes
0answers
136 views

Multiple Keyboard Layouts and Shortcuts

I configured KDE to switch easily from a bépo (french-dvorak) to an azerty layout. I configured it with the KDE interface (systemsettings), but I guess it just call setxkbmap be and setxkbmap fr. The ...
11
votes
1answer
5k views

Use setxkbmap to swap the Left Shift and Left Control

Is it possible to swap the Left Shift and the Left CTRL keys using setxkbmap instead of xmodmap? EDIT I have switched to Fcitx, which works way much better with my keyboard layout and customized ...
0
votes
1answer
94 views

Add a foreign keyboard layout to Gnome in Debian 8

I would like to add an Italian keyboard layout as an input source, but my system only lists English layouts. I suppose that this is because I didn't select any locale other than English during ...
1
vote
1answer
122 views

Adding custom setxkbmap options

Use setxkbmap to swap the Left Shift and Left Control describes how to swap some modifier keys with xkbcomp. However, I'd like to just add a custom setxkbmap option instead of using xkbcomp with a ...
2
votes
1answer
61 views

xkb: Use a key to change shift level without appearing as a modifier

I'd like to configure XKB to use Caps Lock as a way of producing different keys, but I don't want it to appear as a modifier. For example: F1 produces F21 keypress Caps Lock + F1 produces F1 ...
2
votes
1answer
98 views

How to set up XKB to work with 3 modifier keys and 2 switchable layouts?

Consider the following XKB layout: xkb_keymap { xkb_keycodes { <ESC> = 9; <FK01> = 67; <FK02> = 68; <FK03> = 69; <FK04> = 70; <FK05> = 71; ...
1
vote
1answer
30 views

How to remap an F key on a specific Keyboard?

I have a peripheral attached that is actually not a keyboard, but all of its buttons are being treated as F keys, they all send the same scancode and keycode as the standard F keys (based of of ...
0
votes
1answer
62 views

No keyboard layouts in Cinnamon 2.6.7

I upgraded my Cinnamon DE (in Linux Mint 17.1 Rebecca) via sudo apt-get install cinnamon, from my Xfce DE. All is working well except for the keyboard layouts. I'm stuck with a US English layout and ...
4
votes
1answer
23 views

How to disable specific combinations of keystrokes

I've been suffering from RSI recently and am trying to make an effort to be more disciplined about typing. One of the things I've noticed is that I sometimes (out of habit) use combinations of keys ...
0
votes
1answer
97 views

Freebsd 10.1: X11 keyboard is english ,how to set to italian?

I'm on freebsd 10.1,keyboard of X11 start in english layout,i have edited this file /usr/local/etc/hal/fdi/policy/x11-input.fdi <?xml version="1.0" encoding="iso-8859-1"?> <deviceinfo ...
0
votes
0answers
8 views

adding keyboard to ubuntu server kiosk

I've set Ubuntu server to be a Kiosk. Now I need to add Hebrew keyboard as-well for the browser. I've run the command: sudo dpkg-reconfigure keyboard-configuration And chose Hebrew and set ...
3
votes
1answer
95 views

How to properly change the keyboard mapping?

I will try to describe the problem in details. Very often I use external keyboard with my netbook. The keyboard is "TK Stealth": Click to zoom You can see, that the numpad, is very similar to the ...
0
votes
1answer
43 views

change keyboard layout

i have hp pavillion g6 running manjaro, the keyboard looks like this, i broke both shift, the left ctrl and the caps lock... hmm while trying to clean it... i don't really care about ctrl, the other ...
1
vote
1answer
142 views

How to switch esc and caps lock using gsettings/gconftool-2 in ubuntu 14.04?

There is an option for this in the preferences dialog, but I am looking for a way to do it in the commandline so that all these configurations can be automated. I want to avoid xmodmap, because most ...
1
vote
0answers
75 views

Will booting ubuntu in recovery mode use default keyboard layout?

I have a chromebook with Ubuntu 15.04 and I need to customize some of my keyboard keys in xkb. Unfortunately while doing so I managed to disable my keyboard and needed to boot from live USB to revert ...
4
votes
1answer
173 views

xkb: make ctrl+backspace behave as delete

How can I map ctrl+backspace to behave as delete key with xkb? I can remap a single key on /usr/share/X11/xkb/symbols/pc but can't figure out how to do the combination. My OS is Ubuntu 15.04
2
votes
2answers
69 views

How do I bind AltGr+key to a symbol?

I want to bind AltGr+W to æ, and some other combinations, how can I do this? I also need AltGr+Shift+W to Æ. I normally use setxkbmap to change the keymap.