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

learn more… | top users | synonyms

7
votes
1answer
69 views

XKB multi-layout layout specific Capslock behaviour oddity

I have two custom keyboard layouts, one a modified version of the us (which I have called vi,) one a modified version of the dk (which I have called da.) Both are registered properly, and work. After ...
21
votes
0answers
889 views

Remapping keys that generate multiple scan codes

I have a ThinkPad W540. On its keyboard there are four multimedia keys above the numpad. Two of those keys generate keycodes (and, apparently, scancodes) that correspond to combination of keys, Win_L +...
4
votes
0answers
51 views

Multiple modifier layers with XKB (on a japanese keyboard)

I have the following keyboard (HHKB JP). I'm using Lubuntu 14.04, and I've edited /usr/share/X11/xkb/symbols/us to implement a custom layout. Now, I want to use the following keys as 5th, 6th, 7th,...
3
votes
0answers
39 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+...
3
votes
0answers
35 views

DDvorak layout, but QWERTY with Ctrl or Alt modifiers

I comfortably type using a keyboard layout named Light Developer's Dvorak, which I have further customized (negligibly) for myself. I don't know how to modify the commands so that pressing Ctrl, Alt, ...
3
votes
0answers
48 views

3rd level with space XKB

I have gone through plenty of documents and spent a lot of time trying to configure it, but so far unsuccessfully. I have keyboard with the 3rd level keys (probably ISO_LEVEL3_shift ?) So when I press ...
3
votes
0answers
357 views

Remapping Left Control <LCTL> in xkb changes behavior of Alt + Left Shift

