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

2
votes
0answers
15 views

Font settings not working in Xfce keyboard layout panel plugin in 16.06

There is this bug: font cannot be changed in xfce4-xkb-plugin, the applet that displays keyboard layouts. In fact the font can be changed but is displayed much bigger. Can this be fixed somehow?
0
votes
0answers
17 views

How do you remap .vimrc so Ubuntu SDK's fakevim implementation will escape insert mode on <Right>, <Left>, <Home>… etc

Ubuntu SDK has fakevim. Its behavior varies compared to real vim. For example; inoremap <Up> <C-[><Up> inoremap <Down> <Esc><Down> While in Insert Mode, &...
1
vote
0answers
24 views

Setting up xkb for a single user causes “X Error of failed request”

I'm following this recipe to set up a key rebinding for a single user. I do the following: cp /usr/share/X11/xkb/symbols/pc .xkb/symbols/pc mkdir .xkb/keymap if [ -d $HOME/.xkb/keymap ]; then ...
1
vote
1answer
27 views

/usr/share/X11/xkb/keycodes: which is used?

I'm using: Ubuntu 14.04.3 (64 bit). In my /usr/share/X11/xkb/keycodes directory, there are about 15 different keyboard mappings (e.g. ibm, xfree 86, etc.), along with a README and an "aliases" file. ...
1
vote
0answers
65 views

Request for a guide on setting up Apple Aluminium keyboard on Ubuntu 16.04

Is there a working solution to set up Apple Aluminium keyboard on Ubuntu with F13-F15 remapped to Print Screen, Scroll Lock and Pause? So far, I came up with the following solution: In /etc/...
0
votes
0answers
10 views

How one can create an installer for custom keyboard layout

I've managed to create a custom keyboard layout for my language. Now that the keyboard is in a state that I can share it. I don't know how to make it a redistributable package.
0
votes
0answers
40 views

Keyboard not working

The keyboard has no function - in no program /app After booting the kb is OK, login is working...then nothing Changing to the terminal on alt- ctrl- F1 ...The keyboard is OK Any hint?
0
votes
0answers
21 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 ...
0
votes
1answer
60 views

Configuring keyboard hotkeys with same scancodes and different keysyms

I have a bluetooth keyboard Samsung bkb10. It is keyboard for andoind mainly, so it does not have alt, super(winkey), f1-f12, menu, but has lots of hotkeys(most of them work nice under linux). But ...
1
vote
1answer
133 views

Change keyboard mapping ONLY for Bluetooth Keyboard

I have a Bluetooth "Camera Shutter" dongle. It emulates a Bluetooth keyboard. I've paired successfully, but I want to change how the buttons behave. Currently, they're mapped to 123 (Volume Up) and ...
1
vote
0answers
39 views

Using grp:caps_switch with xkbmap for custom keyboard shortcuts

I want I J K L to function as arrow keys when CapsLock is pressed down. To do this, I pasted the following to the bottom of the /usr/shar/X11/xkb/symbols/pc file: partial partial alphanumeric_keys ...
0
votes
0answers
37 views

Remape left-ctrl to left-alt in ubuntu 15.10

I was searching through askubuntu for this. I found that Xmodmap dont work for Ubuntu 14 or higher version. I tried using gnome-tweak-tool, but its not working. Graphic interface of gnome-tweak-tool ...
0
votes
0answers
70 views

How to permanently reset xkb option?

I am using Ubuntu 14.04. Previously I set XKBOPTIONS="ctrl:swapcaps" in /etc/default/keyboard and run sudo dpkg-reconfigure keyboard-configuration. It worked great but now I get a keyboard that sends ...
1
vote
0answers
89 views

How to map AltGr to Ctrl+Alt

I would like to map the AltGr key on my keyboard to produce Ctrl+Alt. I am aware of xkb and xmodmap. As far as I could tell, however, using those you can only map from key combinations onto single ...
0
votes
0answers
25 views

Custom layout setting on login

I have created a custom layout which I have in ~/.xkb and ~/.xkb_keymap and would like it to be used when I log in. Previously, when not using Unity, I just had xkbcomp -I$HOME/.xkb ~/.xkb_keymap $...
3
votes
0answers
25 views

Need help swapping Alt and Ctrl

Information seems a bit thin/outdated on this topic, specifically when it comes to why the command setxkbmap -option ctrl:swap_lalt_lctl doesn't work (doesn't work in tweak tool either). Many other ...
2
votes
2answers
79 views

How can I use Caps Lock to capitalize semi-colon?

I can't print colon using the Shift+;. So, I thought it was better to use the colon just like we use the Caps Lock for capitalization of letters. In other words: I want Caps Lock to work for all keys ...
0
votes
0answers
112 views

How to reset xkb settings?

I have tried to rearrange combinations of using compose key to achieve adding accents on some letters. I've succeeded in most combinations (except for dead_doublegrave and inverted breve, I couldn't ...
0
votes
1answer
133 views

Controlling mouse scroll with keyboard

Using xkb I've managed to control mouse buttons with the keyboard. I simply added these lines key <BAR> { [ Pointer_Button1 ] }; key <LEFT> { [ Pointer_Button2 ] }; key <RGHT> { [ ...
1
vote
0answers
63 views

