Questions tagged [remapping]

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

184 questions
42
votes
3 answers

Is there any way to disable the default behavior of the Insert key?

I keep hitting the Insert key accidentally and it really annoys me. Is there any way to disable it's default behavior, toggling insert/overwrite mode in editors?
31
votes
2 answers

How to swap Ctrl and Fn on a Lenovo Thinkpad keyboard?

I tried to exchange my Fn key with left Control, which didn't work. I used the command xev to get the keycodes/keysym. Afterwards I used: xmodmap -e 'keycode 151=Control_L' xmodmap -e 'keycode 37=XF86WakeUp' But it didn't change anything. I also…
29
votes
3 answers

Remapping Caps Lock to Escape in Ubuntu 18.04 bionic

In Ubuntu 16.04, there was an option in the settings which allowed to switch between Esc and Caps Lock. Where is this option in Ubuntu 18.04?
vrcmr
  • 6,397
13
votes
1 answer

How to remap keys in Ubuntu 18.04 (GNOME Shell)

Trying to swap PgUp and PgDn to Home and End. xmodmap doesn't seem to work for anything other than xev output. Doesn't work in other cases.
12
votes
1 answer

ButtonMapping - Positional parameters

In an X configuration file mouse buttons can be mapped using a ButtonMapping option: Section "InputClass" # ... Option "ButtonMapping" "1 9 3 4 5 6 7 8 2" # ... EndSection Changing the order of the numbers changes the behaviour of the…
Dave Jarvis
  • 991
  • 2
  • 12
  • 26
12
votes
3 answers

change alt-tab to ctrl-tab on ubuntu 12.04

I have an apple USB keybord for my Ubuntu 12.04. I remapped command left key to control for convenience. And now I switch between apps with Alt+Tab and between tabs within one app with Ctrl+Tab. It's normal but not comfortable and painless. It would…
11
votes
2 answers

How can I remap the Caps Lock key to be Shift Lock?

I would like Caps Lock to behave as if it were Shift Lock - so when you have Shift Lock on and press 1, it gives !. I am using GNOME, but if I can use a package for another DE on GNOME, I'm happy to hear! Is this possible?
Tim
  • 33,500
11
votes
1 answer

Remap copy and paste shortcuts

In a terminal I have Alt-C and Alt-V shortcuts to copy/paste. That's why I want make the same to system wide. How to remap system wide shortcuts Ctrl-C and Ctrl-V to Alt-C and Alt-V? Ubuntu 18.04
megas
  • 2,667
10
votes
1 answer

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 actually use any of those, but I would like to make…
9
votes
4 answers

Remapping keys: Caps Lock to Escape and vice versa in Ubuntu 13.10

I just installed Ubuntu 13.10 and miss the feature to swap the escape and Caps Lock key. It used to be possible through a GUI in Ubuntu 12.04. Anyone know how I can solve this? Thanks for the help :)
KristianF
  • 101
  • 1
  • 3
8
votes
1 answer

Remap a key combination to another combination, e.g. AltGr+C -> Ctrl+C, under Wayland

TL;DR Under Wayland, can I somehow bind AltGr + C to Ctrl + C? Details I basically want to ask this question, but for GNOME on Wayland. This means that answers involving AutoKey and xbindkeys wont work, as neither works under Wayland. Background I…
Rasmus
  • 8,655
8
votes
3 answers

Caps-lock remapping stops working

I have caps-lock key remapped to control, which usually works fine, but after some uptime and one/more suspend/awake cycles* this mapping breaks, and caps-lock reverts back to the default behavior -- i.e. turning on the led and capitalizing whatever…
Attilio
  • 231
  • 2
  • 4
8
votes
1 answer

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 i can't find a alternative option to ubuntu. My…
8
votes
1 answer

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 be a right button instead. I can achieve this by…
Ratler
  • 578
7
votes
3 answers

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 get xinput to show any state change when the…
8675Thr
  • 81
1
2 3
12 13