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

2
votes
1answer
154 views

Colon/Semicolon remapping with xmodmap with two active setxkbmap layouts

Gentlemen, I'm a non-native english speaker and need a second language layout. And I'm a heavy Vim user, and use : much more often than ;. At the moment they are remapped in .vimrc, buth that causes ...
1
vote
1answer
185 views

How to change key mapping for HOME and END keys in XTERM?

I am working on RHEL 6.4. In my old system running on RHEL 5.3, the Home is mapped to ^[[1~ and End is mapped to ^[[4~. In the new system, Home is mapped to ^[[H and End is mapped to ^[[F, which is ...
3
votes
1answer
473 views

Loadkeys gives permission denied for normal user

I am trying to perform loadkeys operation. For normal user, I am getting permission denied error. the error is as follows. <tim@testps>~% loadkeys mykeys Loading /usr/tim/mykeys Keymap 0: ...
3
votes
1answer
80 views

m key not registering in Bourne-Again shell 3.2, OSX. Guesses?

Just lowercase m, and just when invoked interactively through /bin/sh. The keyboard works fine, and usually everything works fine. I almost never use /bin/sh, just /bin/bash, so it was somewhat ...
3
votes
2answers
138 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
1
vote
0answers
51 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
2answers
43 views

the n key does't work anymore but N does

I've been playig around xmodmap to create a custom keyboard (see Get the keycode of a key, from a custom made keyboard) But now, I can't use the n key anymore, but the Shift+n still work. I think I ...
2
votes
2answers
600 views

Key mappings in Linux

What do people mean when they point out that the "keys are not properly mapped" in a Linux installation when working on the command line? Isn't the default installation OK? What extra/specific ...
1
vote
1answer
595 views

How can I change the keyboard layout before I log in?

In order to switch to a new keyboard layout I have added an setxkbmap command to my Openbox's autostart.sh. However, this only takes effect once I log in (when Openbox starts). While logging in, in ...
11
votes
1answer
425 views

Get the keycode of a key, from a custom made keyboard

I'm trying to transform a Minitel to a computer with a Raspberry Pi. This is a minitel: So I soldered the matrix of the minitel keyboard to a usb keyboard pcb, like this: Everything is working ...
0
votes
1answer
461 views

Weird problem. My left arrow key is not working and sometimes muting sound

My left arrow key is not working as intended. In KDE, it mutes the sound. In Awesome Window manager, it does nothing. Here's my 00-keyboard.conf file : I have tired to comment out XkbModel, ...
4
votes
1answer
437 views

Trying to set keyboard layout using Xorg configuration but it's not working

I'm trying to set my HP Pavilion g6 keyboard layout to English(us) and Arabic(ara). I'm using Fedora 18, but followed Arch Wiki anyways. Here's my 90-keyboard-layout.conf file : Section ...
2
votes
1answer
522 views

Mapping AltGr to left control

I mapped my AltGr key to Ctrl with the following command: setxkbmap -option ctrl:ralt_rctrl However, when displaying the bindings with xmodmap -pke I can see that the keycode is associated to ...
4
votes
3answers
5k views

How do I change currently selected keyboard layout from command line?

I have my keyboard layouts (two of them) and switching between them configured via the following command: setxkbmap -layout us,ru -option -option "grp:lctrl_lshift_toggle,ctrl:nocaps" Now I want to ...
1
vote
1answer
628 views

How can I replace my keyboard and mouse udev rules with xorg.conf.d?

Since it is impossible to make udev rules that affect Xorg settings run on startup, I'd like to replace these with other alternatives. At the moment, I have two primary udev scripts that I've written. ...
1
vote
2answers
6k views

How to set default console keyboard layout in Arch Linux?

Whenever I reboot my computer I have to set the keyboard layout in a console again with loadkeys. Is there a way to change the default keyboard layout that is loaded everytime the computer boots?
0
votes
2answers
79 views

Why is my Yellow Dog keyboard layout wrong? [closed]

I just installed Yellow Dog on my PowerBook G4, and it worked, and noticed my mac keyboard. Then, suddenly, the layout went wrong. Most keys don't do anything, and I have letters instead of arrow ...
2
votes
1answer
368 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 ...
1
vote
1answer
64 views

Are the keyboard layouts in X.org actually called the X.org layouts or what?

Just need to know it, semantically. So most Linux/BSD systems using the X windows manager are using these layouts. For example, the "US International with dead keys" is quite different in X from the ...
0
votes
1answer
65 views

How do I get a list of all the available keyboard layouts in X.org?

I know these layouts have two-letter codes like 'us'for the US layout. I need a list of all the layouts available and also to pair the two-letter codes to the proper names of the layout to get the not ...
1
vote
1answer
229 views

Remap altgr key to AC10 in XKB

I'd like to remap the altgr key to AC10 key. So far, I edited /usr/share/X11/xkb/symbols/us as follows: // key <AC10> { [ semicolon, colon ] }; key <AC10> { [ Alt_R ]} After $ ...
1
vote
1answer
109 views

Visually displaying keyboard layouts of X.org? / Also: where do X.org keyboard layouts came from? [closed]

I'd like to visually see how some of the keyboard layouts in X.org look like, as an example in Windows I can see them with a program called Microsoft Keyboard Layout Creator or even on Wikipedia. ...
4
votes
2answers
181 views

Changing one character in keyboard layout

I edited the file /usr/share/X11/xkb/symbols/us and added a definition with my new layout as follows partial alphanumeric_keys modifier_keys xkb_symbols "us_pl" { include "us(basic)" ...
9
votes
1answer
3k views

Use setxkbmap to swap the Left Shift and Left Control

Is it possible to swap the Left Shift and the Left CTRL keys using setxkbmap instead of xmodmap? EDIT I have switched to Fcitx, which works way much better with my keyboard layout and customized ...
4
votes
1answer
320 views

Map Super+[Left|Right] to Home/End

How do I map key "Super" so, when combined with Left/Right, it produces keycode Home/End? My current setxkbmap: setxkbmap \ -model pc105 \ -layout 'us(dvorak-intl),us(alt-intl)' \ -option \ ...
1
vote
1answer
837 views

debian/XFCE Virtualbox Guest on a Mac: how to use home and end keys?

So I have a Mac, and rather than boot debian/XFCE directly and have to configure hardware drivers I'm using VirtualBox. This means that my multitouch trackpad works well, and I can jump in and out of ...
1
vote
2answers
202 views

German umlaut on Danish keyboard

I use standard Danish QWERTY keyboard (on Debian, if the distro matters). Is it at all possible to write German umlauts such as Ä, Ö, Ü by some key combos (that is without changing the layout to ...
3
votes
1answer
609 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
265 views

bind backslash to a non-standard keyboard key

I am using a swiss apple keyboard at the moment. This keyboard requires some unreasonable finger acrobatics to type a backslash (shift+right alt+7). I'd like to bind the backslash to another key ...
4
votes
1answer
687 views

How do I enforce system-wide custom keyboard shortcuts / macros?

I would like to be able to apply the same custom key bindings and shortcuts I use on my text editors to my entire desktop environment. I want to basically remap my keyboard system-wide, not just in ...
3
votes
3answers
659 views

How to make Compose work in GTK and Qt apps?

I used Gnome for a long time, but preferred vanilla X input method (xim) over the default GTK behaviour. I just set GTK_IM_MODULE and QT_IM_MODULE enviroment variables to xim, and didn't have any ...
1
vote
2answers
350 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 ...
7
votes
2answers
369 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
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, ...
3
votes
1answer
1k 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 ...
4
votes
1answer
841 views

Create and set custom keyboard layout

I want to create and set a custom keyboard layout with setxkbmap. I created a file in ~/.xkb/prog with this content: partial default alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" ...
2
votes
0answers
117 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
2answers
425 views

Switch keyboard layout programmaticaly

I use three different layouts and looking code to change layout programmaticaly from .bashrc function.
2
votes
1answer
359 views

zsh broke compose key and special chars

I thought I'd switch to zsh, so I did just that with chsh -s /usr/bin/zsh user, unfortunately, it broke my compose key (unresponsive both in the console and in an X terminal); also, when I read email ...
1
vote
1answer
285 views

fluxbox keyboard switch german, greek (modern) and polytonic greek

Where can i find a list of keyboard-layout codes to switch between german, greek (modern) and polytonic greek in fluxbox menu? vim ~/.fluxbox/menu [begin] (fluxbox) [include] ...
4
votes
1answer
300 views

How can I set left alt + right shift keyboard layout switch in xubuntu?

From what I found from xkeyboard-config man page there is no such combination, which is very upset. Is there any workaround for that? Because I want layout change to be as in winXP.
3
votes
1answer
829 views

How can I install a new keyboard layout in KDE 4?

I have a custom X11 keyboard layout that I can use with setxkbmap. But after some searching I've found that apparently just having the XKB layout file isn't enough to set it as a new keyboard layout ...
1
vote
2answers
3k views

Where to put `setxkbmap` command in Xfce?

What is the proper place for setxkbmap command in Xfce? What is the proper place for it in general - other DEs and bare WMs? I have the following command: setxkbmap -layout "us(colemak), ...
6
votes
1answer
2k views

Using setkeycodes to map pressed and released to different “keys”

I have a keyboard that has a scroll wheel, but it doesn't work on Ubuntu and xev command doesn't show anything when moving it. But with the dmesg command I found this: When moving the scroll wheel ...
7
votes
3answers
1k views

Script to toggle setxkbmap

I would like a bash script that toggles between: setxkbmap se and setxkbmap us. Then my intentions are to map that script to CtrlEsc through the Keyboard > custom shortcuts. The point is that I ...
9
votes
2answers
4k views

How to define a Compose Key in terminal (no desktop environment)?

I would like to define a compose key on my system (Debian Sid "Wheezy"). I have no Xorg (and don't want any desktop environment). Only in terminal. I would like to set it up on my Alt-Gr key (right ...
5
votes
1answer
519 views

Cannot switch to console anymore after using Alt_R as mod4

I'd like to use the right ALT key as 'mod4' (most notably because, by default, the 'awesome' window manager is using mod4 as a modifier for most WM commands and I like that idea a lot). However I've ...
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. ...
4
votes
1answer
528 views

F4-key mysteriously reassigned

In the middle of today, my F4 key started producing the letter p, without my conscious acting and I can't seem to revert this change. Whenever I press F4, p appears instead. How can I change this ...
7
votes
2answers
582 views

How to map a console keyboard layout to a X keyboard layout in Linux

In my distribution (Slackware 13.37), the console keyboard layout is chosen among some of those available in /usr/share/kbd/keymaps ' sub directories, coming from the kbd package. Under X instead ...