X KeyBoard extension, or XKB, defines the way keyboards codes are handled in X, and provides access to internal translation tables.

learn more… | top users | synonyms

0
votes
0answers
3 views

Configuring XKB fails

I am running LXDE on ubuntu 12.04, and I use two keyboard layouts (german and greek). My problem is that I cannot use the "AltGr" key of the German keyboard (it is the right "Alt"). It somehow ...
3
votes
0answers
64 views
+100

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 ...
1
vote
1answer
17 views

New keyboard layout does not refresh unless renamed

Keyboard layout names are not being released for reuse. I am trying to create a new xkb layout. Here is how I am doing it. Add the new layout to /usr/share/X11/xkb/symbols/in Register the layout ...
2
votes
1answer
30 views

Why does pressing ctrl+space bring up a keyboard layout menu?

I am trying out StumpWM, however when I press Ctrl+Space I get a menu to change keyboard layouts. This conflicts with emacs region selection. What causes this behaiviour and how do I disable it? I ...
0
votes
1answer
129 views

How to swap Command and Control keys with xkb step by step?

I want to use my Apple long aluminium keyboard with swapped Command Cmd and Control Ctrl keys. How is this done step by step on Trusty Tahr (14.04) using xkb?
0
votes
0answers
13 views

problem inputting indian rupee sign via xkb

I'm from India but mostly just using the default "US" keyboard layout. I tried to modify it to input the Indian Rupee Sign U+20B9. I modified /usr/share/X11/xkb/symbols/us as follows: key ...
1
vote
0answers
54 views

Bind ALT + Left/Right arrow to HOME and END keys in XKB

I have tried a few ways to achieve this but none of them seemed to work, autokey inserts both the alt + right and end keys in applications. I am looking for a solution in XKB where I have already done ...
3
votes
1answer
182 views

Using setxkbmap for a simple remap (similar to xmodmap)

I've faced some issues after remapping keyboard with xmodmap: settings get reset randomly after 2-20 minutes after applying. Googled it but no help: something resets them, but all mentions apply to ...
4
votes
1answer
206 views

How to add a new keyboard layout (Custom keyboard layout definition)

I want to copy a keyboard layout in /usr/share/X11/xkb/symbols/ and change it and then produce a new layout from it. How can I add a new keyboard layout (named e.g. "mylayout")? Update #1: Files I ...
0
votes
0answers
37 views

How to assign individual LEDs for different layouts?

Using Xubuntu 14.04 Trusty Tahr. My keyboard config is: XKBMODEL="logiik" XKBLAYOUT="us,ru,ua" XKBVARIANT=",ruu," ...
1
vote
1answer
369 views

Modify keyboard layout Unity in 14.04

How to set the Meta key with xkb? Adding key <AA06> { [ meta, meta ] }; to /usr/share/X11/xkb/symbols/us (in the "basic" section) and then running sudo dpgk-reconfigure ...
3
votes
1answer
74 views

Who reads `/etc/default/keyboard`?

And I do not care about the console here (I care about X11)... I see in /var/log/Xorg.0.log that my X-server picks up xkb_rules evdev from somewhere I can’t find. It also seems to take xkb_model and ...
3
votes
1answer
142 views

Problems using custom keyboard layout / symbols file

I have a custom xkb symbols file which looks as follows: // modify the basic German layout to have polish characters default partial alphanumeric_keys xkb_symbols "basic" { include "de(basic)" ...
1
vote
0answers
141 views

Reliably remapping keys per input device

I have a Mac, and the modifier keys on the keyboard are in order from left to right: Ctrl, Alt, Super (aka. Cmd, ⌘, Windows-key). I'd like the order to be Ctrl, Super, Alt instead, and so I have ...
1
vote
1answer
150 views

Wrong key behavior

I am encountering a very weird error recently, that I cannot figure out to solve...I have surfed for hours and hours without any solution. I explain: I have an Asus S301L , with Ubuntu 12.04 and an ...
0
votes
0answers
78 views

