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.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Rebinding many keys at once

My goal is to have a very accessible way to remap many different keys. More specifically I want the number row and the home row to swap positions on my keyboard when I press shift+space. Right now I ...
0
votes
0answers
10 views

KDE: how to get rid of IBus keyboard selector

Please, how to get rid of IBus service/IBus panel when running KDE? This Gnome(?) keyboard layout manager (?) can get into conflict with the layout set natively in KDE Settings. I need to switch ...
1
vote
1answer
32 views

Change keyboard layout (Dvorak, Qwerty, etc.) in Ubuntu 18.04.1 LTS

How does one change the keyboard layout from Qwerty to another layout such as Dvorak? I looked in: Settings > Region & Language Settings > Keyboard Help > Ubuntu Desktop Guide > Search But I ...
3
votes
0answers
26 views

How do I disable a keyboard key in udev? (at driver level)

I would like to disable a keyboard key completely, specifically the XF86Back (keycode: 166) and XF86Forward (keycode: 167) on the Lenovo ThinkPad X220. For the time being, I disable these two by ...
0
votes
0answers
17 views

How do I install a new custom keymapping in XKB?

(This is a repost of an ignored question over at Super User) I am attempting to install a custom symbols file in my keyboard mapping in XKB, as found here. I would like to overwrite how the J key is ...
1
vote
0answers
42 views

How to add custom Keyboard Layout in IBus Preference?

Following along this example, I've made a copy of us file in /usr/share/X11/xkb/symbols/, edited the alphanumeric part to type some arabic words with my preferred arabic phonetic keyboard layout, ...
2
votes
0answers
25 views

Remap keys including a modifier

I use an alternative german keyboard layout on Ubuntu 18.04: ~$ setxkbmap de koy Now I want to swap three keys (Mod3 → f → ß → Mod3) as shown in that picture: This are the keycodes for these keys: ...
2
votes
1answer
30 views

Change keyboard layout without restarting system that applies to all virtual terminal instances

The devices I work with and develop on are made by a Danish company. Whenever we ssh into into the Debian 8 based devices, they keyboard layout is US QWERTY, but if we attach a US USB keyboard to the ...
0
votes
0answers
8 views

Change X text cursor shape depending on the window's keyboard layout?

Is it possible for an external program to detect the keyboard layout of the window under cursor, and change the text cursor shape appropriately? Changing the shape is definitely possible: see what ...
0
votes
1answer
39 views

How to set Caps Lock behavior in i3?

On KDE (and on GNOME as well), there was an option to swap Caps Lock and Escape key. I was expecting this same setting window in i3, but I didn't find one. Is there any similar setting in i3?
3
votes
1answer
117 views

Prevent keyboard layout reset when USB keyboard is plugged in

