Skip to main content
Share Your Experience: Take the 2024 Developer Survey
60 votes
Accepted

Keys all switched on keyboard

For the simple case, it sounds like you have a different keyboard layout (e.g German, as that swaps Y and Z). Change layouts in Control Panel: "Clock, Language, and Region" "Region and Language " "...
RJFalconer's user avatar
  • 10.3k
44 votes

Keys all switched on keyboard

If you don't want to use any third-party applications to reverse the SharpKeys modifications, you can cut out the middleman and edit the Registry directly. Open the Registry Editor by navigating to C:...
Ben N's user avatar
  • 41.1k
16 votes

Permanently change default language and keyboard settings - what am I missing?

After dpkg-reconfigure keyboard-configuration, you need to run setupcon NAME setupcon - sets up the font and the keyboard on the console SYNOPSIS setupcon [OPTION]... [VARIANT] ...
mivk's user avatar
  • 3,756
14 votes

Keys all switched on keyboard

It's worth checking for processes running in the background which manipulate your key entry. I use AutoHotkey scripts to add/override some keybindings. They generally appear in the system tray as a ...
beirtipol's user avatar
  • 255
11 votes

How to map the Caps Lock key to Escape key in Arch Linux

Xorg.conf You can achieve this by editing the file /etc/X11/xorg.conf.d/00-keyboard.conf. Example file: Section "InputClass" Identifier "system-keyboard" ...
styrofoam fly's user avatar
9 votes

Synergy Key Mapping

As a PC user wanting to connect to OS X, you may find the following useful: shift = shift ctrl = meta alt = ctrl meta = super super = alt This will get you a setup where your usual cut / copy / ...
Sean Vikoren's user avatar
9 votes

Permanently change default language and keyboard settings - what am I missing?

On Stretch you'll need console-setup (in addition to keyboard-configuration), which includes the necessary systemd-service keyboard-setup: apt-get install keyboard-configuration console-setup
irata's user avatar
  • 91
8 votes

Remap "next song" key in ubuntu to work with spotify and wine

Or jbonney found a pretty neat solution using dbus-send here on his gist Or if you in a hurry : "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris....
qboileau's user avatar
7 votes

Remap FN to another key

Shift + F10 The right-click keyboard shortcut is to hold down Shift and then press F10. This is an alternative in case right-click / context menu key is not available.
ild flue's user avatar
  • 171
7 votes

Remap keys without xmodmap or any X tools

There are actually ways to remap at a level low enough to apply to the whole system, X11 or not, and they've become more important than ever now that we're seeing uptake of Wayland compositors which ...
ssokolow's user avatar
  • 1,117
5 votes
Accepted

Permanently change default language and keyboard settings - what am I missing?

The combination of commands that worked for me were: $ sudo dpkg-reconfigure keyboard-configuration $ setupcon $ sudo update-initramfs -u And then reboot. The last command rebuilds your GRUB boot ...
Jesse Hallett's user avatar
5 votes

Change Z and Y on an English keyboard on Win 10 w/o buying software

It seems you can create your own variant of the standard QWERTY layout using a microsoft provided tool Microsoft Keyboard Layout Creator I haven't had time to go through the whole process of creating ...
SparedWhisle's user avatar
  • 4,213
5 votes

xmodmap how to remap keys and disable the original ones?

After reading in and getting some information around. It appears that the issue is that you have to delete the modifiers before actually doing the remapping. To the answer : After changing the ...
tukan's user avatar
  • 2,205
4 votes

How to make alt-backspace delete words in Windows?

Did you know that you can delete words by the combination Ctrl+Backspace? Alt+Backspace is generally mapped to the "Undo" command. If you still want to change the behavior, you can use the ...
Mikko Vedru's user avatar
4 votes

How to swap the "fn" use of Function keys on an Apple Keyboard in Linux

