Questions tagged [remapping]

Remapping the keyboard so that a certain key or key combination will execute some other key or combination.

Filter by
Sorted by
Tagged with
4 votes
0 answers
2k views

How to remap (swap) Function and Control keys?

I've been trying to remap the Function (fn) and left Control keys on my laptop. I'm using xubuntu on a Macbook Air. I found these answers to be extremely confusing and haven't tried using xmodmap ...
Laura's user avatar
  • 211
0 votes
1 answer
2k views

Change 'Home' key to 'Escape' key

I do not have an escape key on my new keyboard. Instead I have a Home key, similar to Mac keyboards. I would simply like to turn this Home key into an effective Esc key. I would not like to change ...
Arturo don Juan's user avatar
0 votes
1 answer
394 views

How remap keyboard on "asciitilde layout mode"

I'm trying currently to use the xmodmap -e function in order to remap my keyboard. I want to replace the twosuperior key with greater and less depend of the asciitilde mode being activated. I talk ...
HoCo_'s user avatar
  • 413
1 vote
1 answer
584 views

How do I "shift" Caps Lock, Shift and Control?

Default key location is +-----------+ | Caps Lock | +-----------+ | L Shift | +-----------+ | L Control | +-----------+ I'd like to try moving the most usually useless key to the farthest position,...
Yd Ahhrk's user avatar
  • 151
8 votes
1 answer
2k views

Remap a button from my gaming mouse to a keyboard key

I just installed ubuntu 18 on my PC and id like to know if there's a tool to remap my mouse side buttons to work as they were a key from keyboard. I used to use X-Mouse Button Controll on Windows but ...
Edmilson Gonçalves's user avatar
3 votes
1 answer
4k views

Fake key code for remapped keyboard keys

I have remapped my caps lock to backspace. /etc/default/keyboard XKBLAYOUT="us" XKBVARIANT="altgr-intl" BACKSPACE="guess" XKBOPTIONS="caps:backspace" This works pretty great, except that it doesn’t ...
Remco Haszing's user avatar
0 votes
1 answer
1k views

How to use numpad as mouse pointer (moving and clicks)?

I want to use the keypad to move the mouse to all directions and right and left click. How can I do this?
Vitor Abella's user avatar
  • 7,537
1 vote
1 answer
368 views

Can't seem to switch shift and up keys on laptop

I've been googling around on how to reassign the right shift and up key and I'm having trouble with it and would like some guidance. I'm running Ubuntu 16.04. I tried the method mentioned in this ...
sinykk's user avatar
  • 31
7 votes
1 answer
2k views

Changes with xinput randomly revert back to default

I'm using Kubuntu 16.04 (xenial) on a laptop with an ELAN Touchscreen together with a DELL 750-AAHC active stylus. One of the buttons on the stylus behaves as a mouse middle-button, and I want it to ...
Ratler's user avatar
  • 518
0 votes
1 answer
394 views

How to set Caps Lock to write a character? [duplicate]

Is it possible to change Caps Lock to a special character like $ (most use in PHP) ?
hadi aj's user avatar
  • 71
0 votes
1 answer
521 views

Remapping Keys - Xubuntu/Awesome

Currently on Xubuntu and I want to use Awesome WM, but Awesome is highly dependent on the Windows key, which my keyboard does not have. So I'm trying to remap the Win key to Right Alt with no success ...
Secret Sloth's user avatar
0 votes
0 answers
1k views

How to disable the arrow keys in Google Chrome, while watching Youtube videos, on Ubuntu

This question is very specific, so let me explain and bear with me: I want to disable a user from accidentally skipping content while watching YouTube movies on an instance of Google Chrome on Ubuntu....
Marcel's user avatar
  • 255
0 votes
0 answers
146 views

'Alt' key (left) doesn't act as 'Space' - but CapsLock does? (using 'xkb')

The Space key on my keyboard has given up soI want to change 'Alt' (left) to 'Space' and 'CapsLock' to 'Alt'. In /usr/share/X11/xkb/symbols/pc I have changed the lines //key <CAPS> { [ ...
JoHKa's user avatar
  • 597
0 votes
2 answers
904 views

How to remap ç and Ç keys into < and > symbols

I would like to do the remap in the title. Reason being is that my computer got a US keyboard, so it got 1 key less than the Spanish one. As I don't really use ç or Ç, I wanted to sacrifice them on ...
Inigo EC's user avatar
  • 161
0 votes
0 answers
31 views

What is the best practice for defining different shortcut keys for separate keyboards?

Context I have Razer Blade 14 laptop, and I use a Apple Wireless Keyboard (version 2). The Settings > Keyboard > Shortcuts section only allows me to define one keyboard layout for both keyboards. ...
Spencer Hill's user avatar
0 votes
1 answer
974 views

Down Arrow Key is not working [duplicate]

My Down Arrow Key in the keyboard is not working. Is there any way to map its functionality into another key in Ubuntu. How can I solve this problem without replacing my Keyboard?
Ananthu's user avatar
  • 101
2 votes
1 answer
1k views

Problems with remapping Shift with Up keys

