National keyboard layouts, relocating control keys, etc., generally at the operating system level. See /keyboard-shortcuts for key mappings in applications.

learn more… | top users | synonyms

7
votes
1answer
533 views

Remapping power key to delete

I have a macbook pro running Ubuntu 13.10 with FluxBox. Unfortunately, the power button is physically above the backspace where I would expect the delete key to be in. In OS X, the PowerKey program ...
5
votes
1answer
67 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 ...
3
votes
1answer
638 views

setxkbmap switches between 2 out of 3 layouts

Issuing that command: setxkbmap -layout "us,ua,ru" -variant ",winkeys" -option "grp:shift_caps_toggle,grp_led:scroll" -model pc105 -rules xorg When hitting Caps Lock+Shift I'm switching between ...
3
votes
1answer
2k views

Keyboard layout changed. How and why?

Yesterday, I upgraded my kernel (to 3.5.0-19-generic), rebooted, and had to reinstall my video drivers to get full resolution. (After upgrading the kernel, the resolution always goes to 640x480, until ...
2
votes
1answer
42 views
+50

Recent change causes Shift+Space to do nothing

For years now on Ubuntu-derivatives (right now on 12.04 derivative), I've been able to type all-caps holding the Shift key while typing, not having to remove it for when I need to hit Space. For the ...
2
votes
1answer
34 views

i3 - How can I change the mod key to AltGr and disable it for “normal” input

I'd like to change the mod key to "AltGr" or "the right Alt key. Furthermore I'd like to disable the new mod key for any other input in Linux. So when I am writing text in my text editor I don't want ...
2
votes
1answer
202 views

Keyboard layout isn't changed in Chromium under Debian

I have a problem with switching layouts in Chromium. If I switch keyboard layout it changes successfully, but I can't still type Cyrillic (or other) symbols in Chromium. I found out that actually ...
4
votes
0answers
103 views

How to remap simultaneous letter keys to modifier?

I have really gotten used to the "Simultaneous Vi Mode" functionality of KeyRemap4MacBook which lets you press and hold the s and d keys simultaneously and then use the h, j, k, and l keys as the ...
3
votes
0answers
49 views

Select characters by holding down a key in Linux (like in OSX)

I've been wondering if there's any add on available that does something like Mac OS X. My mother tongue is Spanish, and now I live in a Francophone environment, I also do English a lot, so I'm in need ...
3
votes
0answers
53 views

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
3
votes
0answers
99 views

Host system keyboard layout changes when starting LXC container

I successfully created an archlinux container on an archlinux host with lxc. However, whenever I start a container via lxc-start -n GUESTNAME the keyboard layout changes to the default ...
3
votes
0answers
83 views

Flipping Control/Command in GNOME breaks Alt key in JVM

I want to switch Control and Command modifier keys in GNOME / Debian Jessie, because I use a Macintosh laptop. I have managed to get these changed via the TweakTool -> Typing panel, like this: Ctrl ...
3
votes
0answers
242 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 ...
3
votes
0answers
64 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
2
votes
0answers
52 views

Behavior of ALT in Qt5 applications

I work in Arch Linux 64bit with both English and Hebrew keyboard layouts available, using Alt+Shift to change between them. I recently noticed that when I work in Texmaker, which is a Qt5 ...
2
votes
0answers
21 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 ...
2
votes
0answers
110 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> { [ ...
2
votes
0answers
209 views

Alt key not recognized - Dell Inspiron n4110/Mint 16 (Petra)

I'm running a fresh install of Mint 16 on an essentially-brand-new Dell Inspiron N4110. I booted to Kali Linux initially, and noticed AltTab, AltF4, and AltD (address bar focus) weren't working in ...
2
votes
0answers
24 views

Zaurus and mapping keyboards

Is there still somebody using a Zaurus? I got a second-hand SL-C3000 with ROM version 1.11 JP and kernel 2.4.20, and I cannot manage to remap keys. There is no xmodmap, just an application ...
2
votes
0answers
109 views

Applications are not using the same keyboard mappings, it seems

I’m using an american keyboard and writing in Portuguese. I updated /etc/sysconfig/keyboard as the following article suggested. It worked but only in the console. Firefox and Sublime Text2 shows '+c ...
2
votes
0answers
93 views

How to set up the login screen to ask for keyboard layout

I just upgraded my distro, now it no longer has a menu to set the keyboard layout in the login screen (gdm). Previously a user could select there icon, then change the keyboard layout (it would also ...
2
votes
0answers
124 views

How do I get gnome to use the same keymap for control as normal?

I'm using a relatively new centos system with Gnome. I have set the keyboard to dvorak, which was really easy and straightforward. However, for some reason, the control keys are still qwerty. I ...
2
votes
0answers
284 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 ...
2
votes
0answers
175 views

Keyboard layout bug in login window after screen lock

I use Fedora 16 now, but this issue already was in Fedora 15 before I upgraded it. When I lock my screen and then want to unlock it, I have a default English layout (I am from Russia and also have ...
1
vote
0answers
8 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
10 views

Remap Keys for ALL layouts

I put xmodmap -e 'keycode 97 = backslash' into a script that is executed at startup. My hardware is a Japanese keyboard, so it lacks some keys and has some extra ones and I am trying remap some of the ...
1
vote
0answers
14 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
30 views

How can I remap a key combination to a different one?

I have a keyboard with a US layout and there is a special key that triggers Ctrl+Z (key codes 37 and 52). The problem is that I'm using it with a QWERTZ layout (selected during installaiton) and ...
1
vote
0answers
31 views

Press Alt+< on a Hungarian keyboard (where < requires AltGr)

I use a Hungarian keyboard layout. To type a less-than sign, I have to press: AltGr+í. By default, the Emacs Meta key is set to Alt, so I think I would have to press all of AltGr, Alt and í at once. ...
1
vote
0answers
45 views

How to switch esc and caps lock using gsettings/gconftool-2 in ubuntu 14.04?

There is an option for this in the preferences dialog, but I am looking for a way to do it in the commandline so that all these configurations can be automated. I want to avoid xmodmap, because most ...
1
vote
0answers
23 views

Wrong keybindings in Dvorak

Using Dvorak as the selected keyboard layout, I find this strange behavior: The copy+paste keybindings in some programs don't work with Ctrl+C and Ctrl+V in the dvorak position, but they work in the ...
1
vote
0answers
55 views

Adding custom setxkbmap options

Use setxkbmap to swap the Left Shift and Left Control describes how to swap some modifier keys with xkbcomp. However, I'd like to just add a custom setxkbmap option instead of using xkbcomp with a ...
1
vote
0answers
34 views

New keyboard messing up mouse

Fedora 20, xfce. I just plugged in a new keyboard, and everything appears to work. There's a backlight-toggling button in the corner. I press it. Now my mouse clicks don't want to register, or my ...
1
vote
0answers
181 views

Modifier keys cannot be mapped to regular keys on USB keyboard with udev

Using an hwdb file, /etc/udev/hwdb.d/99-keyboard.hwdb, I can remap the left Alt key on my USB keyboard as the Ctrl key: keyboard:usb:v*p* KEYBOARD_KEY_700e2=leftctrl This also works when I try to ...
1
vote
0answers
25 views

How to stop XEmacs from teaching me that my keyboard settings are “bad”?

I've changed (using the keyboard layout options in Linux Mint 13) the keyboard layout as follows: The Caps Lock key is reconfigured as Compose key. Pressing both Shift keys at once toggles Caps ...
1
vote
0answers
83 views

xrdp: Super_L not working

My virtual machine runs xrdp and when I connect with rdesktop, the "windows" key (i.e. Super_L) is not assigned properly. Using xev I see that when the windows key is pressed, instead of showing ...
1
vote
0answers
105 views

Compose key works on console/TTY, but not in X session

My compose key does not work in my X session anymore if I change a certain line in my /etc/default/keyboard that (if I am not mistaken) should only affect the keymap of the TTY. I'll try to elaborate ...
1
vote
0answers
68 views

dead key after switching two keys with xmodmap

My keyboard switches the (German) keys [^] and [<], so I want to switch the two keys. I identified the keycodes using xev and created a file ~/.xmodmap containing keycode 94 = asciicircum degree ...
1
vote
0answers
421 views

ElementaryOS / Specific layout

For switching layouts between three different languages I use Ctrl+Shift but this approach very slowly. I want to use specific combination for the specific layout. Like: English -> Ctrl+Shift+1 ...
1
vote
0answers
97 views

Can't use QWERTY layout after make IBus work with Dvorak layout after reboot

To keep my Input Method (Bogo or Unikey) of IBus working with Dvorak keyboard layout after reboot, I use sudo dpkg-reconfigure keyboard-configuration to set keyboard as Dvorak, and go to tab Advance ...
1
vote
0answers
202 views

Keyboard mapping VNC

I recently installed realvnc server on my pc running windows 7, however when connecting from my macbook using the "screen sharing.app" a number of keys are unavailable. For example I need to use the ...
1
vote
0answers
168 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
52 views

Can I trigger an alternate keyboard layout based on switching windows?

I'd like to use different keyboard layouts (that I set with setxkbmap) depending on the application window that has focus. So for example, I'd like to switch when I change the window from terminal ...
1
vote
0answers
29 views

Configuring Xorg lvl5 symbols

I configured Lvl3 via editing /usr/share/X11/xkb/symbols/typo. But I found no documentation, how configure lvl5. I tried to add 2 more entries in this file, like this key <AD05> { [NoSymbol, ...
0
votes
0answers
17 views

Enforcing evdev changes

I am trying to remap the Caps Lock key and the q key, such that pressing Caps Lock returns q, pressing Shift + Caps Lock returns Q, and pressing q returns Caps Lock. I run Linux Mint 17 with an en-us ...
0
votes
0answers
23 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 ...
0
votes
0answers
29 views

Pantheon lost keyboard configurations

I install Pantheon yesterday and now every time startx my keyboard configurations back to us, but the correctly is br+abnt2. So I need to run in terminal (after startx) the command: setxkbmap ...
0
votes
0answers
89 views

Type some text with xdotool independently of the keyboard layout

The command xdotool type "hello" can be used to type the word hello. But only if the keyboard layout is not English, otherwise it will type something else. How can I solve this problem so that ...
0
votes
0answers
230 views

Sinhala Unicode (Wijesekara keyboard) in iBus on Ubuntu 14.04 not working

I tried to install Wijesekara keyboard layout on my Ubuntu 14.04. I used this method to install it, but it threw this error: Package ttf-sinhala-lklug is not available, but is referred to by another ...
0
votes
0answers
393 views

X keyboard layout unable to toggle

I don't understand why alt_shift_toggle is not triggers keyboard layout switch This is what I have localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: us,ru X11 ...