The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
17 views

What is the function of the modifier keys in xmodmap?

When I run xmodmap, I get something like this shift shift_l (0x32), shift_r (0x3e) lock control control_l (0x25), control_l (0x42), control_r (0x69) mod1 alt_l (0x40), ...
0
votes
0answers
18 views

How can I toggle input language in emacs with ctrl+shift in linux?

I am using Control+Shift for switch languages in linux. The problem is that this keybinding is not works well in emacs: When I am on russian keymap, emacs's keybindings are not working. Emacs have ...
0
votes
0answers
39 views

Ubuntu 15.10 resets xkb settings on layout switch

I want to swap my CTRL and ALT. To do that I've done the following: setxkbmap -print | xkbcomp -xkb -o original.xkb - then swapped lctrl and lalt codes and executed xkbcomp swap-ctrl-alt.xkb :0 ...
0
votes
0answers
26 views

How do I apply the “numpad:microsoft” xkb option using KDE plasma?

I've just had KDE Plasma installed, and I want to enable the numpad:microsoft keyboard layout option. But - I don't see something like it in the keyboard configuration dialogs. Where is it? Also, ...
0
votes
1answer
101 views

Swap Left Alt and Right Alt on Kinesis Keyboard (or Any Keyboard)

Let me back up my problem a little bit for context. I am trying to use the same modifier-key-plus-letter combination between both vim and tmux so that, if I have a vim pane/whatever on one side and a ...
0
votes
0answers
11 views

Adding another shift+state to X keyboard layouts

Basically, I want two different shift states in an X keyboard layout, one for right shift and one for left shift. This of course without compromising ISO_level_shift (AltGr) because I also need that ...
2
votes
0answers
143 views

How to map space to control and unmap win from Hyper_L using xkb/setxkbmap

I am trying to make my space act as control by default (and as space when tapped by using xcape) and to make capslock act as the only hyper modifier. I have a working configuration for this in ...
1
vote
0answers
35 views

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

