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
-1 votes
0 answers
49 views

Gnome shell key mouse combo mapping change

In gnome shell by default, keyboard and mouse combo mapping is : Alt + left button = move window Alt + middle button = resize window Alt + right button = windows menu My preferred meta key is Alt. (I ...
Khi Kim's user avatar
-1 votes
0 answers
18 views

Mouse logitech or razer?

Im interested on buy a logitech g600 or razer naga, but before i wanna know If it is possible to set up with software the mouse keys. The setup serious simple, map example key 1(mouse) function ctrl+1 ...
Sotram's user avatar
  • 1
1 vote
0 answers
38 views

Remapping Caps Lock to the 'backslash' character [duplicate]

As I am writing a lot of LaTeX, I'd like the CapsLock key to instead print a \ (AltGr+8 on my keyboard). I am running Ubuntu 23.10. I installed gnome-tweaks, which allowed me to remap Caps Lock to ...
Anthony's user avatar
  • 111
0 votes
0 answers
36 views

I don't want to use mouse and I only have a 75% keyboard which dosen't have keypad. Is it possible?

I am running ubuntu 23 rn. I turned on the default keyboard key accessibility settings(not fully sure, but I think there is an option for the non-keypad users to use number keys as mouse keys by ...
Mohammed Azizul Bari's user avatar
0 votes
0 answers
32 views

I'm trying to remap some keys + Rctrl to act as the arrow keys but for some reason I can't use autokey

I use a 60% keyboard that doesn't have the arrow keys and while I was using Windows I remapped them using RCtrl + some other keys. Now on Ubuntu 22.04 LTS I'm trying to fix this problem. For some ...
Vinicius Soares's user avatar
0 votes
0 answers
119 views

Remap keys with xmodmap

Ubuntu 22.04 running inside MS Hyper-V. I have used xmodmap to remap my left arrow key to right Control key. The Left key is broken. From xmodmap -pk , we can see 100 is Left key, and 109 is Control_R ...
anru 's user avatar
  • 101
0 votes
0 answers
76 views

How to change boot drive name?

I am having trouble installing additional nvme sticks, and it seems that my new stick takes over boot drive's name, like /dev/dba I used to have /dev/nvme0n1: my storage1 /dev/nvme1n1: my storage2 /...
Ubuntubasic1864's user avatar
0 votes
1 answer
213 views

Mapping a mouse button to another mouse button

I want to change one of the side buttons of my Logitech MX Master 3 to pressing the scroll-wheel down. I need it to work all the time, not just at button press (I want to be able to "drag" ...
Lukas Hoffleit's user avatar
0 votes
0 answers
25 views

How can I remap a key that triggers multiple events?

I recently bought a small folding keyboard that has a .com key (which I never use) but doesn't have a del(ete) key which I use a lot. Using xev I see that pressing .com triggers a bunch of events: ...
B. Keith's user avatar
2 votes
1 answer
2k views

How to permanently remap Caps Lock into Esc key on Ubuntu 22.04.3 with Wayland display server

My goal is to PERMANENTLY remap CAPSLOCK into ESC key under Ubuntu 22.04.3 with Wayland display server. Second requirement is to do it without installing additional software. I need it for VIM, to be ...
michal roesler's user avatar
2 votes
1 answer
677 views

Remap tmux prefix shortcut of control b

I tried to remap tmux prefix shortcut from control b to control / by unbind-key C-b set-option -g prefix C-/ bind-key C-/ send-prefix but not fulfill the expectation, how is the correct way to ...
HELP ME's user avatar
  • 191
0 votes
1 answer
133 views

Using dconf write or gsettings set several times overwrite the previous command

I would like to remap several different keys of my keyboard.Namely: I want to remap caps Lock to escape function and remap left alt to right alt function. For this I used the following commands: dconf ...
ecjb's user avatar
  • 111
0 votes
0 answers
84 views

Remap several key: Alt_L key to have the same behavior as Alt_R (or Alt gr) + remap caps lock to escape

I want to change the behavior of the Alt_L key on my keyboard (keycode 64) so that it has the same behavior as the Alt_R (keycode 108 or Alt gr) on Ubuntu 22.04. the output of the following command ...
ecjb's user avatar
  • 111
0 votes
1 answer
130 views

How to remap (only) mouse keys? (special case)

I've remapped some mouse keys to help me navigate in firefox, later I'll extend the use to other applications. In particular, I remapped button 4 of the mouse so that the active web page scrolls up at ...
CaneRandagio's user avatar
0 votes
0 answers
227 views

Remapping of key with xmodmap is detected by xev but not by other apps?

So as I bought a laptop with a foreign keyboard (qwerty but I type in azerty most of the time) I don't have any dedicated key for chevrons (<>). That's annoying, so I want to remap my right ...
rznrd's user avatar
  • 1
3 votes
2 answers
136 views

How to make a keyboard shorcuts using 'windows/super' + 'alt' + letter

I'm trying to make keyboard shortcuts using Super+alt+something, the problem is that Super+alt sometimes behaves as just Super making shorcuts as Super+alt+L same as Super+L. but even worst, when I ...
Pablo Ruiz's user avatar
1 vote
1 answer
54 views

Remap Ctrl+, and Ctrl+. to Ctrl+C and Ctrl+V

Can I somehow define a remapping where F12 toggles a new layer in which Ctrl+, acts as Ctrl+c and Ctrl+. acts as Ctrl+v?
Rasmus's user avatar
  • 8,345
1 vote
1 answer
347 views

reassigning 'Tab' key to 'insert' key

Background: I am running Ubuntu 22.04.1 LTS. I am new to Linux. I do not have a programming or computer science background. Problem: I am trying to reassign the function of 'Tab' to the 'Insert' key ...
PGN's user avatar
  • 11
1 vote
1 answer
107 views

How to change keyboard layout by switching 1234567890 with !@#$%^&*() with Shift or Num Lock keys?

What I would like to do is, instead of pressing Shift+1 or Shift+2 to see ! or @ respectively, have by default ! @ # $ % ^ & * ( ) instead of 1 2 3 4 5 6 7 8 9 0, and maybe if I have my NumLock ...
Jonadabe's user avatar
0 votes
1 answer
67 views

How to remap Caps Lock to letter key, such as "a"

There are many questions on here about remapping Caps Lock to another special key, such as Ctrl or Esc. However, I want to map Caps Lock to the A key. (My keyboard's physical A key broke, so when I ...
tscizzle's user avatar
  • 113
1 vote
0 answers
105 views

Swap vert & horiz scrolling: remapping buttons has no effect

My mouse has a vertical and horizontal scroll wheel. I would like to swap them so that the original vertical wheel controls horizontal scrolling and vice versa. So far: I have used xev to identify ...
Mehmet Karatay's user avatar
0 votes
0 answers
184 views

xmodmap remappings not working correctly in all applications

I remapped some of my keys using a Mode_switch with the following .Xmodmap ! remove Caps Lock clear lock clear mod1 remove Lock = Caps_Lock remove Shift = Caps_Lock keycode 66 = Alt_L Meta_L Escape ...
AstanVizu's user avatar
0 votes
1 answer
69 views

why doesn't my map command work in vi/ex?

I'm just learning how to use the vi editor, and was trying to make use of the following map command in my .exrc file: map K 0I^I^[j0O^I^[j0 That is what appeared when I created the map in ex mode and ...
user1013210's user avatar
0 votes
1 answer
136 views

How can I remap Home to F5 and End to F11?

I've edited the /use/share/X11/xkd/pc file to remap some keys, but I can't quite figure out how to assign Home and End to F5 and F11. Any assists?
Costa Michailidis's user avatar
3 votes
2 answers
766 views

Turn Caps Lock key into delete key

Using Kubuntu on a Macbook there is no delete key. Delete can be done with Backspace+Fn, but there is only one Fn on the farthest corner from Backspace, so that a delete action requires both hands. I ...
cipricus's user avatar
  • 3,367
1 vote
2 answers
436 views

Custom keyboard shortcuts keypresses

I'm looking for a solution to map keyboard shortcuts to keypresses in a gnome DE. In the scope of this question, I'll use the example of mapping meta+2 to F2. It doesn't seem to work with Xdotool. E.g....
tenxsoydev's user avatar
5 votes
0 answers
2k views

Mapping Left `Ctrl` and `fn` keys in Ubuntu 20.04.4 LTS

So I've spent a solid couple of hours trying to figure out how to remap a couple of keys on a Lenovo ThinkPad T440p laptop. This article from 2020 got me pretty close. It uses the xmodmap command to ...
Kevin Flowers Jr's user avatar
0 votes
2 answers
2k views

Remapping Keyboard Keys to mouse buttons on Ubuntu 18.04

I would like to use keyboard buttons for left and right mouse clicks. I found this answer that describes remapping mouse buttons to keyboard keys. Can I use this method 'in reverse' to map keyboard ...
drydwy's user avatar
  • 1
0 votes
2 answers
742 views

How to remap escape, tilde, and quotes on 21.10 with xkb options

I would like to swap the backtick/tilde key with escape and also single and double quotes by creating new options to be picked up. I already have caps lock and left control swapped as well as parens ...
Jason Nordwick's user avatar
0 votes
0 answers
142 views

Key chords via xmodmap in 20.04

On macos I use a fabulous tool, Karabiner Elements, to obtain the ability to use the return key as a control modifier key when typed with another key. Same for the caps lock key. Now that I am moving ...
pajato0's user avatar
  • 111
0 votes
0 answers
165 views

Remap Logitech T400 middle click

I have a Logitech T400. This mouse has two "middle click buttons": Button A is mapped to the regular middle click, which is what I want. But button B is mapped to Super L which is useless, ...
user171780's user avatar
0 votes
1 answer
171 views

Xubuntu change/remap `home` key to backspace

I want to remap the home key to do the same as the backspace. I have looked through this page, but couldn't find any references to the home key in the file it talks about, but maybe I am looking in ...
Joshua Anderson's user avatar
0 votes
0 answers
138 views

Mapping multi-key shortcut involving Super_L in Ubuntu 20.04

I recently moved from Mac as my primary workstation to Ubuntu. And it has been a struggle... which I found to be surprising because before moving to Mac (5 years ago) I was on Ubuntu for a decent ...
Chantz's user avatar
  • 423
5 votes
2 answers
355 views

Hyper-key u --> Like Arrow-Up

I made CapsLock the Hyper-key via gnome-tweaks Sorry, I have only the german screenshot. "Feststelltaste" means "CapsLock" Now I would like to map Hyper-u to Arrow-Up Hyper-n to ...
guettli's user avatar
  • 1,717
2 votes
1 answer
147 views

How to write a keyboard symbol, e.g. "~", with a key combination, e.g. CTRL+FN+`?

My 1 key broke and I just used the key-mapper program to move this key to the one on the left (the ~ key). Or in other words - I remapped the ~ key to take the functionality of 1. My problem now is ...
NeStack's user avatar
  • 275
2 votes
0 answers
144 views

How to remap symbols on the right shift key (for all layouts)?

My alphanumerical key for '1' and '!' (the very left of the number keys) broke. So, I edited, against the advice in some articles, the file /usr/share/X11/xkb/symbols/us and remapped the '1' and '!' ...
NeStack's user avatar
  • 275
1 vote
0 answers
68 views

Map Right Alt to Spacebar including in key combinations

I am working on a laptop with a broken spacebar, so I re-mapped the right alt key to the spacebar with: xmodmap -e "keysym Alt_R = space" This works well, except it seems like the right alt ...
Amadou Kone's user avatar
3 votes
1 answer
336 views

How to remap the key combination to change to the next tab in my browser (Ubuntu 21.10)?

I’m using Ubuntu 21.10 I want to change the key command used to switch browser tabs to mimic what I do on Mac (Alt+Shift+⇠ / ⇢), instead of Ctrl+Tab or Ctrl+Shift+Tab. The documentation suggests this ...
omegazoomwitch's user avatar
1 vote
0 answers
262 views

How to persistently map Capslock to ESC and Ctrl so that it still works after suspend/resume

I'm using the following lines in my ~/.xprofile on Ubuntu 20.04 to map Capslock to ESC and Ctrl: # make CapsLock behave like Ctrl: setxkbmap -option ctrl:nocaps # make ...
Wolfson's user avatar
  • 189
7 votes
1 answer
4k views

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 ...
Rasmus's user avatar
  • 8,345
0 votes
0 answers
109 views

ranger replace space in filenames

I made map for moving file to Downloads directory but it cause problem if file has space map dD console shell mv %s /home/${USER}/Downloads Ofc I know that I can give their "" but it will ...
Simon Hryszko's user avatar
1 vote
0 answers
50 views

Why doesn’t this key remapping work in several GNOME applications?

I’d like to remap ] to Delete. I’ve tried setting this in an XKB layout: key <AD12> { [ Delete ] }; This works in Firefox, GNOME Terminal, and LibreOffice. However, nothing happens when I press ...
ændrük's user avatar
  • 76.6k
2 votes
1 answer
1k views

Remap "special" Keys on HP keyboard

I bought a new HP notebook (elitebook) with an extremely awful keyboard functionality. For example, I don't have an insert key, but I have a phone-dial and phone-hangup key (right upper corner): The ...
JJ Abrams's user avatar
  • 275
0 votes
1 answer
40 views

Simple Keyboard Remap Question

I want to use my Caps Lock key as Super+A key, but remapping solutions that I found do not support the feature. Do you know how to command something by pressing the specific key?
Shawn's user avatar
  • 13
1 vote
1 answer
2k views

Laptop Fn key code for bindsym in i3wm

I am using i3wm with ubuntu 20.04. I would like to Fn+Left/Right work as End/Home like in my previous laptop. I know how to make bindsyn in i3wm config but I cannot find Fn code. I used xev but it ...
Simon Hryszko's user avatar
1 vote
1 answer
913 views

map Apple keyboard EJECT key to delete on Ubuntu 20.04

followed this great instruction https://askubuntu.com/a/1019659/786192 but it didn't work for me. I then took a more aggressive approach and edited /lib/udev/hwdb.d/60-keyboard.hwdb directly by ...
Bo Chen's user avatar
  • 193
3 votes
1 answer
177 views

Key remapping reversal coupled to built-in device disconnection

I have 3 keyboard languages in my Ubuntu 20. A key < > needs to be corrected by: xmodmap -e "keycode 94 = less greater" As far as I remember having Ubuntu 19 need not further steps. ...
Ferroao's user avatar
  • 850
2 votes
0 answers
191 views

How to remap Menu key to Super?

I'm running Ubuntu MATE 20.04 on an old Toshiba Satellite that has a menu key instead of a second Windows/Super key, and I'd like to remap it so that it functions as Super. So far, I've tried xev | ...
James W.'s user avatar
0 votes
1 answer
1k views

My system only see 8Gb instead of 12Gb memory, can you help me please?

Help me please! I have a MSI H55M-P31 motherboard with an i7 870 @ 2.93 GHz processor. Both of them supports memory up to 16Gb. I have installed 2x4Gb and 2x2Gb. My system only see 8Gb total, the ...
makako's user avatar
  • 1
1 vote
1 answer
145 views

Broke one letter key of my laptop's keyboard and want to remap it on the right Window's key

Some days ago I accidentally spilled some soda on my laptop and broke one of the keys, specifically the letter 'v'. The computer isn't actually mine so I'm ordering another replacement to the keyboard ...
Figaro's user avatar
  • 143