Questions tagged [xkb]

xkb is the abbreviation for the X Keyboard Extension used to describe and configure differ keyboard layouts, etc. under X11.

Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

French characters mappings in xkbcomp ~/.keymap.xkb

I am looking to add all the French characters to my ~/.keymap.xkb file. In the interest of not duplicating things, has anyone else done this and care to share their configuration? Clearly some ...
0
votes
1answer
91 views

Can I create additional keyboard shortcuts inside xkbconfig that switch to a particular language, instead of cycling?

My current keyboard config is quite complex, but the relevant line is: setxkbmap -option -option 'grp:rshift_toggle, compose:rctrl' dmru,ru,ua & Rshift now cycles through dmru, ru, and ua. ...
0
votes
1answer
239 views

Why does not keypresses to the pause/break key reach `xev`?

I'm running xfce and as far as I can see the pause key is not mapped as a hotkey. When pressing the pause key it only produces: FocusOut event, serial 37, synthetic NO, window 0x3000001, mode ...
0
votes
1answer
310 views

How do I get a Hebrew keyboard layout with Caps-Shift-based Niqqud (SI 1452)?

In Microsoft Windows, the Hebrew keyboard layout has Hebrew characters in the basic state, English capital letters in Shift state or in Caps Lock state, but if you use Shift when Num Lock is on, you ...
0
votes
1answer
224 views

xkbcomp complains about syntax error in xkb_keycodes section

In a start to understand xkb as a preparation to create my own personal keyboard layout, I created an xkb config file. This is (a representative part of the start ofstrong text) my X keyboard ...
0
votes
1answer
708 views

How to remap keys using xkb/symbols/us file in Ubuntu?

I have dropped some water on my keyboard and only one key is not working which is the DOWN key. I want now to use some other keys such as right Alt or menu key between right-Alt and right-Ctrl keys as ...
0
votes
1answer
512 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
0answers
7 views

Change Key's Function If Held (Tab>Super;Apostrophe>CTRL)

Is this something I can do with Xkb? I'd really love tab and apostrophe to work as they are supposed to, but then change to Super and Ctrl respectively when held. If I can figure out how to do this, I'...
0
votes
0answers
14 views

xkb: How to turn a symbols file into a working keymap?

My goal is to create a keyboard map that I can switch via the GUI (here gnome on Ubuntu 19.10, but I have also tried with Xfce and got the same problem, so I am assuming this is xkb rather than Gnome/...
0
votes
0answers
5 views

How to turn a non-bindable key into a bindable one?

I'm talking about the Menu (keycode = 135) (aka Right Click), I don't use it So I disabled its contextmenu action with Xmodmap tool, now it doesn't open the menu and still working for keyboard ...
0
votes
0answers
4 views

Remap keys on Kinesis Freestyle Mac

The keyboard is Kinesis KB700PB which I am trying to use in Ubuntu. Here is its layout When I press the "left-arrow web" button, I get this using xev KeyRelease event, serial 37, synthetic NO, ...
0
votes
0answers
21 views

xkb: How to map keypad arrows to <Ctrl>+<Alt>+[keyboard arrow]?

I have reviewed all the answers to every remapping question on ask.ubuntu.com and Stack Exchange sites, and I still can't grok how to get this done. I would like, when the 4/left arrow key is pressed ...
0
votes
0answers
8 views

Use the XKB option lv3:caps_switch to remap CAPS to AltGr

I want to make this upgrade-save: Configure Caps Lock as AltGr and Arrows like in vim I already have a separate partial for my changes, but I still have to add an include in my symbols file. I ...
0
votes
0answers
41 views

how to toggle group layout (layer) with grp:toggle option of setxkbmap

I am only able to change keyboard layout using the switch option (while pressed) and not the toggle option. I tried several keyboard layouts, custom ones or default ones. I tried on Manjaro with Gnome ...
0
votes
0answers
12 views

Unexpected xkb behaviour 3-level return

I've let Return work as a level-5 shift on the 3rd level: key.type = "THREE_LEVEL"; key <LCTL> { [ Control_L, Control_L, ISO_Level5_Shift ] }; key <RTRN> { [ Return, Return, ...
0
votes
0answers
14 views

Making level-3 backspace control

I'm trying to make my backspace work as control on level 3. key.type = "THREE_LEVEL"; key <BKSP> { [ BackSpace, BackSpace, Control_R ] }; But I find that this only works if I add modifier_map ...
0
votes
0answers
4 views

Adding keysyms for xkb

Is there a way to add keysyms to xkb? I understand I could modify /usr/include/X11/keysymdef.h, but could I do it for a non-root user?
0
votes
0answers
84 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 ...
0
votes
1answer
66 views

Remapping Caps Lock to Alt (Meta) in GNOME / X11

I'm looking to replace Caps Lock behaviour with the "Left Alt"/"Meta" modifier, in GNOME / X11. There are a few options to replace Caps Lock with Super, Ctrl, etc. in GNOME Tweak Tool, which seems to ...
0
votes
0answers
21 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 <...
0
votes
0answers
48 views

Remapping Capslock as Control: Capslock + Shift + 2 doesn't work

I have a Dell Precision M5530 and I am running xmonad as the DE, I've set up my system to map CapsLock to CTRL via the following: setxkbmap -option "ctrl:nocaps,altwin:swap_lalt_lwin" ## Set up ...
0
votes
0answers
17 views

New entry in xmodmap creates new group instead of layer

Here is my dotfile: ! Key ! Shift+Key ! Mode_switch+Key ! Mode_switch+Shift+Key ! ISO_Level3_Shift+Key ! ISO_Level3_Shift+Shift+Key keycode 43 = h H BackSpace NoSymbol U20BD NoSymbol Cyrillic_er ...
0
votes
0answers
112 views

Keyboard remap: home → comma, end → dot

I'm trying to change xkb settings in this file: /usr/share/X11/xkb/keycodes/evdev. Specifically, I tried this: // <AB08> = 59; // <AB09> = 60; // <HOME> = 110; // &...
0
votes
1answer
124 views

XKB: Shift or control + numpad = down without shift

I'd like to map my keyboard so that (when the Numlock is On), the numpad key 2 named KP_2 procudes a 2, but when I press Shift or Control I want this same key to produce a Down event, exactly like the ...
0
votes
0answers
32 views

XKB: creating new type fails

I thought I understood XKB, but apparently not... So first I have a question that make me unable to debug XKB: I have in a file (obtain with xkbcomp $DISPLAY output.xkb) a part like that: type "...
0
votes
0answers
14 views

Load partial XKB configuration

I'd like to modify my keyboard so that when I do Ctrl + NUMPAD<2> (well actually Caps lock as I reversed Ctrl and Caps-lock using KDE's configuration) it sends a down key without any modifier. ...
0
votes
0answers
228 views

