Questions tagged [keyboard-layout]

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

Use this tag for questions about national keyboard layouts, relocating control keys, etc., generally at the operating system level. For issues with the keyboard itself, see . For key mappings in an application, or to map a key to an operating system function, see .

Under the X Window System, the basic tools to handle keyboard layouts are (old-school) and (modern).

External resources

790 questions
26
votes
1 answer

Save setxkbmap settings?

I'm having trouble setting my keyboard settings to swedish, running Raspbian on a raspberry pi. I've tried everything and the only thing that worked was the command setxkbmap se. But this doesn't permanently save the settings, and it's back to…
7
votes
3 answers

How can I remap the multimedia keys for function keys on this bluetooth keyboard?

I got a Logitech Bluetooth Multi-Device Keyboard K480 and after installing it just by following the bluetooth pairing, the default settings will leave the function keys mapped as multimedia keys, so I have to hold fn to access F1,F2,F3, etc. That is…
peem
  • 73
6
votes
1 answer

Can I use a single key both as a modifier and to send a normal keystroke?

I'm using Karabiner on Mac OS X to make some of my keys work as half modifiers: for ex. tapping enter is enter but holding it is meta. Is it easy to do the same in Linux? PS. I mean: I want to be able to use enter both as a modifier key and as…
Toothrot
  • 3,435
4
votes
0 answers

How to setup Meta key when using VNC from Mac to Centos 6?

I'm running emacs 26.1 on a Centos 6.9 machine displaying via TightVNC server to a client running on my Mac OS X 10.14.2. To make things tricky, I'm also using Dvorak keyboard layout. When I run emacs on my Mac, all works great. My Mac keyboard is…
WilliamKF
  • 183
4
votes
2 answers

setxkbmap: swap layout on release

I used to use setxkbmap this way: setxkbmap -layout us,se -variant ,kinesis -option 'grp:alt_shift_toggle' and be happy with it. The layout swap used to happen at the release of alt_shift, only if no other key was pressed between the combo's press…
Gauthier
  • 870
3
votes
0 answers

Swapping CAPSLOCK and ESC keys, but "deeper"

I'm on Manjaro with bspwm and sxhkd (if that matters). Currently, I have setxkbmap -option caps:swapescape in my .xinitrc which works to swap my ESC and CAPSLOCK keys. However, the swap doesn't seem to work with all applications. In some apps,…
3
votes
3 answers

Switch keyboard layout programmaticaly

I use three different layouts and looking code to change layout programmaticaly from .bashrc function.
Yurij73
  • 1,992
3
votes
0 answers

Is there a way to convert OS X keyboard layouts to use them on Linux?

This is how such layouts are specified:
3
votes
1 answer

Mapping menu key to alt using setxbdmap

On an Asus X551M running Xubuntu 14.04, I would like to set the following keyboard configuration: The pair of modifier keys immediately adjacent to the spacebar are mapped to control. The next closest pair are mapped to Alt. That is, the bottom row…
3
votes
0 answers

xrdp: Super_L not working

My virtual machine runs xrdp and when I connect with rdesktop, the "windows" key (i.e. Super_L) is not assigned properly. Using xev I see that when the windows key is pressed, instead of showing Super_L, it shows Control_L. The real CTRL key also…
Martin Vegter
  • 358
  • 75
  • 236
  • 411
2
votes
0 answers

Custom/non system included keyboard

It seems very strange how keyboard layouts are handled in Linux. There are tons of X11 config files. I don't want to bother with them. I just want to have my keyboard layout on any single terminal I log to. I have already some keyboard config file…
VojtaK
  • 148
  • 5
2
votes
0 answers

Detect Keyboard Layout by typing keys on archlinux

Is there any tool for detecting keyboard layout by typing keys?
Kokizzu
  • 9,699
2
votes
0 answers

Keyboard layout bug in login window after screen lock

I use Fedora 16 now, but this issue already was in Fedora 15 before I upgraded it. When I lock my screen and then want to unlock it, I have a default English layout (I am from Russia and also have Russian layout). My layout switching shortcut is…
Guy Fawkes
  • 344
  • 1
  • 2
  • 10
2
votes
0 answers

Zaurus and mapping keyboards

Is there still somebody using a Zaurus? I got a second-hand SL-C3000 with ROM version 1.11 JP and kernel 2.4.20, and I cannot manage to remap keys. There is no xmodmap, just an application "KeyMapHelper" which generates a keymap in text mode.
mau
  • 121
1
vote
0 answers

Hyper key showing as Super key

I want to use the hyper key in Emacs. Have changed the keyboard layout to Generic 101-key PC and am doing this check to determine whether keycode 66 is associated with the Hyper key. actm=$(xmodmap -pke | grep "Hyper" | grep "66") But when I hit…
Vera
  • 1,223
1
2 3