Whenever I plug in a USB keyboard, the layout of all keyboards is reset to some system default (a US layout which doesn't have modifiers and other keys the way I want them). I've observed this on many ...
0
votes
1answer
16 views

Turn multimedia keys into home/end/pageup/pagedown

I have a lenovo thinkpad where FN+arrow keys is mapped to multimedia keys. For consistency with my other laptops I would like these instead to map to home, end, page-up and page-down. I am running ...
0
votes
1answer
23 views

Use ISO_Level3_Shift as Escape when tapped

I use an alternative keyboard layout that uses CapsLock and # as ISO_Level3_Shift modifiers. setxkbmap de koy I also like using CapsLock as additional Escape key when it's just tapped. This can be ...
1
vote
0answers
56 views

Key remapping for special characters (Umlauts) in Wayland

Under Xorg, I used ~/.Xmodmap in order to be able to type amongst others a German Umlaut (i.e., äüö) using the right Ctrl key and a, u, o, respectively (as well as Shift for capitals): remove Control ...
0
votes
0answers
32 views

Portuguese language, US keyboard

I have a keyboard that has an american layout and I need to use it for portuguese locale. On windows and mac this usually defaults to a setting named "US International", but none of the similar ...
0
votes
0answers
9 views

Cinnamon Alt-Tab shortcut not picking up xkb mapping Backslash to Tab

I'm using Cinnamon 3.6.7 and trying to map my physical Backslash key to work like a "right tab" button. All I did was use setxkbmap -print to generate a short keymap file, then put replace key <...
1
vote
0answers
54 views

fedora 30 GNOME wrong french apple aluminum keyboard layout

I've just installed Fedora 30 (GNOME desktop) on my machine with french apple aluminum keyboard. But "@" key is not correctly mapped. It should be at left of "1" key but instead I have "<". And ...
2
votes
0answers
36 views

How does Chromium browser determine the default keboard layout on Linux?

I'm trying to figure out how the Chromium Browser sets up the default onscreen keyboard layout / locale on Debian (and general Linux OS as well). Does Chromium Browser sniff the OS settings and/or ...
2
votes
2answers
58 views

Using `setxkbmap` to swap esc, but not working consistently

I currently have the following line in my ~/.bashrc to swap caps lock and esc: /usr/bin/setkbmap -option "caps:swapescape". Sometimes, when I boot up my computer, it works flawlessly. Other times caps ...
1
vote
1answer
12 views

Cannot map a hotkey on my keyboard (XF86Mail)

I had the following problem: I wanted to make use of some Hotkeys on my keyboard (I am using Openbox, but it should not make a difference.) Most of my keybinds worked just fine (XF86AudioRaiseVolume,...
2
votes
0answers
57 views

setxkbmap -layout us,pt doesn't work

I'm using i3 and imported some keybinds from another user that has the US keyboard. From the i3 forums, the easiest way to do this would be to do: setxkbmap -layout us,pt ..... This solution seems ...
0
votes
0answers
38 views

How to remap the keyboard with the Super L + hjkl like vim arrows

I'm using Arch Linux, I tried using xmodmap, so I'm not getting it When you press Super L + h, it would be the action of the left arrow When you press Super L + j, it would be the action of the down ...
0
votes
0answers
99 views

Gnome: Make Ctrl + Alt act like Altgr (3rd level choose)

I try to follow touch typing on a german QWERTZ-Layout. Since I am programming, I often need special characters, such as {, which can be accesed via the third keyboard level on the numbers row. On ...
0
votes
0answers
19 views

Mapping external keyboard PrintScreen

I'm running Pop!_OS and using an external CODE keyboard (88-keys) and I want to map PrintScreen and SHIFT+PrintScreen in my external keyboard to the actual PrintScreen key. The internal laptop ...
0
votes
2answers
159 views

xterm: Disable Left Alt from producing ø

I'm on latest debian testing with i3wm on two different laptops. Linux mango 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 When I press LeftAlt + x I get "ø". And other special chars with other keys. I ...
0
votes
1answer
196 views

Caps Lock behavior under Sway / Wayland

Under X, I can make Caps Lock behave as Esc when pressed briefly, but as Ctrl when held down with: setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' -t 100 How can I replicate this ...
0
votes
0answers
18 views

Keyboard language switch causes bug with word capitalizing

I've used different versions of Ubuntu, starting from 12 to 18. All ubuntu versions have the same bug with capitalizing word after switching keyboard layout, except 16.04 (I don't remember, maybe ...
0
votes
0answers
50 views

Buscador OS - Changing the keyboard layout to german

I'm trying to change the keyboard layout to german (de_DE.UTF-8). It doesn't work, whatever I'm doing. This is what I already tried: sudo dpkg-reconfigure locales sudo dpkg-reconfigure keyboard-...
3
votes
1answer
62 views

Permanently change xkb keybindings?

I have a custom keyboard layout located in /usr/share/X11/xkb/symbols/us. Every time an update happens, this file is updated to the standard keyboard layout. Is there either a way to change this ...
0
votes
0answers
19 views

2-key Keybindings (e.g. alt-shift) override 3-key bindings (e.g. alt-shift-1). How can I fix that?

If I have a 3key binding (e.g. alt-shift-1) and 2-key binding (e.g. alt-shift), when I press alt-shift-1 it just does the alt-shift binding instead (and writes shift+1). Shorter bindings override ...
0
votes
0answers
90 views

Set custom keyboard shortcuts for keyboard layout change by CLI in Cinnamon (Linux Mint)

Setting for set custom keyboard shortcuts via CLI does not fully work on Linux Mint Cinnamon 19.1. Here is what I've done to investigate: 1) Added custom via GUI, assign Ctrl+Alt+z, it shows as Ctrl+...
0
votes
1answer
35 views

Use same compose keys of OSX on Arch

I use a apple keyboard and really like the way OSX handle insertion of special characters, for example: <Multi_key> + c then c gives ç <Multi_key> + e then e gives é <Multi_key> + ...
1
vote
0answers
22 views

How to Remap Chewing (Chinese Input Method)

I'm using Bodhi Linux and yesterday made a huge mistake upon updating the system and remapped my keyboard completely wrong. I was able to get the English keyboard remapped, but the Chinese is still ...
0
votes
0answers
54 views

How to Control the Scroll Lock LED or Compose LED using another key?

I have a Sun keyboard (Type 5, I think) with several additional keys on the left hand side of the keyboard. I use one of these keys, "Again" as a modifier to toggle the function of the number keys on ...
0
votes
0answers
41 views

Linux Mint shortcut key fails to switch back to previous keyboard layout

In Linux Mint with Cinnamon. two keyboard layouts are used; en-CA (useful for accents in french) and en-US. I set up the shortcut to switch layouts to super+space. I can switch from en-US to en-CA, ...
0
votes
0answers
43 views

How to install and switch between languages (English/Japanes) in Debian

I'd like to be able to install and switch to a Japanese keyboard and back to English. Notice that this is also a question of usability. I'd like to be able to type Japanese directly, in any program, ...
0
votes
0answers
50 views

Opensuse Leap 15 vmware not AltGr Keys

I'm trying to get the Keyboard Layout right on a opensuse 15 leap. I've been in System Settings -> Input devices -> Keyboard -> Layouts and tried to configure a layout there... didn't work. ...
1
vote
0answers
179 views

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 ...
0
votes
0answers
164 views

Manjaro openbox: Different keyboard layout for each window

I'm using manjaro openbox Illyria 18.0.2-2018520 and looking for an option for different language per application/window. I didn't see any option in keyboard setting. How can i set this? similar ...
0
votes
1answer
32 views

configure non-modifier as a modifier key

This question is similar to: https://askubuntu.com/questions/33751/making-any-key-into-a-modifier-key I have a machine with a non-standard keyboard layout (lenovo x1 carbon) where the CapsLock key ...
0
votes
0answers
44 views

Can't switch to ruu layout variant in gnome

I'm running on Antergos with Gnome 3.30.2. Right now I have English and Russian keyboard layouts, they work fine. $ dconf read /org/gnome/desktop/input-sources/sources [('xkb', 'us'), ('xkb', 'ru')] ...
0
votes
0answers
55 views

Current language of keyboard layout isn`t displayed at Lock Screen, at KDE Plasma 5.12.7

I have a 3 keyboard layout and have a password that used the English language, but I don't have an indicator of keyboard layout at my lock screen. How can I add an indicator of the current keyboard ...
2
votes
1answer
56 views

how do i map the cmd key to ctrl on kubuntu 18.04?

I'm using an apple mac keyboard and I'm trying to map the "cmd" key to the "ctrl key but not having any luck can someone advise? I've tried setting the keyboard model to apple macintosh but that has ...
0
votes
1answer
619 views

How to view the current keyboard layout on arch linux

I am not using any Desktop Environment (GNOME, KDE...) I am using i3wm and I mapped the alt-shift key to toggle fr,ara keyboard layouts I want to view (from terminal) the current layout to use it in ...
0
votes
0answers
26 views

Ctrl + Alt + A does not work in Emacs and other applications

I'm currently using Fedora 29 KDE Spin, I noticed that CTRL + ALT + A does not work in spacemacs, and the key combination does not seem to work anywhere. Some people advised me that it might be due to ...
2
votes
1answer
80 views

GTK and Qt apps seem to interpret XCompose differently

I'm using Ubuntu 18.04. By default, typing something like ^2 produces ², which I don't want: I want it to be ^2. I found out that to accomplish that, one has to set GTK_IM_MODULE=xim and QT_IM_MODULE=...
0
votes
0answers
77 views

Programmer's dvorak for ibus?

I'm currently using Fedora 29 KDE Spin and I'm using ibus for Korean input. The problem is that I cannot choose programmer's dvorak with ibus unlike in the keyboard setting. I found out that ibus ...
3
votes
0answers
172 views

setxkbmap conflicting with xmodmap

So initially I had the following in my ~/.Xmodmap which mapped CapsLock+HJKL to left/down/up/right like in vim: keycode 66 = Mode_switch keysym h = h H Left keysym j = j J Down keysym k = k K Up ...
1
vote
1answer
126 views

Dvorak Programmer Layout with OpenBSD

I've recently installed OpenBSD. When installing the OS I selected the normal Dvorak layout as the Dvorak Programmer wasn't present on the list. After the install I wanted to change the layout with ...
1
vote
2answers
148 views

What controls the mapping between Ctrl+Alt+F keys, TTYs and X sessions?

On my CentOS system, Ctrl+Alt+F1 shows the X Windows session known as :0, but on other systems Ctrl+Alt+F7 may do the same thing. What determines how Fn keys are mapped to X sessions and TTYs? ...