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

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
1answer
12 views

Setting a shift-like key for changing language layout in KDE

Is there a way to set a shift-like (not tab-like) hot-key for changing language layout in a KDE environment so that the language layout toggles again when the key is pressed and toggles to the ...
2
votes
1answer
32 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 ...
3
votes
1answer
637 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 ...
2
votes
1answer
409 views

Grub2 keyboard layout when decrypting partition

According to the OpenSUSE 12.3 documentation the only keyboard layout which can be used during a Grub2 boot is the "US keyboard layout". Is there really no way to change the keyboard layout used when ...
4
votes
1answer
41 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 ...
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 ...
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 ...
7
votes
1answer
524 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 ...
4
votes
2answers
408 views

How do I run a script when I switch between keyboard layouts

I use more than one keyboard layout, and I would like to find a way to run a script when I switch between them. Is this possible? So far, I can assign a shortcut for a script like this: #!/bin/bash ...
2
votes
1answer
378 views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
1
vote
1answer
1k views

Mint login screen: wrong keyboard layout

After installing Mint 15 / updating to Mint 17, i'm unable to login using the gui login screen and german localisation with a password containing special characters. Changing the language using the ...
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 ...
1
vote
1answer
63 views

Using xcape + xmodmap to change some keys

Using xcape and xmodmap, how does one Make the CAPSLOCK key behave as a SUPER modifier key when pressed in conjunction w/another key. Make the CAPSLOCK key function as the ESCAPE key when pressed ...
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 ...
4
votes
2answers
94 views

Tuning keyboard (dead key) functionality in X

My preferred keyboard configuration is US-International. When I use it on MS-Windows and type certain special characters (i.e., ~ ' ") followed by a, o n I get á ó or ñ as I wish. However when I type ...
1
vote
2answers
393 views

Mapping Super Keys to Control without Xmodmap

I've been attempting to switch my super and control keys in X on a macbook and have been half successful. I'd like to avoid creating a custom .Xmodmap if possible, as there is a temporary 100% cpu bug ...
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 ...
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 ...
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
3answers
2k views

How can I set the keyboard right on X?

Note: forked of this per recommendation here. I made a foolish typo for UTF-8, and expected that when I fixed it, the keyboard on X would work right. Since making this errant change, I was no ...
0
votes
0answers
22 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 ...
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. ...
2
votes
1answer
40 views

How to setup language change only in current window?

In my Xfce in Linux Mint when I press Ctrl+Shift, the keyboard language changes for the whole system, not just for the currently selected window. This is very uncomfortable. How can I set up Xfce, ...
0
votes
0answers
10 views

How can I get the same keyboard (dead key) behavior in X as on the virtual consoles? [duplicate]

The problem is described on the Arch linux wiki, but I will repeat it below: I am getting quite frustrated by the handling of the ^ and ~ dead keys on my Belgian Azerty keyboard (vconsole.conf ...
1
vote
1answer
39 views

How do I type punctuation characters on my localized keyboard?

I have big problem here. I was working with Linux a little bit (had Ubuntu 10 in old laptop only for internet) but I was never creating websites there, so I didn't need this keyboard shortcuts like ...
5
votes
1answer
61 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 ...
1
vote
0answers
44 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 ...
2
votes
3answers
283 views

On an Apple Keyboard under Linux, how do I make the Function keys work without the fn modifier key?

I use an Apple wired keyboard on Linux. By default the function keys (F1, F2, F3, etc) require the fn key to be pressed for them to work. Without the fn key, these keys control the features like ...
2
votes
1answer
54 views

How to make AltGr+i,j,k,l work properly as cursor keys?

(I already asked this question on superuser but got no answer so I'll try here now.) I would like to have the cursor keys and some others available as AltGr+c,h,t,n etc. (i,j,k,l if you have qwerty). ...
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 ...
4
votes
1answer
133 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 ...
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 ...
1
vote
1answer
98 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 ...
7
votes
2answers
3k views

command line retrieve list of all valid kbd layouts, variants and toggle options (to use with setxkbmap)

Is there a way from command line to retrieve the list of all available keyboard layouts and relative variants? I need to list all the valid layout/variants choices to be used then from setxkbmap. ...
0
votes
1answer
19 views

edit keyboard keys result

When we press A key on keyboard, OS write A character as result. How can we change keyboard keys result? For example when we press A, OS write B or Ä or آ.
3
votes
0answers
48 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
1answer
56 views

Keyboard layout change indicator

I have (and often change) 3 keyboard layouts on my Mint 17/Mate. I would like to see a notification on my screen when layout is changed, e.g. "Switched to English/US". I tried to do it via keyboard ...
1
vote
1answer
30 views

Remapping WASD + R_Shift to arrows

I know this has already been asked so many times, but even after searching, I still can't do it. I simply want to map R_Shift + WASD to the arrow keys (Linux). I can map Shift + WASD to arrows using ...
3
votes
3answers
924 views

Xorg: multiple keyboards, one configuration

On my laptop, I tweak some keybindings and keyboard preferences with xmodmap and xset. When I plug an external USB keyboard, the configuration for that new keyboard is the default, i.e., without my ...
1
vote
1answer
140 views

Brazilian Keyboard layout in CentOS 6.5

I'm Brazilian and new with Linux. I have the CentOS 6.5 with Gnome 2.28.2 running in a VirtualBox VM. I'm using it to PHP programming and I'm loving it. But I'm having a hard time to make ...
2
votes
1answer
76 views

Mapping menu key to alt using setxbdmap

On an Asus X551M running Xubuntu 14.04, I would like to set the following keyboard configuration: The pair of modifier keys immediately adjacent to the spacebar are mapped to control. The next ...
2
votes
1answer
230 views

Some keys on keyboard map to numbers instead

I'm running Leenux 5.1 from a USB stick using unetbootin. It works ok, except my keyboard is messed up -- pressing k results in a 2 instead (the 2 key also types a 2). How could this happen?
0
votes
0answers
228 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
1answer
144 views

Changing keyboard layout on Scientific Linux 6.0 and creating new keyboard shortcuts?

I have two questions regarding keyboard input and shortcuts: Is it possible to change the keyboard layout on Scientific Linux 6.0 and how can it be done? Is it possible to define new keyboard ...
2
votes
1answer
46 views

swap symbols with numbers in keyboard layout

I'm looking to modify my keyboard layout such that holding down Shift and pressing a number key will result in a number being printed to the screen instead of the symbol that's on the key. For ...
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 ...
7
votes
2answers
413 views

Custom keyboard layout is reset to default after standby or reboot

I designed a keyboard layout for myself, after I run xmodmap it works OK, but after standby or reboot, the layout turn back to qwerty. How can I set it as default? My OS is Debian Wheezy with XFCE4. ...
1
vote
1answer
137 views

Mapping a key to AltGr with KDE On Ubuntu

Is there a way to Assign AltGr to the right Win key? I'm Using KDE Workspace in Ubuntu 14.04.
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 ...