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
5 votes
3 answers
3k views

Add second keyboard layout with localectl

I am using Fedora 28 workstation with Gnome. My current layout status with localectl status is System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: us I am using localectl set-x11-...
1 vote
2 answers
164 views

Input Methods for Anceint Greek (and other diacritic heavy languages)

Let me start by saying that I'm well aware that there's a keyboard layout for Ancient Greek. My issue is that Ancient Greek is a diacritic heavy language, and you can get up to 3 diacritics on a ...
0 votes
0 answers
19 views

How to define a new xkb type and make it the defaul for a specific layout?

I am a Java programmer and I often need to write lots of text in Hungarian, German or Slovak. Quite often, I have to do all simultaneously, which makes constantly switching between different layouts ...
6 votes
2 answers
3k 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 ...
3 votes
2 answers
1k views

pipeline("|")-key alternative on Memo Leste

I don't have a |-key. is there an alternative to it? say, can I execute an equivalent to dmesg | less if I can't type |? System # uname -a Linux devuan-droid4 5.4.0 #1 SMP PREEMPT Sun Jan 12 19:38:...
2 votes
1 answer
105 views

How to make one keystroke emit three Unicode characters in a custom keyboard layout in Linux Mint?

I have created a custom keyboard layout for my regional language by editing different files.  It works fine except for one problem.  One of the characters needs three Unicode characters in combination,...
1 vote
0 answers
19 views

SysRq key on a TLC keyboard

I have a "Logitech G14 TKL SE" keyboard. In this keyboard, the print screen key is emulated with the Fn+Ins keys combination. Unfortunately, I'm not able to get the SysRq magic key ...
1 vote
2 answers
3k views

xorg keyboard config not working (us altgr-intl no deadkeys)

I'm trying to get my keyboard to use the us layout with variation altr-intl and no deadkeys. Somehow my xorg-keyboard-config does not take effect. I looked up the config here arch-wiki but there seems ...
0 votes
0 answers
21 views

Unable to change keyboard layout?

What the hell? Installing a fresh Kali linux from an .iso file in VirtualBox. I’ve tried everything, localctl, dpkg-reconfigure, setxmap, even trying to force write in /etc/default/xorg.conf.d, etc… ...
2 votes
1 answer
2k views

How to create a new keyboard layout in the /usr/share/X11/xkb directory in Ubuntu?

In the /usr/share/X11/xkb/symbols directory there are various keyboard layouts listed. I made a copy of the /usr/share/X11/xkb/symbols/us file under the name /usr/share/X11/xkb/symbols/new_test_layout....
76 votes
7 answers
56k views

On an Apple Keyboard under Linux, how do I make the Function keys work without the fn modifier key?

I use an Apple wired keyboard on Linux. By default the function keys (F1, F2, F3, etc) require the fn key to be pressed for them to work. Without the fn key, these keys control the features like ...
2 votes
2 answers
5k views

How to configure Deepin Desktop Environment (DDE) to change keyboard layout with caps lock?

My system is Manjaro Linux. But I think this does not metter. In settings panel I cannot make CapsLock as keyboard layout changer. Please help.
1 vote
1 answer
3k views

How do I retain keyboard setup for my xrdp session?

Running RDP on my Win10 box against my Raspbian distro on an R4 with xrdp. My keyboard layout was not corresponding to my Norwegian keyboard. I followed the advice in Save setxkbmap settings? to get ...
10 votes
3 answers
6k views

How to get current keyboard layout from the command line?

How to get current keyboard layout in command line on all distributions ? Is it possible ? E.g. xset -q | grep LED | awk '{ print $10; }' shows different output with different keyboard layouts locally,...
25 votes
7 answers
21k views

How to change keyboard layout in gnome 3 from command line

