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
1 answer
15 views

Keymap location /usr/share/kbd/keymaps or /usr/share/keymaps?

Did something change or are some distros just different? I see reference to both /usr/share/kbd/keymaps as well as /usr/share/keymaps Thanks.
0 votes
0 answers
12 views

Keyboard config not resulting in right mapping (debian)

The main goal I am trying to achieve is to be able to type the german 'Umlaute' (ä, ö, ü) with altgr + a,o,u. I have tried different things for example: sudo dpkg-reconfigure keyboard-configuration ...
0 votes
1 answer
33 views

How to set xkb variant in sway for one of multiple layouts

I want to set the German layout with nodeadkeys as default, and the other layouts with default variant. It works when I set just the German layout and its variant, but not with multiple layouts: input ...
  • 479
0 votes
0 answers
48 views

How to change GRUB2's keyboard layout on a laptop?

This question has often been asked, and all the answers I could find involve setting GRUB_TERMINAL_INPUT=at_keyboard in /etc/default/grub (see for example https://askubuntu.com/questions/751259/how-to-...
  • 1,258
0 votes
0 answers
9 views

Less in custom distro ignores all keyboard input

In the custom distro I'm running on an embedded system the tool 'less' is broken. It ignores all keyboard input and just echoes it to the screen. To quit I have to use ctrl-z and kill %1. I've used ...
  • 395
0 votes
0 answers
24 views

How can I assign the command key to the contextual menu one in Linux?

On Linux, I would like to replicate the function of the Windows key: ... in the Menu key: I have tried using xbindkeys, but both keys seem to have the same command name: $xbindkeys -k; menu key &...
  • 113
0 votes
0 answers
9 views

Shortkeys for change keyboard layout does not works and can't be saved

I installed Lubuntu 20.4. And I try to change keyboard layout (from russian to english), but can't create it. I tried to set shortcuts, but they do not save and layout is not changed. But I can change ...
2 votes
0 answers
40 views

Inconsistent keyboard layout on Ubuntu

I am on Ubuntu 22.04.1 LTS. I have two keyboard layouts enabled in the keyboard options, English (US) and English (Dvorak). I have the option set to use the same source for all windows. When I switch ...
0 votes
0 answers
17 views

How do I use xmodmap; Remap f1~12 function keys [duplicate]

Because my keyboard is 61 keys, and the fn key is in the lower right corner. If I want to use the F12 key. It will be very inconvenient. I want to remap f12 to Right_ Alt++(=) sign f1 = R_ Alt + 1 f2 =...
3 votes
3 answers
180 views

My bangla keyboard layout does not match the physical keyboard

Steps: Settings > Region & Language > Add Bangla to Input Sources selected bn. Here, is the gkbd-keyboard-display -l bn output. In LibreOffice Writer, when I work with bangla fonts ...
  • 1,822
0 votes
0 answers
23 views

Unable to swap Caps and Ctrl on RHEL 8.4 in VirtualBox

I set up RHEL 8.4 in VirtualBox but need to swap my Caps Lock key with the Ctrl key so that the keyboard behaves the same way the host does. I followed along with these instructions. Now, after ...
  • 143
0 votes
0 answers
10 views

How to remap Alt_R as Mod1 for Cyrillic layout to work

I remapped Alt_R to Super_R. .Xmodmap remove mod1 = Alt_R 2 keycode 108 = Super_R 3 add mod1 = Alt_R But when I change layout to Cyrillic, xev shows keycode 108 (keysym 0x0 nosymbol) for Alt_R. This ...
  • 1
0 votes
0 answers
30 views

Remap Keys to output Unicode characters

My goal is to typeset mathematics/physics more efficiently and more readable by remapping my keys to use the proper Unicode symbols. Therefore, I want to remap my keys, such that pressing Alt Gr + ...
0 votes
1 answer
90 views

How to (permently) set keyboard mappings using setxkbmap? It gives an error

I am diving into custom keyboard mappings. Basically, I just want to switch the Alt_L with Ctrl_L and Alt_R with Ctrl_R (kind of like Command on MacBooks). In the file /usr/share/X11/xkb/symbols/ctrl ...
  • 109
1 vote
0 answers
23 views

Is there an API to query setxkbmap's current layout?

A bit related to this previous question of mine, I wonder if there's a way to query what is the current layout. Say I have run setxkbmap -layout it,ru -variant ,phonetic -option 'grp:caps_toggle' and ...
  • 1,165
1 vote
1 answer
27 views

How do you use keyboard-driven programs with non-latin alphabet keyboards?

tl;dr If I use keyboard-driven programs in my system, where letters like h, j, k, l, i, d, w, o, a multiple times a second, how can I write text in non-latin alphabet across all applications? Longer ...
  • 1,165
2 votes
0 answers
15 views

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 ...
  • 131
0 votes
0 answers
17 views

CapsLock and NumLock behavior in FastX

I am connecting to a remote linux XFCE session from Windows through FastX. Whenever I press, mainly by accident, Capslock or NumLock inside the XFCE session it somehow prevents me from typing numbers ...
  • 131
1 vote
0 answers
36 views

i3 Super doesn't work after changing keyboard layout

I recently got an external keyboard for my laptop. Problem is that I have to use i3 at school and that whenever I'm changing my keyboard layout (because default layout is french and I got an US ...
0 votes
0 answers
15 views

Set keyboard layout on a VPS with Lubuntu connected remotely via MacBookPro 13

How to set the correct keyboard layout for this setup: VPS hostet by contabo.com, OS: Ubuntu 20.04 (64 Bit), Lubuntu Desktop, XRDP installed. Connect via MacBook Pro 13, ABC-QWERTZ-Keyboard, RDP via ...
  • 291
0 votes
0 answers
23 views

XKB: reset layout for new windows to default

I've been using Ubuntu for a while and enjoyed little tweak for changing keyboard layout only for current window. E.G.: I used two layouts (default en, second in) and just toggled in when needed for ...
1 vote
0 answers
37 views

How to keep keyboard mapping after reboot?

In order to remap my keyboard I use the following commands: $ setxkbmap -layout fr -variant latin9 -option '' $ setxkbmap -option ctrl:nocaps $ printf "keycode 127 = Caps_Lock NoSymbol Caps_Lock&...
0 votes
0 answers
93 views

Keyboard layout change on Amazon Linux 2 with MATE connected with windows RDP client

I'm connecting an AWS EC2 Linux 2 instance via windows RDP using the MATE interface. However, I cannot change the keyboard layout. I have tried these: Using preferences I added my layout and removed ...
2 votes
0 answers
30 views

Key combination AltGr+Alt+h is not detected in xev

I recently added the following customization to /usr/share/X11/xkb/symbols as an include file: partial alphanumeric_keys xkb_symbols "vim" { key <AC06> { [ h, ...
  • 490
0 votes
0 answers
48 views

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 -...
  • 327
1 vote
1 answer
52 views

Use left-ctrl to swap keyboard layout?

If I want to switch between two keyboard layouts (gb and apl) by holding down the right ctrl key, I can run: setxkbmap -layout gb,apl -variant ,dyalog -option grp:rctrl_switch Is there anything ...
1 vote
1 answer
32 views

How to remap Caps Lock to a specific key?

By default I have the following key mapping: $ xmodmap -pke ... keycode 49 = oe OE oe OE leftdoublequotemark rightdoublequotemark leftdoublequotemark ... keycode 66 = Caps_Lock NoSymbol Caps_Lock ......
0 votes
0 answers
95 views

KDE plasma: let ibus configure the keyboard

In order to use the great LaTeX table mode of ibus, I installed ibus. Now my issue is that ibus seems to collide with the KDE keyboard layout, in particular when I plug a new keyboard it switches ...
  • 2,846
1 vote
0 answers
33 views

X follows keyboard layout toggle but console does not, crazily

Two systems behave the same weird way, Xubuntu 20.04 and Debian 11 testing. I've set the following in /etc/default/keyboard: XKBOPTIONS="compose:caps,grp:win_space_toggle" This works under ...
  • 97
0 votes
1 answer
159 views

Caps Lock to Switch Layout is Not Working

tl;dr: Caps Lock acts as caps lock instead of switching keyboard layout as asked. I believe I have correctly set the shortcut for switching layout: but when I press caps lock, it still acts as caps ...
  • 418
0 votes
0 answers
35 views

Trying to get more than 4 symbols from one key in my custom xkb keyboard layout

I have no problem getting four symbols per key using the right alt key, but I am running into failure when trying to get the level 5 switch working, as well as enabling a key to toggle between two ...
0 votes
0 answers
58 views

How to trigger Magic SysRq on a TKL keyboard

On a Logitech G413 TKL SE keyboard, I can print screen (and all GNOME options with Ctrl/Alt/Shift) easily by pressing FN + INS, which is the equivalent to Print Screen (PrtSc) on this keyboard: But ...
  • 2,080
1 vote
0 answers
21 views

Super_L fails to bind Win key in .ratpoisonrc

Following the example in the docs ~/.ratpoisonrc # Setting the escape key to the Windows key escape Super_L works fine on one machine. On another however it refers to the Fn key. Both are laptops by ...
  • 2,809
2 votes
0 answers
66 views

How to enable Alt_L on Arch linux?

Currently my fresh installation of Arch linux doesn't register the Alt_L key press. After going through the Arch wiki, I found the us1 keyboard layout has the option of "linux-with-two-alt-keys&...
  • 21
1 vote
0 answers
30 views

Cannot add accent marks on character, as accent marks immidiately appear before the next key press

In short, I am trying to type the acute e (é) character. For some reason, on my office computer (Linux Mint Cinnamon), I cannot write the character as I am used to. The way I would normally do it, is ...
  • 233
0 votes
1 answer
221 views

Installing Colemak on Fedora

I am struggling with installing colemak on my Fedora 36 instance. I am using the following procedure: wget https://colemak.com/pub/unix/colemak-1.0.tar.gz tar -xzf colemak-1.0.tar.gz cd colemak-1.0 ...
  • 1
0 votes
1 answer
115 views

What is the difference between KBD and XKB?

The KDB Project and the XKB both handle the keyboard and keymaps? Why they both have files for Keyboard Layouts (KDB with .map files and XKB with the Symbols folder)? What exactly each project do?
  • 111
1 vote
1 answer
146 views

How to add a compose character to a xkb keyboard layout

I created a custom Ukrainian ISO 9 layout successfully (by redacting /usr/share/X11/xkb/symbols/ua and several other files), it works and all but it lacks one letter, namely G with a grave i.e. 'G̀' (...
  • 11
3 votes
1 answer
132 views

No longer able to input circumflex or diaeresis accented characters (qt5 apps only !)

Currently running KDE-Plasma-5.23.5 (X backend)/ KDE-Frameworks-5.90.0 / QT-5.15.3 I can assert that this used to work perfectly but am unfortunately unable to assert from which version of what the ...
  • 5,505
0 votes
1 answer
206 views

Virtual keyboard and physical keyboard, but different languages

I'd like to have active, at the same time, a virtual keyboard (I have installed onboard) and the physical keyboard of my notebook, but with different languages, say Russian (virtual) and English (...
  • 1,027
0 votes
0 answers
21 views

How do I type the | symbol on a PowerBook G4 with a German mac keyboard running Linux?

I have tried every combination. I can type it in mac OS and I can type it with a standard IBM-style keyboard, but how do I type it with this computer's internal keyboard? I'm using adelie linux on tty....
1 vote
0 answers
105 views

Trying to set layout US with INTL on wayland/sway combo

I am desperate, I have spent way too much time trying to figure that out I have manjaro CE with sway/wayland In my /etc/sway/inputs/default-keyboard I added this input type:keyboard { xkb_layout &...
0 votes
0 answers
197 views

Switch AltGr and Ctrl with XKB

Ive tried various xkb_options to swap the right AltGr key with the left Ctrl key, bot none of them worked. On my X11 setup, I've used a .Xmodmap file to redefine these keys like so: ! CTRL on ALTGR, ...
  • 445
0 votes
1 answer
81 views

Help with xmodmap example from archwiki

This article: https://wiki.archlinux.org/title/xmodmap#Reassigning_modifiers_to_keys_on_your_keyboard Has an example: clear lock clear control add control = Caps_Lock Control_L Control_R keycode 66 = ...
0 votes
1 answer
58 views

Custom keyboard config stopped working for spacebar only after upgrading Fedora 34 → 36

Context I have a custom keyboard config. It worked like a charm on Fedora 34. I have just upgraded to Fedora 36 and reinstalled the keyboard layout. Issue The custom layout is picked up, except for ...
  • 285
0 votes
2 answers
598 views

Sway input, how to get the 'us intl' layout (US keyboard international variant)

I am trying to get this layout working Should I put something in /etc/sway/inputs/default-keyboard ? I tried to get the information with man 5 sway-input and swaymsg -t get_inputs but it did not help. ...
0 votes
0 answers
70 views

Keyboard mapping stops working -- how to debug?

I am alternating between two layouts, English and Hungarian (the latter has some accented characters). The problem is that sometimes the Hungarian layout stops working, i.e. when I switch to it, the ...
  • 315
0 votes
0 answers
173 views

Set Ibus keyboard shortcut for "Hangul toggle key" via config file

I am using a fully-updated installation of Gnome Manjaro Linux. I have added Korean (Hangul) as an input source in Settings > Keyboard. My goal is to use the keyboard shortcut Super+Space to toggle ...
  • 101
0 votes
0 answers
442 views

How to setup Void Linux Gnome Keyboard configuration in Xorg?

When I was using Arch Linux I was able so set my configurations as described in the link https://wiki.archlinux.org/title/Xorg/Keyboard_configuration under sub-section "Using X configuration ...
0 votes
0 answers
201 views

How can I restart the cinnamon panel keyboard layout selector?

Somehow, the language indicator / keyboard layout switcher on my cinnamon panel has disappeared. This happens to me once in a while, and I'm used to having to logout and start a new session. But - can ...
  • 7,983

1
2 3 4 5
16