Remap capslock key to tab with setxkbmap

I was trying to remap the <Capslock>key to the <tab> key, after some research I found out I could do; setxkbmap -option ctrl:nocaps Which maps the <Capslock> key to <Ctrl>. ...
0
votes
0answers
218 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
0answers
53 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
30 views

Making shifted hyper super

I have the Happy Hacking keyboard, which only has one pair of extra modifiers in addition to ctrl and meta. I want to use these for super and hyper, and I don't want one for super and the other for ...
0
votes
0answers
15 views

Triggering actions from modifier combinations only

/usr/share/X11/xkb/rules/base.lst shows various setxkbmap options; for instance it is possible to switch the keyboard layout by pressing both shifts at the same time. How might I get an arbitrary ...
0
votes
1answer
146 views

Can I remap key combos to key sequences in Linux/X?

Using something like xkbmap, is there any way to translate a single complicated "key event" such as Ctrl-Super-F or some Korean unicode char to a sequence of simpler events, say C-x C-x C-a, so that a ...
0
votes
0answers
212 views

How to have multipl 'level 3' modifier using xkb

I'm trying to improve my keyboard layout using xkb and it worked great using the default 4 levels (or should I say 2 levels? I don't really know the terms.. And when I'm at opening a parenthesis, I ...
0
votes
0answers
208 views

How can I assign “control” functionality to the right super (windows) key in /usr/share/X11/xkb/symbols/pc?

I am trying to assign "control" to my Super R key in /usr/share/X11/xkb/symbols/pc. So, I change key <RWIN> { [ Super_R ] } to key <RWIN> { [ Control_R ] } Then I start X and use xev ...
0
votes
0answers
436 views

Why does setxkbmap always include the option capslock(ctrl_modifier)

Short background I'm trying to write my own keyboard layout with the super/mod4/win-key in place of caps lock. But no matter what caps lock is instead bound to ctrl. I'm currently on a 64 bit Ubuntu ...
0
votes
1answer
1k views

Failing to change my keymap for X11 on void linux

I have installed a recent version of void linux on a Fujitsu Lifebook E751. uname -a results in 4.12.11_1 #1 SMP PREEMPT Fri Sep 8 20:17:18 UTC 2017 x86_64 GNU/Linux. Xorg version is 1.19.3, Protocol ...
0
votes
0answers
75 views

Turn off Caps Lock when a modifier key - other than Shift - is pressed

As an user of Emacs, which makes heavy use of modifier key plus letter combinations for commands, I sometimes forget to turn off Caps Lock before issuing a command, leading to unpredictable results. ...
0
votes
0answers
67 views

Getting rid of power button delay

My goal is simple: Use the power button for other functionality. Unfortunately, Acer (Aspire V5 591G) 's power button comes with a delay. Meaning, pressing it is not enough. You have to press it for ~...
0
votes
1answer
166 views

How can I add an include line to an XKB configuration file?

I do which just add a ralt_switch to English(Dvorak-US) keyboard sudo sed -i "249i\ include 'level3(ralt_switch)'" \ /usr/share/X11/xkb/symbols/us sudo dpkg-reconfigure xkb-data Restart ...
0
votes
1answer
720 views

Unable to switch to Dvorak layout

I need to switch my keyboard to Dvorak layout. I've done this a number of times through the GUI and never had problems until now. I'm running Ubuntu 14.04.2 LTS codename trusty, Xfce4 & xfce4-xkb-...