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

1
vote
1answer
28 views

How do I enable Shift Lock? (Sticky shift key)

I want to map one of my keys the shift lock key. In my understanding, the shift lock key is a kind of a 'sticky' shift key: it remains pressed, shifting all keys of the layout until pressed again. It ...
0
votes
0answers
8 views

Unable to add a keyboard layout on Cinnamon

I'd like to try the Polish Colemak layout. It's built into xkb: /usr/share/X11/xkb/rules $ grep -ri 'Polish (Colemak)' * base.extras.xml: <description>Polish ...
4
votes
0answers
18 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 ...
2
votes
1answer
17 views

Using remapped Left Control <LCTL> key as shortcut

I have remapped the <LCTL> key to Tab in /usr/share/X11/xkb/symbols/en using key <LCTL> { [ Tab, Tab, Tab, Tab ] }; key <MENU> { [ Alt_R, Alt_R, ...
1
vote
2answers
49 views

Swap shift and caps-lock

I would like to swap the behavior of the two keys Shift and Caps Lock on my keyboard. I have read the options in /usr/share/X11/xkb/rules/base.lst, played around with'em, but none of them seems to be ...
1
vote
0answers
15 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
10 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
17 views

Remapping space + ijkl to arrow keys

I want to set it so that pressing space and releasing will emit a "normal" space, but holding space and pressing one of ijkl will emit an arrow key. Is it possible to do that? Thanks!
0
votes
0answers
27 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 & ...
0
votes
1answer
17 views

keyboard layout switching - non-working hotkeys in cyrillic layout

I've got a small script that runs in background and handles setxkbmap for me. Said script has some logic of switching keyboard layouts, which is essential and is not supported by my DE installation ...
2
votes
0answers
27 views

Problems after mapping Alt_R to Control [closed]

I have mapped by Alt_R to Control. My Control_R is also mapped to Control. Alt_L remains as Alt (Mod1). I used xkbcomp :0 keyboard.xkb to dump the current configuration file. In that file, in the ...
1
vote
1answer
19 views

How to remap keycodes (not symbols)?

Using XKB I can change the symbol for the TAB key: key <TAB> { type= "ONE_LEVEL", symbols[Group1]= [ Overlay1_Enable ] }; However, Google Chrome detects keycode 23 (aka <TAB>) ...
1
vote
0answers
23 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
12 views

DDvorak layout, but QWERTY with Ctrl or Alt modifiers

I comfortably type a keyboard layout named Light Developer's Dvorak, further customized (negligibly) for myself. I don't know how to modify the commands so that pressing Ctrl, Alt, etc. will read the ...
1
vote
0answers
19 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 ...
4
votes
1answer
60 views

How can I make backspace act as escape using setxkbmap

There seems to be several options for setxkbmap like -option caps:backspace which makes caps a backspace, however I cannot seem to find an option that makes backspace an escape key. How do I create a ...
1
vote
0answers
73 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 ...
1
vote
0answers
26 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 ...
4
votes
1answer
169 views

xkb: make ctrl+backspace behave as delete

How can I map ctrl+backspace to behave as delete key with xkb? I can remap a single key on /usr/share/X11/xkb/symbols/pc but can't figure out how to do the combination. My OS is Ubuntu 15.04
2
votes
2answers
67 views

How do I bind AltGr+key to a symbol?

I want to bind AltGr+W to æ, and some other combinations, how can I do this? I also need AltGr+Shift+W to Æ. I normally use setxkbmap to change the keymap.
1
vote
0answers
43 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
21 views

xmodmap clear modifier not working

Trying to understand XKB and how to customize keyboard mappings, specially for modifiers. A little experiment on disabling modifiers, leads to an unexpected result: (1) Modifier maps before $ ...
1
vote
0answers
19 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 ...
2
votes
1answer
23 views

Create xkb configuration from xmodmap

I have a custom xmodmap file I use, including useful multi-language diacriticals, english quotes, dashes &c. I want to use this map with kmscon, so I need to create a xkb configuration from it. Is ...
1
vote
1answer
23 views

Multilanguage keyboard mapping files

I would like to make a web page where the user chooses a language, and depending on the language, show a keyboard with all characters corresponding to that keyboard. I've been told that Unix has ...
1
vote
1answer
69 views

setxkbmap: Multiple layouts with different variants

Using setxkbmap from a user's .xinitrc, I'd like to configure: German keyboard layout (de) without dead keys (variant nodeadkeys). French keyboard layout (fr) with dead keys (variant basic). So ...
3
votes
1answer
86 views

How does one use the setxkbmap -geometry option?

I have a Sun Type7 keyboard on my Debian Linux (/etc/debian_version == 7.8) box, and, since it appears to be much like the Sun type6 I attempted: $ (setxkbmap -model sun6 -layout us -geometry ...
2
votes
1answer
97 views

How to set up XKB to work with 3 modifier keys and 2 switchable layouts?

Consider the following XKB layout: xkb_keymap { xkb_keycodes { <ESC> = 9; <FK01> = 67; <FK02> = 68; <FK03> = 69; <FK04> = 70; <FK05> = 71; ...
0
votes
0answers
33 views

Tweaking keymap for Macbook

I've recently installed Debian jessie with a GNOME 3 desktop on my Macbook Pro. There are a couple of things I don't like about Apple's keyboard layout (British). The first is that I'm a programmer, ...
1
vote
1answer
81 views

How Are Keys or Keycodes Mapped to X Key Symbols?

I am trying to map a function key combination to an XF86 key symbol. The key combination is Fn+F1, which I was able to use showkey to get the raw keycode for. jason@io ~ $ showkey kb mode was RAW [ ...
0
votes
0answers
32 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 ...
2
votes
0answers
33 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
11 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 ...
2
votes
2answers
111 views

Override a few keycodes with XKB

I want to shuffle a few keys around with XKB. (Why? On a laptop where some keys are inconveniently located.) I currently use xmodmap: keycode 110 = Prior keycode 115 = Delete keycode 112 = Next ...
2
votes
0answers
59 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. ...
2
votes
0answers
114 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
27 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 ...
1
vote
1answer
93 views

Force English layout for the «Compose» key pressed

I like using Compose key. The problem is that large part of my text being typed in non-english layout. This means that some symbols messed up, and most isn't even present (i.e. latin characters). ...
1
vote
0answers
43 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
43 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 ...
3
votes
1answer
253 views

Can no longer switch keyboard layouts in xfce

This appears to be a surprisingly complex problem, and worse, I'm not sure if it was a configuration change that I made or if it was an update to ubuntu that caused the problem. I'm running Ubuntu ...
1
vote
0answers
51 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
1answer
97 views

Which application receives which hotkey? (List X clients which hold key grabs.) [duplicate]

How can I list the X clients which registered for a specific keyboard event (i.e. a key press; a shortcut thing). Those things are called passive key(board) grabs. And the list should contain what ...
4
votes
1answer
287 views

How to use the '-config' option of `setxkbmap`?

I have a keymap file with this content: xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete+numpad(shift3)" }; xkb_compat { include ...
2
votes
1answer
36 views

How to troubleshoot layout switching when it “locks” on specific layout?

Recently I installed ChakraOS based on Arch with KDE and I cannot switch layout. Neither graphically, nor from cli. The strange thing is that I can switch to spanish with various other distributions ...
1
vote
0answers
82 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 ...
2
votes
1answer
61 views

xkb: Use a key to change shift level without appearing as a modifier

I'd like to configure XKB to use Caps Lock as a way of producing different keys, but I don't want it to appear as a modifier. For example: F1 produces F21 keypress Caps Lock + F1 produces F1 ...
1
vote
1answer
384 views

xkb: Assign a new shift level to function keys

I'm trying to get some more use out of my function keys. I would like the physical F1 to F12 keys to appear as F21 to F32, so I can assign functions to F21 etc. in my window manager (e.g. switch to ...
6
votes
2answers
532 views

how to bind AltGr to <Ctrl> + <Alt>

I am trying to create a linux equivalent of Ergonomic Telugu Keyboard layout called Sarala (Hard la). I have been able to map all the keys so far. The layout uses the following key combinations for ...
4
votes
2answers
292 views

Programmatic way to install xkb keyboard layout

I have a new keyboard layout that is working so far. I want to ship this to users who most probably will have minimal knowledge of Linux. Trouble is to install this layout I have to do a lot of copy ...