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

4
votes
2answers
167 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
2k 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
274 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
734 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
177 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 ...
2
votes
1answer
522 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
239 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
575 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
572 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
1answer
261 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 ...
6
votes
2answers
279 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
28 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
768 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
107 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
372 views

Switch keyboard layout programmaticaly

I use three different layouts and looking code to change layout programmaticaly from .bashrc function.
2
votes
1answer
316 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
256 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
274 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
709 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
1k 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 ...
8
votes
2answers
3k 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
474 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 ...
5
votes
1answer
2k 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
493 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
550 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 ...
2
votes
1answer
553 views

Assigning mouse keys to keyboard

Is it possible to assign mouse keys (left click 1, middle click 2, right click 3, etc) to keyboard keys by modifying a file in /etc/X11/xorg.conf.d? If so, how can I do that?
3
votes
1answer
479 views

How do I remap my caps lock key to ctrl+x within x.org?

I've seen some setxkbmap stuff when talking about key mappings, but ctrl-c isn't a single key. Ideally, I would love to make it a copy/paste key but that seems impossible on Linux. Is there a way ...
15
votes
1answer
756 views

Switch between numbers and symbols on caps lock

Is it possible to set caps lock to switch between inserting numbers and the symbols they normally trigger when one holds shift? e.g. when you normally press the 9 key, you get a ( unless caps lock is ...
2
votes
0answers
247 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 ...
4
votes
2answers
2k views

Awesome: keyboard layout switch

I use awesome as a window manager under gnome (debian system) and I made a widget to switch keyboard layout by this code: -- Keyboard map indicator and changer kbdcfg = {} kbdcfg.cmd = ...
1
vote
1answer
197 views

AltGr key combinations through Qtnx

I started using Qtnx, and it works great. I have a problem accessing some keyboard characters though. I am using a french keyboard (azerty-like), and every character is mapped correctly with qtnx, ...
1
vote
1answer
2k views

How to set up FreeBSD for my region?

im currently installing FreeBSD. Im at the "Time Zone Selector" screen. I don't know what should i choose. Normally, since i live in Quebec (Canada), i choose Eastern time GMT -5, but there is no such ...
2
votes
1answer
354 views

xmodmap equivalent in bash

I'm constantly on bash via ssh, on a computer that doesn't have X. In my computer I've switched the keyboards' Super and Alt keys with xmodmap. Is it possible to do it on the computer in which I log ...
2
votes
1answer
318 views

How can I use GNOME's keyboard settings in Fluxbox?

My GNOME keyboard settings do two main things: Switch CMD and CTRL (I'm on a Macbook) Give me a third level (for special characters) This is really the only functionality I'm missing in Fluxbox. ...
3
votes
2answers
802 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 ...
2
votes
1answer
193 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?
6
votes
2answers
4k views

How do I temporary change my keyboard layout on Debian? (no X)

How can I quickly change my keyboard layout between US and German? setxkbmap does not apply here, as I only have an SSH shell. Persistent changes via dpkg-reconfigure keyboard-configuration ...
3
votes
2answers
2k views

Disable scroll lock

We have a shell/tty based application that has ~1,000 users. It is running in an environment where X Server is not available. If a user accidently turns on the Scroll Lock, it makes it seem as if the ...
3
votes
1answer
837 views

How can I create a new keyboard layout for KDE 4?

I would like to define a new keyboard layout for KDE 4. In particular I would like to take the standard British layout and add Polish characters for the combinations Alt-Gr + letter. How can I do it?
2
votes
0answers
165 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
2answers
462 views

How do you configure numpad keys using XKB?

I haven't figured out how you configure XKB to use the numpad yet. I found the following in the "us" file. partial alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group1]= "USA"; ...
3
votes
2answers
371 views

How to put some keyboard layout aside from layout switching ring?

What I need is to switch between Russian and English layout with my favorite shortcut (namely Shift-CapsLock) switch to Belarusian layout with another shortcut (say, Ctrl-RightShift, but actual ...
3
votes
2answers
370 views

Uppercase input turns on periodically

I have some problem. Every 3-5 second everything, that I input from keyboard became UPPERCASE only. I also have two keyboard layouts: us and ua. And when uppercase happens - I can't switch my keyboard ...
4
votes
3answers
1k views

How to re-enable the caps lock key?

I am currently setting up my default keyboard layout like this: setxkbmap -layout us -variant dvorak -option ctrl:nocaps,[...] It disables the caps lock key and makes it an additional ctrl key, ...
3
votes
1answer
357 views

Change behaviour of numpad to dpad in GNOME 3.2

I'm a long-time Windows user who uses the numeric keypad with the numlock off for navigating text, highlighting it, etc. Shift + Home (7 on the numpad) selects all text till the beginning of the line. ...
6
votes
2answers
868 views

UTF8 math symbols & keyboard layout / input

I'd like to use UTF8 math symbols, when typing one list, another list. I've found sth called ComposeKey. Unfortunately it's not covering omega, theta, rightarrow etc. I am using KDE, I've tried ...
2
votes
1answer
388 views

Disable action keys

I'm running openSUSE on HP Pavilion dm4. I have a bunch of action keys (volume up/down, brightness, wifi etc.) on my function keys. For using standard Fx keys I have to hold Fn key. The problem is ...