I followed the instruction here by defining my own xkbsymbols partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key <COMP> { [ Caps_Lock ] }; replace key <CAPS> { [ ...
8
votes
2answers
545 views

How to make all applications respect my modified xkb layout?

I don't like jumping between the main keyboard and the movement keys, so I added the following to my xkb layout file. hidden partial xkb_symbols "movement" { key <AD08> { [ NoSymbol, ...
0
votes
1answer
24 views

How to add additional control key?

I am using xkb to add an additional control key as follows: key <HENK> { [ Control_R ] }; However, it does not work. I even tried xmodmap without success: xmodmap -e ...
0
votes
2answers
649 views

QT Application on Debian 7 ignores keyboard

I'm trying to get a teamspeak 3 client to run over a tightvnc -> xrdp session on Debian 7. As far as I know, TS3 uses QT as its GUI toolkit. I can open the application and the window gets shown, but ...
1
vote
0answers
146 views

Multiple XkbOptions in xorg.conf

How should I write multiple XkbOptions in xorg.conf? I've tried "option,option,option", "option, option, option", "option option option" and none of these worked - only the first option was executed.
6
votes
0answers
354 views

xkb set keyboard level 3 chooser to ctrl+alt

The title says it all: I'm interested to mimic the Windows behavior, where Left Ctrl + Left Alt acts as a 3rd level chooser. This is relatively important to me, because, as a programmer, on my ...
2
votes
2answers
471 views

Make Scroll Lock toggle Mouse Keys on home row

This is what I want: I press Scroll Lock on my keyboard. The Scroll Lock LED on my keyboard lights up. The keys around the right-hand home row now controls the mouse pointer (moving it, clicking, ...
2
votes
1answer
366 views

xkb - Remapped modifiers still work as modifiers

I'm using xkb to create my own keyboard layout. I have a slight problem, though. key <AE04> {[ Shift_L ]}; key <AE07> {[ Shift_R ]}; key <LFSH> {[ comma , semicolon , bar ]}; ...
2
votes
2answers
359 views

How to keep per-keyboard layout settings?

I am using xmodmap (and sometimes xkbcomp instead) to adjust my keyboard layout (e.g. mapping Caps Lock to the Mod3 modifier). When I plug a USB keyboard into my laptop or insert a YubiKey (which ...
2
votes
1answer
215 views

Configuring xkb so that left winkey is an additional left alt

I'm never using the windows key but for whatever reason on my laptop keyboard I often hit them by mistake trying to hit ALT. How can I configure xkb so that the left windows key acts as an additional ...
2
votes
2answers
206 views

How can I get more control over the keyboard layout than XKB offers?

I am starting to run up against the limits of XKB, the keyboard subsystem of the X window system. I would like to know if there is a way I can gain more flexibility. Here are examples of the kind of ...
3
votes
1answer
421 views

How to make Control-j works as Return without Control bit set(!) using xkb [and|or] xmodmap

It looks like extremely convenient for me to use Control-j instead of Return in xterm and vim, and I want to use this sequence for all X apps. It can be easily done using xkb by remapping ...
1
vote
1answer
1k views

Fixing keyboard layout on Xubuntu (can't use AltGr)

I'm going crazy with my laptop's keyboard. My layout is latin spanish, and works just fine. However at some time of the morning some magic auto-reconfiguration makes my layout implode and I can't use ...
1
vote
1answer
768 views

Custom keyboard map in Gnome (on ArchLinux)

I've just switched from LXDE to Gnome and I'm struggling with configuring the keyboard the way I want it. The Swedish keyboard layout is painful when programming (e.g. {[]} require right-hand finger ...
3
votes
1answer
629 views

XKB - remap arrow keys and preserve shift behaviour to select text

I realize arrow key remapping is an old problem, however I cannot seem to find a good solution that lets me select text with SHIFT + remapped keys as I would do with the vanilla arrow keys. For ...
3
votes
1answer
790 views

Using a custom keyboard map

I'm trying to not overwrite /usr/share/X11/symbols/us, even thought I've been doing that for years. So I added to ~/xkb/jpic, a copy of dvorak-alt-intl from /usr/share/X11/symbols/us, since that's ...
4
votes
1answer
969 views

How to disable dead keys in xkb (us / intl)

I am using the US International layout on X11 (-xkblayout us -xkbvariant intl). I would like to disable the dead keys, but without switching back to the US default layout. (I need the German Umlaute ...
2
votes
2answers
840 views

How to deploy a custom keyboard layout?

I was using the Bulgarian New Phonetic layout for cyrillic, but I am accustomed to touch-typing on a QWERTZ layout, so all the symbols are in the wrong place. So I decided to make my own layout in ...
2
votes
1answer
880 views

Remapping keys using xkb

My return key is physically dead. I'm running xubuntu. I am able to remap the AltGr to return using xmodmap. However when I reload xmodmap, either via shell or automatically during boot, it will hang ...
4
votes
1answer
1k views

Setting Hyper and Super modifiers for certain keys with setxkbmap or xmodmap

Problem: I want to modify/redefine my keyboard layout (pc105 se) so that when I press certain keys with mod3 (super) and mod4 (hyper), a different character is returned than usual. E.g. Keycode 61 ...
0
votes
1answer
264 views

Swap Ctrl with a character key in xkb

I'm currently trying to remap my H key (<AC06>) to act like the Ctrl key. I added the following in the /usr/.../xkb/symbols/us file: key <AC06> { [ Control_L, Control_L ] }; It seemed ...
0
votes
1answer
867 views

X11: Map Shift-Win to be AltGr?

How can one map the key combination Shift-Win to work as AltGr on Debian-based Linux distributions? XKB is very sparsely documented indeed! Thanks.
2
votes
2answers
2k views

Using AutoHotKey to enter the unicode symbols on Windows 7

I'm bilingual user and while writing I use mostly UK keyboard I have this layout set into my computer. However occasionally I want to write something in my native tongue and the math symbols are ...
2
votes
1answer
239 views

How to define letter in custom layout (xkb)?

I'm using Arch Linux. I'm trying to define, for example, letter 'a' with double grave in xkb custom layout. It's easy to define, for example, 'a' with grave: key <AC01> {[ a, A, agrave, ...
1
vote
0answers
182 views

Keyboard layout based on scancodes?

I would like to make a new keyboard layout in Linux that moves the modifier keys around. The problem is that this needs to be an xkb layout, because I still need to be able to switch to the Qwerty ...
3
votes
2answers
833 views

Modifying keyboard layout in X11: using Alt+shift+2 for @

I'm using a MacBook with Croatian layout. Common PC Croatian layout (on Windows and in Linux) uses combinations with AltGr to get various symbols, such as... AltGr+V for @ AltGr+F for [ AltGr+B for ...
2
votes
1answer
196 views

Swapping numbers and symbols in X11, but keeping alt+n

As a work-environment optimization, I'd like to switch the numbers and symbols at the top of the keyboard, so that when you press them you'd get the symbol by default and the digit when you hold down ...
0
votes
1answer
1k views

How do I use a modified keyboard layout in xubuntu?

I have created a modified xkb symbols keymap that I want to use in my xubuntu installation but I can't see it in the list of layouts in the settings dialog. I put partial alphanumeric_keys ...
1
vote
2answers
681 views

setting up a (not annoying) multi-language input in Linux, X11

currently I use XFCE and its Xkb plugin to switch between three layouts (us, russian and ukrainian; sometimes arabic input is wanted too). on Windows, Punto switcher allows me to use one combination ...
3
votes
1answer
251 views

customized xkb layouts not working (in KDE?) after upgrade from Ubuntu 9.10 to 10.04

I customised my keyboard layout in 9.10 by editing the appropriate /usr/share/X11/xkb/symbols/ file. After upgrading to 10.04 I noticed it had overwritten all my modifications, so I recovered the ...
0
votes
2answers
558 views

Error activating XKB configuration (Ubuntu 9.10)?

I'm absolutely new on Ubuntu. I was gonna learn Ubuntu, so I installed VMware 7.0.1 build-227600 on my Win7 x64, afterward I've installed Ubuntu 9.10 on it as a Virtual Machine. I just enabled root ...
1
vote
1answer
204 views

How do I assign Control_R+Menu to the global kxkb switch action?

I want to use a combination that avoids alphabetic/punctuation characters because that way I have a consistent physical position on different layouts. Control_R+Menu fits that requirement and is also ...
4
votes
1answer
1k views

How to know which modifier keys are which in X11?

I have X11R7-based desktop linux. I want to debug key modifiers of my keyboard. I have some left and right controls, alts, metas, etc., but for some reason (1) I'm not quite sure which is which from ...