How to remap certain keys on keyboard on ubuntu 13.10 with xkb

Water spilled on my laptop and key "9" is not working. I want to map ALTGr or Ctrl_R to 9 so that I can program with out any hassle. I've seen so many solutions with xmodmap but its kinda outdated I ...
1
vote
1answer
176 views

How to specify keyboard layout vairant in org.gnome.desktop.input-sources

I have a Thinkpad laptop with an external Apple keyboard. I like to remap the keys for the external keyboard so I have adjusted the relevant parts (the section for mac) in xkb/symbols/us and ...
1
vote
1answer
82 views

Custom keyboard layouts: adding a character for which no keysym is defined

A couple of years ago, I followed the custom keyboard layout howto, and have been in dvorak+bilingual+typographic bliss ever since. I’d now like to add the thin non-breaking space (U+202F) as one of ...
1
vote
0answers
100 views

Remapping Menu key to Delete on Xubuntu

I would like to bind my Menu key (the one that brings up the context menu at your cursor location) to my Delete key for convenience. Preferably, I'd like to do this through xkboptions in ...
2
votes
0answers
57 views

How to make Hyper and Super keys not do the same thing?

I have used xkb to remap the right windows key (RWIN) to Hyper_R because I want to use it with AutoKey for some special shortcuts. I did it by editing /usr/share/X11/xkb/symbols/pc modifying the ...
7
votes
2answers
3k views

Why did 13.10 break my custom keyboard layout?

I was using a custom keyboard layout. Basically I modified the us-mac layout to fit my ideal of a math-heavy version of the regular us layout that also throws German umlauts into mix. It went well and ...
3
votes
1answer
317 views

Why aren't my modifications to xkb working?

Short version Currently, AltGr+- produces ¥. I wish for it to produce an en-dash. In /usr/share/X11/xkb/symbols/us, I replaced all occurances of "yen" with "endash" and restarted, but this made no ...
1
vote
1answer
1k views

How can I remap “special” keys in xkb?

I've been trying to migrate my keyboard mapping from xmodmap to xkb, but I'm having some trouble. I can see where to modify the "normal" keys, in /usr/share/X11/xkb/symbol/us for me, but this file ...
2
votes
2answers
562 views

Changes to keyboard layout resetted on restart

I edited /usr/share/X11/xkb/symbols/fr to customize the french-dvorak layout. I then selected french-dvorak layout (instead of french). Now when I restart Ubuntu, I end up with the non-edited ...
1
vote
0answers
225 views

How can I rebind Print Screen to Delete?

I'm running Xubuntu Raring Ringtail. Using xkbcomp, I used the following commands (I can go into more detail as to the context and what command I use, if it's relevant), which successfully remapped my ...
2
votes
0answers
129 views

How to map a character sequence to a key in xkb?

I am making a keyboard layout in xkb for Punjabi language. The default ones are outdated. In windows I could assign a keyboard key to a sequence of Unicode characters. But in xkb I think I cannot. But ...
2
votes
1answer
98 views

What's the correct way to reassign keys with xkb?

I have an Apple keyboard with a Swedish layout and this makes some characters very awkward to type, like right Alt key and 7 to type a left brace. Therefor I would like to reassign the right Command ...
0
votes
1answer
57 views

Mapped keys do not work in some applications

I have an Apple keyboard where the right command key (Super_R) is mapped to the right Alt key (ISO_Level3_Shift) with xmodmap: $ cat ~/.Xmodmap clear mod4 keysym Super_R = ISO_Level3_Shift In some ...
2
votes
1answer
456 views

Are keyboard layout settings handled by two different applications in Xfce?

As seen in my answer here, trying to make certain keyboard settings in Xfce I am faced by two separate options. One is in Menu/Settings/Keyboards (xfce4-keyboard-settings) and displays this window: ...