Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
24 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
5 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
23 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
34 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
1answer
26 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
10 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
42 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
28 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
63 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
16 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
91 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
0answers
100 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
17 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
33 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
41 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
16 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
63 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
30 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
19 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
35 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
35 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
30 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
39 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
121 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
133 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
29 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
36 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
54 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
36 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
454 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
21 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
74 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
66 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
134 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
109 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
107 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? ...
0
votes
0answers
12 views

How to configure keyboard layout to auto-switch when I switch to/from a particular application or a website?

Once again annoyed by having to switch keyboard layout as I've entered a password in a wrong one I've just realized I always write Russian in one app and on one website, in all the other apps and on ...
2
votes
1answer
548 views

Changing the keyboard layout/mapping on both the console (tty) and X in an X/console agnostic way?

I've been able to change the keyboard layout/mapping when the X Window System is running using ~/.Xmodmap (and I suppose you could also do it through the X protocol directly, eg. using libxcb as a ...
0
votes
2answers
142 views

Does Linux Mint have Windows-like dead keys?

I'm from the Netherlands, using Windows' Dutch US-International keyboard layout, where a fair few characters use dead keys (éèëê, times five for every vowel). On Windows, typing an apostrophe with a ...
1
vote
0answers
253 views

How to add keys to keyboard layout in Xfce?

I'm using Linux Lite 3.8 with Xfce. TL;DR Problem: need to type in question marks "?", but can't. How can I add this key to keyboard layout? I bought a laptop in the USA that has a regular US-en ...
1
vote
0answers
15 views

Paliate key sending wrong keycodes

After a waterspill over my laptop's keyboard the left arrow and the up arrow send grabled keycodes which correspond to several other keys. I can live without those keys since I can remap other keys ...
0
votes
1answer
104 views

Remap the alt key in Grub 2

I have a problem with my keyboard: the left Alt key is not working any more. When I logged in into the Window manager, I can remap the key to caps lock key, and everything works fine. I changed ...
1
vote
0answers
259 views

How to setup keyboard switching in Tigervnc via Remmina Remote Desktop

I am running VNC server on a headless Ubuntu box with tigervncserver. ~/.vnc/config is all commented and has the following examples: # securitytypes=vncauth,tlsvnc # desktop=sandbox # geometry=...
2
votes
1answer
79 views

Setting Shift + Spacebar + SomeLetter as an alternative for arrow keys

Is there any way to customize your keyboard to set Shift+Spacebar+SomeLetter as an alternative for arrow keys? When editing text, I either use a mouse or arrow keys to take the cursor to a particular ...
0
votes
1answer
156 views

Invalid key bindings after upgrade to ubuntu 18.04 from 16.04

I need a shortcut Alt + 1 in Intellij IDEA but after Ubuntu upgrade it results into Alt + plus. However other numbers like Alt + 2 behave as expected. And hitting 1 indeed results into writing 1 in ...
0
votes
0answers
42 views

How can I configure xkb to switch layouts both ways?

If I run setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle, I can switch from the AltGr-International layout to Colemak by pressing Alt+Space. But it doesn't work the ...
0
votes
1answer
206 views

Switch to another input method

I can't find anything clear of how linux is handling the keyboard. (system based configurations not gui) My problem is : I installed ibus on a linux mint with several languages but it just doesn't ...
0
votes
0answers
48 views

Keyboard reports ctrl_l and alt_l keys are pressed in Xfce sometimes

I am using Fedora xfce desktop on my laptop, the HP elitebook 830 G5. Sometimes, when I pressing part of specific keys, .e.g - key, the system reports that both ctrl_l and alt_l keys are pressed as ...
1
vote
0answers
27 views

Keyboard layout changes on change of focus at KDE

I have a Debian 9.5 (stable) with KDE and i've binded three commands to three different global shortcuts with System Settings -> Shortuts setxkbmap -model pc104 -layout us setxkbmap -model abnt2 -...
0
votes
2answers
375 views

Can't login to Alpine Linux due to a faulty keymap configuration

I have a fresh Alpine Linux 3.8.0 installed on a local disk, dual booted with Ubuntu 18.04. While trying to solve some GUI localization issue, I've entered a wrong keymap in setup-keymap. Sadly, ...