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
0 answers
1 view

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
17 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
14 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
17 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
8 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 -...
  • 111
1 vote
1 answer
15 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
17 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
9 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,326
0 votes
0 answers
25 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 ...
  • 63
0 votes
1 answer
28 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
23 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
24 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,000
1 vote
0 answers
14 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,765
2 votes
0 answers
40 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
16 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 ...
  • 231
0 votes
1 answer
99 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
41 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
56 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
2 votes
1 answer
79 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 ...
  • 3,879
0 votes
1 answer
78 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 (...
  • 907
0 votes
0 answers
18 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....
0 votes
0 answers
45 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
93 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, ...
  • 425
0 votes
1 answer
28 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
30 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 ...
  • 275
0 votes
2 answers
253 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
36 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 ...
  • 325
0 votes
0 answers
90 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
217 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
73 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,683
0 votes
0 answers
265 views

why right and left shift keys not working in kali linux

Previously I used windows 7, at one time the right and left shift keys were a bit strange, they did their job as functions, but when pressed right SHIFT the cursor would move to the very end of the ...
0 votes
0 answers
38 views

How to assign dot symbol for the numpad del key in the KDE (X11) permanently?

I use the KDE Plasma with X11 on my laptop. And I set up two keyboard layouts in the KDE settings: US English and Russian. I'd like to assign the dot symbol for the numpad Del key. I found the ...
0 votes
0 answers
73 views

problem with xmodmap NoSymbol

so my keyboard got water-damaged and subtract key(the one in the num pad area) is randomly repeating itself so I wanted to disable the key with xmodmap -e 'keycode 82 = NoSymbol' and when i run ...
  • 1
0 votes
0 answers
28 views

How to remap a key combination to a key combination in X?

How do I remap a key combination Ctrl+54 (keycode for C) to Ctrl+C? I want this because I am switching between keyboard layouts often, but many programs accept keyboard shortcuts only in latin layouts....
  • 179
0 votes
0 answers
65 views

Swap F9-F12 with their Fn+media key counterparts with XKB

The F9 through F12 keys on my Asus keyboard are also media control keys when the Fn button is held down. But I would use the Play/Stop/Prev/Next media keys constantly if I didn't need to hold the Fn ...
0 votes
0 answers
111 views

Associate Alt(Meta)-Key with Ctrl-Key, and Caps-Lock for Hyper-Key

I want to swap the Alt(Meta)-Key with the Ctrl-Key, and use Caps-Lock for Hyper-Key. This is what I have xmodmap -pke | grep "Control\|Alt\|Meta\|Hyper\|Super" keycode 37 = Hyper_L NoSymbol ...
  • 13
2 votes
0 answers
103 views

How can I get a Hindi transliteration keyboard in Fedora Linux? (like there's Google Indic for Android)

I am new to using Fedora Linux. While setting it up through my Virtual box Machine on Win10 it asked for input keyboards. I usually work in English (in/en) keyboards, but sometimes I had to do some ...
  • 21
0 votes
2 answers
472 views

How to swap / remap the Escape key with backtick (`) and Caps-lock with Escape Key

So I just bought a 60% keyboard, and I didn't realize that the backtick doesn't have it's own dedicated key. This is problematic as I write a lot of Markdown and JavaScript. It seems like swapping the ...
  • 193
0 votes
0 answers
45 views

Reset keyboard remap permanently

I had the brilliant idea to switch the FN key and CTRL key on my lenovo laptop keyboard which I now after 3-4 months realize was the biggest mistake I've ever made in any linux distro. This didn't ...
  • 21
1 vote
0 answers
370 views

How to remap the AltGr key on wayland?

I'm trying to have the "regular Alt" instead of the AltGr key, this is because it would be more easily to me work with emacs with that setting. I tried to change the keysym with xmodmap but ...
1 vote
1 answer
125 views

How to make Dead Keys(Compose) Work with Window Managers?

My Window Manager/Desktop Environment has some applications where the dead keys (e.g.`, ~, ö) are not working by default, when I press then, they sometimes doesn't show at all on key press, sometimes ...
1 vote
0 answers
63 views

Remap CTRL + 7 to the character {

How do I remap the character { to CTRL + 7. The reason is that AltGr + 7 is awkward to press for me and would be easier by using CTRL + 7. Also I want to set it up the same way of getting { on both a ...
  • 133
1 vote
0 answers
128 views

Tilde and angle bracket keys are swapped

I have looked for solutions to this problem quite a bit now, and I haven't found any good answers to it. This is the layout I am using When pressing the tilde key (the one to the left of 1), it ...
  • 11
0 votes
0 answers
41 views

Control modified keys show up as wrong keys

I'm using WSL 1.0 Ubuntu inside Windows Terminal v1.11.2921.0 from a Windows machine, to SSH into a NixOS box (Linux) On Windows, I am using the Programmer Dvorak keyboard layout. I also remapped Caps ...
0 votes
0 answers
40 views

US Keyboard Layout backslash and return switched after firmware upgrade

Since I upgraded the firmware of my lenovo t480, my backslash is now switched with my return key, that means mostly when i want to hit return i write \ and when i want to write \ i hit return.. ...
1 vote
0 answers
21 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 ...
2 votes
2 answers
719 views

Trying to set keyboard layout to us intl on wayland

I have been trying to set the keyboard layout model US and option intl on manjaro sway (wayland) The following commands dit not work localectl set-x11-keymap us intl setxkbmap -layout us -variant ...
0 votes
1 answer
162 views

How do I use MacOS keyboard layout on Ubuntu 20.04?

In addition to using Ubuntu 20.04, I have recently started doing some of my work on MacOS. The problem, however, is that my typing speed on both is not so good. On the one hand, the MacOS keyboard ...
  • 101
0 votes
0 answers
17 views

in terminal utilizing vi command , somehow changed the keyboard so that upon pressing a character on the keyboard does not output the proper value [duplicate]

while in terminal . utilizing and learning basic Linux commands and was covering the usage of the vi command when it became apparent that something was different than the screen that i was taking ...
0 votes
0 answers
298 views

Change of Keyboard Layout has no effect in VM

I am running a Kali-VM with virtualbox on my MacBook. Because my Laptop is rather old I decided to deactivate the GUI with help of this guide. I have a German keyboard, so I tried to change the layout ...

1
2 3 4 5
16