I recently acquired a Lenovo 510-15 and using Right shift proves to be very bothersome, because of the terrible layout: So I tried to remap Right shift and Up keys, by running these commands: xmodmap ...
Stormwaker's user avatar
2 votes
1 answer
904 views

How to map the AltGr key to the Menu key?

On my Lenevo T460 laptop keyboard, I'd like to change the value of the AltGr key (between Space & PrtSc) to the Menu key as that is far more applicable for my use. So far, I've managed to ...
Rishav's user avatar
  • 43
0 votes
1 answer
154 views

My "a" key is busted. I want to map to another key [duplicate]

Other posts I've seen mostly seem to refer to special/modifier keys. Is there a way to remap the a key to something else? Cinnamon 17, 64-bit. I have a Japanese win keyboard.
Brendan's user avatar
1 vote
0 answers
128 views

Remap only one keyboard key

I'll want to remap "e" key. When I press ALT+e key, I'll want that compare "ê" symbol. What can I do? Excuse for my english. Thank you.
masfur's user avatar
  • 19
1 vote
1 answer
2k views

Ctrl - C no longer copies. Any ideas?

In the course of trying to remap Vim, I destroyed the copy shortcut. I deleted .vimrc and checked the settings shortcuts and I can't get Ctrl + C to work any more no matter what.
user642832's user avatar
0 votes
0 answers
272 views

Mapping CAPS to ESC for Vim on Ubuntu?

I have been trying to figure it out using others' posts for a while and I can't figure it out. I tried setxkbmap but it doesn't stay when I reboot. The settings > keyboard > manual shortcut entry ...
user642832's user avatar
0 votes
1 answer
1k views

Need help in mapping space key to any of the Alt keys

My space bar is not working. using external keyboard, which is really hard. Please advice me on mapping space key to alt key left or right in normal mode(I dont understand command prompt). Thanks in ...
Kalpana Balakrishnan's user avatar
0 votes
1 answer
125 views

Critical: Remap power key on Ubuntu 16.04

Water accidentally spilled on my laptop, now my power key does not work. Im really afraid that it won't turn on once I turn it off. Can I remap this key to something else? I tried following Remap ...
Wboy's user avatar
  • 345
0 votes
0 answers
148 views

CapsLock Escape flip button

I'm trying to map capslock to escape,I put those lines in a file .speedswapper and then executed xmodmap .speedswapper. ! Swap caps lock and escape ...
challenger's user avatar
1 vote
1 answer
2k views

How can I remap keys in Ubuntu 16.04 [duplicate]

I am using an Asus C200 chromebook running Ubuntu 16.04, and I want to know how to remap the F10 button to Volume up, and F9 button to volume down. Thanks.
Youssef El Geddawy's user avatar
3 votes
0 answers
104 views

Remap "NUM ," to "NUM ." (German keyboard)

I am looking for an easy way to bind the NUM , in the German keyboard layout to a NUM . in Ubuntu 16.04 LTS. Is it possible within /usr/share/X11/xkb/symbols/pc? obviously the key is key key <KPDL&...
loki's user avatar
  • 134
0 votes
1 answer
65 views

No "><|" key on keyboard - remap other key?

I've got an older Thinkpad but it has no <>| key (which is supposed to be to the right of the left Shift key). This makes terminal work really hard. Is there any way to map for example my Z key ...
Slater's user avatar
  • 101
1 vote
2 answers
2k views

How do I remap keys in Ubuntu-16?

I've been using Ubuntu for about a month now and have recently started using Vim. I would really like to know how to swap the Caps_Lock and Escape keys but am not sure how. I'm using Ubuntu 16.04.1 ...
Charlie Parker's user avatar
5 votes
1 answer
2k views

How to use both mouse buttons simultaneously as middle-click?

The wheel-button on my mouse appears to be malfunctioning, but the mouse itself, including the wheel, is still fine. Is there any possibility to assign the "middle-click"-function to something like ...
Prototype700's user avatar
2 votes
1 answer
629 views

Use xkb to change Caps Lock to Alt+Tab

I'm trying to find a way to use xkb settings to change the behavior of my Caps Lock key (when no modifier keys are pressed) and remap it to to the Alt+Tab key combination instead. I am also open to ...
std_answ's user avatar
  • 141
10 votes
1 answer
902 views

How to remap a key that's not captured by xev?