I am using gnome 3.22.1 but problem exists since 3.18. Before that (don't remember the exact version) I was able to switch keyboard layout using xkb-witch, simple application that uses X.org bindings ...
0 votes
1 answer
2k views

Metasploitable virtualbox has wrong keyboard layout

I just installed Metasploitable in VirtualBox for doing some exercises. Metasploitable is a Ubuntu Hardy-based system, with some built in errors that allows you to tamper with it. I live in Denmark, ...
0 votes
3 answers
16k views

Kali Linux 2020.1, how to add keyboard layout menu in XFCE?

When I was changing keyboard layouts in Ubuntu, a visual menu was appearing and I could see the keyboard layouts like this: But there is not any visual menu of keyboard layouts on Kali 2020.1. ...
2 votes
1 answer
144 views

KDE - Map left and right `Alt` keys independently

When creating shortcuts, the left and right Alt keys map to identical references. Is there a way to create a shortcut for both individually so that RAlt+Key1 and LAlt+Key1 can point to different ...
0 votes
0 answers
16 views

Logitech K120 Spanish keyboard composite key

I'm using MX Linux 23.2, my keyboard is Logitech K120 Spanish, during installation, I chose 104key-pc keyboard, but when trying to configure composite key to create accent char (such as á, à, ã, ç, ...
6 votes
3 answers
2k 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 ...
11 votes
2 answers
4k views

Mac-style option/alt key special characters on Linux

I'm on a Mac keyboard and I would prefer to have special characters available similar or the same to how they are accessed in OS X/macOS. Here is a similar question for Windows. E.g., alt+e+e → é and ...
1 vote
0 answers
17 views

How to fix Uni Gitanjali keyboard layout for bangla?

I use MX21.3 + KDE plasma(v5.20.5). For my native language bangla, I prefer uni gitanjali layout. After I enable it from the “system settings”, I run into a problem. It doesn’t have a আ key. Instead, ...
4 votes
1 answer
2k views

Can I set the default keyboard layout using kernel arguments while booting Linux Mint 17 Live USB?

I have a USB flash drive that I'm using to boot machines with. It can boot with several GNU/Linux distributions, including Mint 17 [Cinnamon]. The only annoying factor is that I always have to change ...
0 votes
1 answer
1k views

Change of keyboard layout has no effect in VM

I am running a Kali Linux VM with VirtualBox on my MacBook. Because my laptop is rather old I decided to deactivate the GUI with the help of this guide. I have a German keyboard, so I tried to change ...
7 votes
2 answers
2k views

How to make a ISO_Level4_Shift and Lock in xkb?

I would like to know if it’s possible to set a key as a level 4 modifier or locker in xkb instead of using: Shift + ISO_Level3_Shift (a.k.a AltGr). Same question with the levels 6, 7 and 8 (using "...
4 votes
3 answers
4k views

Map Right Alt to Alt instead of AltGr

I have a Kinesis Advantage keyboard and I'm trying to make it so that my right and left Alt keys do the same thing. Currently the left Alt key works as expected but the right Alt key just allows me to ...
3 votes
2 answers
738 views

Ubuntu 22.04, Wayland will not indicate keyboard language input switch when using Alt+Shift

When I switch keyboard layouts in Ubuntu 22.04 via Alt+Shift, the indicator on the top menu does not change. This only happens on Wayland, on X it works fine. I think I saw a bug report somewhere, but ...
0 votes
1 answer
2k views

Can't change keyboard layout inside vncserver

How to change keyboard layout inside (tiger) vncserver? I am running startxfce4 inside it. I can show country flag in the corner and switch layout by clicking on it, but I can't switch by keyboard ...
1 vote
1 answer
47 views

`setxkbmap kr` not doing anything?

I'm trying to add a configuration to my multilingual setup on my ArchLinux desktop, but Korean doesn't seem to do anything, despite it being listed under setxkbmap. How do I set it up similarly to ...
0 votes
0 answers
13 views

Shortcut that set at "switching to another layout" blocks other shortcuts

I use ALT+SHIFT as keyboard layout. This combination set at "switching to another layout" parameter of the Keyboard config. But if I want to use some combination that contains the 'switching ...
1 vote
0 answers
85 views

Can't type the ^ character in the terminal but can use it in GUI applications

I use Manjaro, with i3, but the problem is also present with Plasma. For this message, I will call the ^ (caret) key, the key on the right on the p, where a "^" and "¨" is printed ...
1 vote
1 answer
37 views

Cannot write "ê" or "ë" in my keyboard with the ^-key on terminal applications, but I can on non-terminal applications

I use Manjaro, with i3 but the problem is also present with plasma. For this message, I will call the ^-key, the key to the right of the p on a French AZERTY keyboard, which has a ^ and ¨ and can be ...
5 votes
1 answer
2k views

Xfce Keyboard Layout change Ctrl+Space

Ok, so I've been googling this for almost a week now...without any luck. When I open the Keyboard settings pane, the options are only limited to (ones that have "Space" in them) Alt+Space and Super+...
2 votes
1 answer
70 views

How many levels can XKB accomodate?

I am intending to add an additional level to the unconventional 8-level German Neo2 layout for redirecting keys to QWERTY when the control modifer is pressed. Whilst I don't expect 9 levels to not ...
5 votes
2 answers
3k views

How can I install a new keyboard layout in KDE 4?

I have a custom X11 keyboard layout that I can use with setxkbmap. But after some searching I've found that apparently just having the XKB layout file isn't enough to set it as a new keyboard layout ...
40 votes
10 answers
37k views

How to display the current keyboard layout?

Is there a utility that allows to graphically display the current keyboard layout? This can be useful, for example, when writing in a foreign language and having the physical keyboard only ...
0 votes
0 answers
39 views

Using different layout for each keyboard

I've seen similar questions here, but I don't think I'm duplicating any of them. I've been making progress on this matter for years, but there's still some way to go. The latest stage is that I use ...
0 votes
0 answers
48 views

LXQt - iBus / X server won't respond to Alt+Shift for switching keyboard layout

I'm using LXQt on Lubuntu 22.04, and am having trouble switching keyboard layouts (between Hebrew and English). I can switch them by mouse, using the iBus panel applet, but - neither RAlt+Shift nor ...
38 votes
2 answers
14k views

Does Wayland use XKB for keyboard layouts?

As XKB is part of X window, is it XKB used in Wayland as well? If so, is there any utility planed to replace XKB at some point? In weston, setxkbmap does not work obviously. What is the currently ...
0 votes
1 answer
711 views

Setting keyboard layout on Fedora 38/39

since Fedora 38 installation I have a problem with keyboard layout setting. Probably during the installation of F38 I've chosen en_US and cs_CZ locales and keyboard layouts. And now I cannot find ...
1 vote
1 answer
360 views

ubuntu, several switches for keyboard layout

I have: I am new to Ubuntu (or Wayland?) and have an issue with two different ways to switch keyboard layout. Ubuntu 22.04.3 LTS Gnome 42.9 Windowing system Wayland And I currently have two ...
0 votes
0 answers
32 views

strange issue with my keyboard. Some of these keys will not work, and only on cinnamon. Plus help with remapping of a key

So i tested this on windows as well as with pop!_os (my distro) DE and another DE, and only on cinnamon i'm observing this. I'm on a german notebook and set up brazilian keyboard layout which, again, ...
1 vote
1 answer
133 views

Keyboard layout skipped during installation and changes don't persist in Linux Mint

I installed a fresh Linux Mint 21.2 64bit. During the installation, the menu to choose the keyboard layout was skipped, so I couldn't choose one. Now after the installation, when I try to login, the ...
8 votes
1 answer
5k views

Remap keyboard on the Linux console

I'm using Debian and I want to remap my keyboard because it has some problem. I googled and found xmodmap. But it doesn't work in graphicless mode, like tty1.
0 votes
0 answers
127 views

How can I permanently set keyboard layout via localectl?

I am using the niche keyboard layout EurKEY on my system (EndeavourOS, i3wm). Setting it works using the command setxkbmap eu. However, this ia valid for the current session only. According to Arch ...
0 votes
0 answers
43 views

Remapping KP_UP to Up

I am encountering weird issue with Android Studio, and it seems the fix will still take some time. When I press arrow keys at numeric keypad at the editor window, the cursor won't move. But it does ...
3 votes
2 answers
4k views

setxkbmap il and then setxkbmap us: How to switch back keyboad layout to English after changing keyboard layout to some other language

I do this setxkbmap il on my xterm and then do my stuff in my local language layout. When done, I want to switch back to English layout with setxkbmap us but I cannot type English in my xterm. What ...
0 votes
0 answers
25 views

Gnome seems to be overwriting my keymap configuration on archlinux

I have finished several Arch Linux installations and I am in the process of creating my own custom installation script. It is almost finished but I have an issue with gnome overwriting (It's an ...
16 votes
1 answer
7k views

How to list all currently available compose key combinations?

Is there some way to inspect the state of X to get exactly and only a list of compose key shortcuts and what they map to, either as literal keys, for example: aa å 88 ∞ or as glyph names, for example:...
0 votes
0 answers
58 views

Is it possible to have several actions for a single keycode in XKB keymap?

In XKB (X keyboard extension), it seems to me only one Action max is possible for any keysym: There is zero or one key action associated with each keysym bound to each key. https://www.x.org/releases/...

1
2 3 4 5
16