XKB Problem, cannot remap, Remapping unsucessful

Hi I'm relatively new to ubuntu, but i don't know much about it. My problem is that my keyboard has stopped working, not all of the keys But in particular the T and Y and the backspace buttons . I ...
1
vote
0answers
281 views

GNOME Tweak Tool's numpad delete key behaviour doesn't work

I use a lot of keyboard layouts, but some of them have comma instead of dot on the numpad delete key. I want to override this behaviour and always use dot, but when I open gnome-tweak-tool, then go to ...
1
vote
0answers
62 views

How to swap Caps with Left Control and change layouts using Caps Lock+Swith (grp:shift_caps_switch)

I already tried a lot of methods for changing this and none of those worked. I used xmodmap and setxkbkey but it both ways there's always problem with setting it. However, using those methods don't ...
0
votes
1answer
64 views

How do I run xkbcom on Ubuntu GNOME startup?

Using xkbcomp -xkb I have generated a keyboard description and stored it in my home directory - ~/.keyboard-map. I can "use" this keyboard description by executing the following command: xkbcomp ~/....
0
votes
0answers
295 views

CAPS LOCK to CONTROL remap is reset after screen lock [duplicate]

I am trying to map my CAPS LOCK to CONTROL. To that end I added the following: setxkbmap -option ctrl:nocaps to the Startup Applications menu. This works fine whenever I start the system, however, ...
0
votes
1answer
35 views

toggle us_intl and another layout

I write on day to day basis in English, German and Spanish which can be wonderfully handled using the us layout with the intl variant (actually altgr-intl). The problem occurs when I wanna write in ...
1
vote
0answers
124 views

xkb configuration to map Alt + h --> Right

I have a Chromebook that's missing a number of vital keys. I'd like to remap those to ones that are present. Unfortunately the Chromebook has a dearth of keys in general so I need to map a ...
2
votes
1answer
179 views

switching keyboad layout disables setxkbmap customizations

I use this command: setxkbmap -option "lv3:caps_switch" to customize my keyboard shortcuts (home, end, left and right arrows). Configuration resides in /usr/share/X11/xkb/symbols/us file. Everything ...
3
votes
1answer
235 views

us keyboard not working in 14.04 after removing *.xkm files from /var/lib/xkb

I wanted to customize my keyboard shortcuts and followed the advice given here: Why did 13.10 break my custom keyboard layout? I modified my /usr/share/X11/xkb/symbols/us file and deleted *.xkm ...
1
vote
1answer
111 views

Why does the keyboard indicator show my custom keyboard on a dark gray background?

I am using Ubuntu 14.10 with the Unity interface, and I have created a custom keyboard layout by manually creating an xkb symbols file. I put the file in /usr/share/X11/xkb/symbols/ and I have also ...
1
vote
1answer
387 views

How can I swap Left Meta for an arbitrary key (preferably using xkb)?

I'm trying to counter my "emacs pinky" by putting some keys in more accesible places. I've already switched Ctrl for Caps Lock, which was a no brainer, putting a setxkbmap command to the Startup ...
0
votes
2answers
203 views

Enabling SIL phonetic Biblical Hebrew keyboard

Looking through /usr/share/X11/xkb/symbols/il under Ubuntu 14.10, there are several Hebrew keyboard layouts defined: “Hebrew”, “Hebrew (lyx)”, “Hebrew (phonetic)”, “Hebrew (Biblical, Tiro)”, and “...
1
vote
1answer
862 views

Change keyboard layout

I'm not the only one with this probmem. Switching to workman layout. I tried on ubuntu 12 and 14 on two different computers with the same error. Following instructions in this question but get ...
3
votes
0answers
197 views

Custom Keyboard Layout to use H J K L as ARROWS not working properly

I set up my keyboard layout in /usr/share/X11/xkb/symbols/ to use the keys H J K L as arrows Left, Down, Up and Right as the third and fourth shift level. mostly I followed this post. The Right Alt is ...
2
votes
0answers
98 views

Reverse Scrolling with xkb

Currently I'm using Xmodmap to reverse scrolling direction: pointer = 1 2 3 5 4 7 6 8 9 10 11 12 What is the equivalent way to do this with xkb? (or is this possible at all?) I'm evaluating KF5 and ...
1
vote
1answer
84 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 ...
2
votes
1answer
723 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
105 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 ...
6
votes
1answer
3k 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? Note: This solution doesn't work for me ...
1
vote
0answers
37 views

Problem inputting Indian rupee sign via XKB layout using Win key as level 3 shift

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 <...
2
votes
0answers
208 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 + → and end keys in applications. I am looking for a solution in XKB where I have already done a ...
6
votes
1answer
2k 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 ...
6
votes
1answer
5k 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 ...
1
vote
1answer
1k 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 xkb-...
4
votes
1answer
295 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 ...
4
votes
2answers
533 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
1answer
754 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 ...
2
votes
1answer
713 views

Wrong key behavior

I am encountering a very weird error recently, that I cannot figure out to solve. I have an Asus S301L with Ubuntu 12.04 and an Italian keyboard; every time I log in, some key on my keyboard does not ...
3
votes
1answer
1k 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 xkb/...
1
vote
1answer
477 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 ...
3
votes
0answers
289 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 ...