I have a mechanical keyboard (by Duck) that includes a Fn key used with F10 to trigger Win-lock (disables Windows key so it doesn't bother when playing) and N-Key rollover. As a programmer, I don't ...
igorsantos07's user avatar
3 votes
1 answer
1k views

remap key for a footswitch

I've bought a simple footswitch and I've been trying to remap the key to something else. Currently the footswitch is bound to keycode 56 (the letter b). xev returns the following when I press the ...
Akisame's user avatar
  • 3,313
1 vote
1 answer
634 views

Remapping only 1 key to another [duplicate]

I rarely use '^' (Shift+6 or Unicode U+005E) and use '⁓' (Unicode U+2053) all the time as part of my signature on emails and so forth. I realize the Swung Dash (⁓) and Tilde (~) are very similar, I ...
Ev-'s user avatar
  • 305
1 vote
1 answer
442 views

Remap Dell L502X touch keys on Ubuntu 16.04

I have a Dell XPS L502X which has 3 touch keys. Touch keys (image) In Windows, the first one is supposed to bring up Windows Mobility Center or on newer versions, Windows + X. The second is ...
user avatar
2 votes
1 answer
1k views

Remap power button on mouse (using X)

There is a button on my mouse which hibernates my system and I want to map it to do nothing. This button was originally mapped to do something else in Windows using the Windows software that came with ...
wpbdry's user avatar
  • 45
-1 votes
1 answer
344 views

US Keyboard, remap braces

I have bought an US laptop with US keyboard but didn't come with a key next to Z that type the braces < >. I don't have experience with keyboard mapping, i would like help to be able to map the ...
Alexandre Faustino's user avatar
3 votes
1 answer
1k views

Ubuntu 15.10: How to remap the additional '| \'-key on my british keyboard to the `-key?

I am using ubuntu 15.10! I would like to remap the additional '| \'-key right of the left shift key on my United Kingdom keyboard to the `-key. Here is a picture of the mapping I want: These are ...
vimpy's user avatar
  • 33
0 votes
1 answer
947 views

How to map custom key combinations on Wacom Bamboo MTE-450A

I'm trying to use my Wacom tablet in Ubuntu 16.04, and the mapping is quite limited compared to the Windows drivers. I tried to use the terminal, but found it too complicated. So how do I set custom ...
user avatar
2 votes
0 answers
230 views

Remap footpedal in Ubuntu

I own a basic footpedal with two buttons, which I would like to set up to mimic Control and Super. I've used xmodmap and xev before, as suggested in this answer here. But it turns out that the ...
stats-hb's user avatar
  • 121
7 votes
3 answers
3k views

How do I correct this mismapped stylus button?

I'm running Kubuntu 15.10 on an HP Spectre x360, which has a non-Wacom active digitizer built into the display. I'm using a two-button stylus with this, but the second button doesn't work. I couldn't ...
8675Thr's user avatar
  • 81
3 votes
2 answers
615 views

How can I use Caps Lock to capitalize semi-colon?

I can't print colon using the Shift+;. So, I thought it was better to use the colon just like we use the Caps Lock for capitalization of letters. In other words: I want Caps Lock to work for all keys ...
Navaneeth Mohan's user avatar
2 votes
3 answers
2k views

Remap Caps Lock to Esc and Ctrl

After watching some videos about tmux and vim collaboration I wanna remap Caps Lock on my ubuntu. Remapping Caps Lock to Esc is easy I used gnome-tweak-tool, but now I wanna change Caps Lock ...
Morlacke's user avatar
6 votes
4 answers
4k views

How do I remap the caps lock key to the backspace key?

I have grown very comfortable to my Colemak keyboard layout (my typing speed has doubled since I started using it). My only problem with it is that there is no caps lock key because under this layout ...
Blender's user avatar
  • 133
5 votes
2 answers
2k views

How to remap Back and Forward key on a Lenovo ThinkPad T420?

I used to have a Lenovo N500, in this laptop the PgUp and PgDn keys are next to the Up/Down/Left/Right keys. Now I have a Lenovo T420 and the keys next to Up/Down/Left/Right are Back and Forward. I ...
miguelmorales85's user avatar
1 vote
1 answer
2k views

Is there a GUI Keyboard Remapper App?

Running Ubuntu 15.02. Tried finding the keyboard layout tab and now I'm convinced it's gone missing with this latest release. Thus, I'm looking for a simple app that does the same thing... I'm a Mac ...
Kelley Chambers's user avatar
2 votes
1 answer
290 views

Map Ctrl+c to one button to stop a script on terminal

I'm using Ubuntu 14.04 and I wanted to remap the functionality of Ctrl+C to just one button (e.g b) such that whenever I press that button in terminal it forces the script running in it to stop (kinda ...
Sina Sh's user avatar
  • 231
6 votes
1 answer
5k views

How to remap Fn Key combinations?

I want to do some advanced key mapping on my Sony VAIO. It involves the Fn key. This is what I want to do: I want to do a Fn key inversion, ie to remap: [Fn+ F2toF7] on my keyboard to [F2 to F7] soft ...
daltonfury42's user avatar
  • 5,499
1 vote
0 answers
488 views

CAPS LOCK to CONTROL remap is reset after screen lock [duplicate]

I am trying to map my Caps Lock to Control. To that end I added the following: setxkbmap -option ctrl:nocaps to the Startup Applications menu. This works fine whenever I start the system, however, ...
Dror's user avatar
  • 333
4 votes
2 answers
1k views

Xmodmap - how do I use ctrl as a modifier?

Basic keyboard layout: 1 → 1 Shift+1 → ! I would like: Ctrl+1 → ¹. (Superscript one character). The following code allows me to type ¹, but only with Shift+1: xmodmap -e "keycode 10 ...
TuxForLife's user avatar
  • 1,305