For some reason pressing any alt key (including <MENU>) together with <LFSH> toggles "Switch windows of an application". This can be turned off by commenting out key <LCTL> { [ ...
3
votes
0answers
84 views

Make Compose not compose after certain key presses

On my laptop, I use the Win as a modifier. With the Fn key pressed, the key sends a different keysym and I use that as a Compose key. keycode 133 = Hyper_L keycode 134 = Multi_key add mod4 = Hyper_L ...
2
votes
0answers
16 views

How can I stop using setxkbmap groups from snagging modifier keys?

I have several different keyboard maps that I can switch between to my heart's content using: setxkbmap dvp Then when I want another one: setxkbmap ptf Etc. This works, but I'd rather use the ...
2
votes
0answers
35 views

Map ctrl+key different from typing key in xkb or xmodmap

Is it possible to map ctrl+key different from regular typing key in linux? I have done it in windows with MSKLC but can't figure out how to do it in linux. E.g. I want to type dvorak but have regular ...
2
votes
0answers
42 views

GTK_IM_MODULE=xim breaks dead keys in GTK and QT applications

I'm using XIM to have the compose key take into account my ~/.XCompose file (it's the only input method that takes it into account, all the others I tried use hard-coded tables). However, it is ...
2
votes
0answers
15 views

alt-shift toggles keymap when part of a shortcut

I have two xkb layouts, and use Alt+Shift to toggle between them: setxkbmap "fr,us" -option grp:alt_shift_toggle However, when I press a shorcut which contains Alt+Shift, the shortcut isn't taken ...
2
votes
0answers
178 views

Will booting ubuntu in recovery mode use default keyboard layout?

I have a chromebook with Ubuntu 15.04 and I need to customize some of my keyboard keys in xkb. Unfortunately while doing so I managed to disable my keyboard and needed to boot from live USB to revert ...
2
votes
0answers
96 views

Why won't my custom layout work?

I'm trying to create a custom layout that I can use for various symbols. For now, I just copied the contents of gr(bare). However, the layout does not appear to work. When I press Caps Lock, the ...
2
votes
0answers
131 views

How to map Alt+H to the Arrow-left key?

I would like to have my HJKL keys to function as arrow keys whenever the Alt key is pressed down. Also other combinations should work, such as Ctrl+Left should be seen when Alt+Ctrl+H is pressed. I'...
2
votes
0answers
191 views

How can the xkb layout settings be simplified?

The question is, if there is a way to simplify the structure of the xkb configuration related to keyboard layouts? As explained in further detail below there are 5 independent places in which a ...
2
votes
0answers
69 views

Unmaping BKSP and RTSH in Xorg

I am trying to improve my typing habits, I have Backspace located elsewhere on my keyboard layout, but I would like to unmap the standard backspace key while I learn to use the one on my keyboard. In ...
2
votes
0answers
403 views

Remapping shifted function keys in XKB

I'm working on a keyboard layout for the Khmer language and I'm quickly running out of space. My aim is to create a keymap that includes all the characters in the Khmer script as well was their ...
2
votes
0answers
102 views

xkb config has pointless entry?

I dumped the current xkb configuration with xkbcomp :0 keyboard.xkb and found that, for example, ISO_Level3_Shift has two 'interpret' entries: interpret ISO_Level3_Shift+AnyOf(all) { ...
2
votes
0answers
166 views

xkbcomp doesn't update keymap for running xterms?

When I use setxkbmap all programs use the new layout but when I change the keyboard layout with xkbcomp to my own only newly started programs are affected (using xkbcomp with a file with a default ...
2
votes
0answers
395 views

xkb: `ctrl:swapcaps` option messes with the escape key

I've been using setxkbmap -option "ctrl:swapcaps" to swap the capslock and left control keys, but I just recently noticed that this seems to mess up my escape key. With xev, I can see that pressing ...
1
vote
0answers
18 views

xbindkeys/xkb map ctrl shortcut

I have installed colemakwide(xkb) and would like to keep shortcut like ctrl+s etc. The goal is that all ctrl shortcut behave like QWERTY which I did in windows/klc by have the original vk for the keys....
1
vote
0answers
15 views

some xkb option fails under Gnome

I'd like to ask a question about xkb settings. Consider the following scenario. I want two keyboard layouts and a way to easily switch between them. Let's consider US and US(dvorak). To switch I ...
1
vote
0answers
58 views

setxkbmap -option lv3:ralt_switch_multikey doesn't work with many layouts

My current xkb setup is as follows: $ setxkbmap -query rules: evdev model: pc104 layout: us,cz(qwerty) options: lv3:ralt_switch_multikey,grp:lalt_lshift_toggle When in the us ...
1
vote
0answers
15 views

Using overlay feature much like a shift

Using XKB, how could I make the keyboard send the keysym <RTRN> when I press Ctrl-J? The goal is to make sure that every program recognizes this key combination. I know there are overlays. But ...
1
vote
0answers
154 views

Adding a custom keyboard layout (and setting it as the default)

I'm on Arch Linux with i3, and I'm trying to create a personalized layout with IPA (International Phonetic Alphabet) symbols for use in linguistic research. I'm also using iBus for Chinese language ...
1
vote
0answers
64 views

How do I emulate a virtual keyboard with an arbitrary character set?

I am writing a couple applications that change how your keyboard works. (One that allows key-chording, and another that allows you to say syllables out loud to type individual characters.) The "...
1
vote
0answers
41 views

How do I get a list of keys currently loaded with XKB?

I am writing an evdev-reliant daemon that needs to know the complete keyboard layout currently in use. Getting the properties of the current XKB layout is easy. You just use setxkbmap -query or ...
1
vote
0answers
72 views

What is wrong with these XKB rules files?

I am playing with xkeyboard-config. Currently, I'm trying to understand the rules files. I've used xkbcomp to get the current keymap from the X server and write it to a file. This keymap is the ...
1
vote
0answers
43 views

XKB - Clearing locked modifiers

I've been having some trouble creating a custom keymap with XKB configuration. I would like to have a Shift key that locks when called with a specific modifier and can be pressed again to toggle the ...
1
vote
0answers
59 views

Remap key to two modifers or use meta shortcuts in terminal (terminator)

Background: Running Arch Linux on KDE. KDE shortcuts have a problem with being saved past reboot so i'm using xmodmap and xbindkeys. So I am using xmodmap. Right now caps lock is mapped to meta (...
1
vote
0answers
81 views

How can I make CapsLock Shift and Shift Ctrl in GNOME?

GNOME's Tweak Tool tweak tool is an awesome GUI that comes with the desktop environment. In the tool, I can easily change the position of Ctrl and I can change the behavior of CapsLock. ...
1
vote
0answers
56 views

Disable Caps Lock when a modifier key is pressed, with XKB

I would like all modifier keys -- except Shift -- to disable Caps Lock. Since, I would like to swap some modifiers as well, I am trying to achieve both goals at the same time (I wouldn't know how to ...
1
vote
0answers
68 views

Gnome-shell keybinding for “Internal Microphone” on XF86Send

I use a custom keyboard with a “REPL” key (shifted: “Settings”) that I have bound to XF86Send (shifted: XF86Tools). On Fedora 21, that key (XF86Send) somehow works to toggle the “mute” on this laptop'...
1
vote
0answers
128 views

xkbmap remap PrtScr and Insert Keys to Home and Escape

I've been fumbling with xkbmap for a while, and I can't figure out how to remap the Print Screen button to Home. It's as if the us keymap just doesn't mention the PRSC key code at all. I can't use ...
1
vote
0answers
28 views

kmscon and deadkeys

How can I configure kmscon to use dead keys? I already have xkb-layout=br in /etc/kmscon/kmscon.conf, but the dead keys don’t work. (' + e gives me e instead of é). The layout seems to have been ...
1
vote
0answers
77 views

Remapping two (simultaneous) keypresses to a single keycode

Is it possible to use X keyboard functionality to remap two keypresses to different keycode? I am asking because couple of keys (such as Q and P) on my laptop don't work anymore, thus I have to use ...
1
vote
0answers
109 views

Where are xkb options defined?

I'm not too experienced with Linux on personal computers, but I've recently installed Debian Jessie on my laptop (using GNOME 3). It's a Macbook, so there's a command key on the keyboard. Initially, I ...
1
vote
0answers
51 views

When I use left window key + e in konsole it prins 'se'

I was trying to change my keyboard layout and when I tried it in the konsole, I saw that konsole interprets it rather oddly. Win + E executes some hostnames and prints "se" on the prompt. With other ...
1
vote
0answers
96 views

XKB: Can I have an eight-level key and have Ctrl participate in selecting it’s levels?

Is there an XKB way to generate a key event, form a normal key combo which includes Ctrl without having the ctrl modifier bit set? Or the same question asked in another way: Can I have an eight-level ...
1
vote
0answers
139 views

replace menu key with capslock and capslock with left control using xkb

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control) partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key <...
1
vote
0answers
179 views

How to start a command upon login in GNOME?

I would like to run xkbcomp upon a user login in order to modify its keyboard. The command works fine from a terminal after login. The system is an unmodified Fedora 20 Desktop Edition. I tried to ...
1
vote
0answers
439 views

Configuring Caps Lock as modifier and layout switcher

I want to set the caps lock key working as a modifier (modkey) and layout switcher at the same time. I want Caps Lock to act as a modkey in awesome in different hotkey combinations, for example, ...
1
vote
0answers
219 views

Change behaviour of the modifier keys system-wide

I’d want to make modifier keys (control, alt, shift, meta, super, lv3_switch) to act like usual keys, I mean, without holding one of them to perform associated key combination. Say C-x M-1 can by ...
0
votes
0answers
86 views

How to swap left Alt and left Control in Ubuntu 15.10

I'm trying to swap left alt for left control so that I can use the same keyboard commands at home on Ubuntu that I use at work on OS X. I found a great post on this site about how to switch left SHIFT ...
0
votes
0answers
30 views

Alternative to `xkbcomp`?

In Getting and setting XKB layout, section Using keymap (xkbcomp) is marked as deprecated. What is the alternative then? (example method in section Using rules is not sufficient).
0
votes
0answers
13 views

My tarmak setup through xkb didn't work properly

I was using the dreymar big bag of keyboard tricks http://forum.colemak.com/viewtopic.php?id=1438 to setup my keyboard to learn colemak using tarmak. Now after installing that, I ran : setxkbmap us -...
0
votes
0answers
26 views

How to get a HE/EN keyboard layout which is just like in Windows?

I want my keyboard in Linux to behave like it does on Windows - with respect to English and Hebrew. This is actually a tricky request, since just having en,il as the pair of layouts does not suffice. ...
0
votes
0answers
29 views

How can I configure /etc/kmscon/kmscon.conf to use multiple layouts

I want to configure kmscon to use two layouts. Now my /etc/kmscon/kmscon.conf looks like this: xkb-layout=us,ru xkb-options=grp:alt_shift_toggle font-name=Liberation Mono font-size=12 but it's not ...
0
votes
0answers
188 views

Unable to switch to Dvorak layout

I need help switching 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 & ...