This worked for me on Fedora 24 Create a new file for SystemD to start. gedit /usr/lib/systemd/system/mac-keyboard.service Ensure the file contains the following [Unit] Description=mac-keyboard [...
FDisk's user avatar
  • 161
4 votes

Mapping Super+hjkl to arrow keys under X

This one works for me on Arch. It remaps Caps+hjkl to arrow keys, and Shift+Caps to Caps. Put the following in ~/.Xmodmap: ! Remap Caps Lock to special modifier, but still allow Shift+Caps to toggle ...
Huon's user avatar
  • 141
4 votes
Accepted

How to remap Right-Win and Right-Alt keyboard keys

Since Microsoft Keyboard Layout Creator (MSKLC) 1.4 fails to work properly you can use the following low-level solution that is derived from information on (German) WinFAQ. Create the following two ....
Gerold Broser's user avatar
4 votes

Change Keyboard Layout in TTY Permanently

Your idea is correct, just the required command is off. sudo echo > whatever only executes echo with elevated privileges, the redirect is applied by the shell and so is not elevated. To write with ...
Schlueter's user avatar
  • 259
3 votes

Mapping Super+hjkl to arrow keys under X

No sudo needed, derivated from here, modified to make it work also when combined with Alt. create a file w the following content: ! remove Caps Lock clear lock ! remove Lock = Caps_Lock ! remove ...
Zeitvertreib's user avatar
3 votes

How to map ALT-return in .vimrc?

Due to the way that the keyboard input is handled internally, this unfortunately isn't generally possible today, even in GVIM. Some key combinations, like Ctrl + non-alphabetic cannot be mapped, and ...
Ingo Karkat's user avatar
  • 23.1k
3 votes
Accepted

Any ideas why Microsoft Keyboard Layout Creator 1.4 refuses to work properly on my Windows 7 Professional 64-Bit?

MSKLC works in Windows 10 (1809) and displays the loaded keyboard layout, if you set the DPI settings from Windows to 100 (default). I.e. you are not allowed to use scaling. I found this info here: ...
Sam Arutuk's user avatar
3 votes

How to disable scroll lock key in linux, permanently?

Answer from https://askubuntu.com/a/1072497/484668 helped me - dconf read /org/gnome/desktop/input-sources/xkb-options Then remove the 'grp_led:scroll' part and write it back like so: dconf write /org/...
Eugene's user avatar
  • 31
3 votes

How to map Option-Shift-digit keys in zsh using bindkey

I found the answer by looking at the US keyboard layout By imagining that I had a US keyboard, I could map the corresponding keys, even though those keys are not in those positions on a Swedish ...
Klas Mellbourn's user avatar
3 votes

how to map forward/backward buttons to w and s for game play

This is possible. Depending on your mouse software, you might be able to remap the buttons in it. Logitech and other gaming mice often come with software that easily lets you remap buttons. ...
Keltari's user avatar
  • 73.4k
2 votes

How to map the Caps Lock key to Escape key in Arch Linux

The Arch repos now include two relevant interception tools: caps2esc (tap=esc, hold=ctrl) dual-function-keys (fully customizable tap/hold remappings) caps2esc (tap=esc, hold=ctrl) Install via ...
tdy's user avatar
  • 125
2 votes

What's the best way to remap MS Ergonomic keyboard on OSX?

macOS Sierra does not fully recognize the Microsoft Surface Ergonomic Keyboard as a keyboard, but a workaround exists. Install Karabiner Elements. It lets you intercept and remap keyboard input. ...
Well Actually's user avatar
2 votes

Permanently change default language and keyboard settings - what am I missing?

The solution for me was to comment out all the locale relevant variables at /etc/profile #export LANG="de_DE.utf8" #export LANGUAGE="de_DE.utf8" #export LC_ALL="de_DE.utf8" (I wanted to get rid off ...
ios.id0's user avatar
  • 121
2 votes

Permanently change default language and keyboard settings - what am I missing?

dpkg-reconfigure keyboard-configuration udevadm trigger --subsystem-match=input --action=change
Karl Morrison's user avatar
2 votes

Holding down the Alt key for several seconds makes keyboard behave strangely

This is a built-in accessibility feature for those who have mobility issues with their hands and/or fingers. Holding down the ALT, CTRL, or SHIFT buttons for 5 seconds or longer locks the key on. ...
cybernard's user avatar
  • 14.1k

Only top scored, non community-wiki answers of a minimum length are eligible