Questions tagged [remapping]
Remapping the keyboard so that a certain key or key combination will execute some other key or combination.
169
questions
0
votes
0
answers
11
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?
0
votes
0
answers
11
views
How to remap joystick axes in Ubuntu 20.04?
I recently purchased a Thrustmaster T.16000M Joystick to play older flight sims in Wine 7.0 and am encountering problems with the joystick axes.
While Wine recognizes the joystick and all its buttons/...
0
votes
0
answers
13
views
Map keys only from a specific (gaming) keyboard
I bought a mouse which has a little thumb "joystick". That joystick appears in the system as a "SOAI USB Gaming Mouse Keyboard" (the mouse part of the). When I move the stick ...
2
votes
1
answer
35
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 ...
0
votes
1
answer
33
views
Custom keyboard shortcuts keypresses
I'm looking for a solution to map keyboard shortcuts to keypresses in a gnome DE. In 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., ...
1
vote
0
answers
117
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 ...
0
votes
1
answer
41
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 ...
0
votes
0
answers
29
views
How to have XF86Audio* keys work with alsa?
I am running Ubuntu on my Chromebook. I have remapped keys so that the dedicated keys (e.g., brightness, back, forward, etc.) all do the desired function (thank you FascinatingCaptain). I have audio ...
0
votes
2
answers
113
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 ...
0
votes
0
answers
44
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 ...
0
votes
0
answers
34
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, ...
0
votes
1
answer
32
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 ...
0
votes
0
answers
33
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 ...
5
votes
2
answers
220
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 ...
2
votes
1
answer
66
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 ...
2
votes
0
answers
64
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 '!' ...
1
vote
0
answers
37
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 ...
3
votes
1
answer
231
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 ...
0
votes
0
answers
33
views
Map a key that is unresponsive with showkey
I have a keyboard that has two "blank" function keys. They only act as F9 and F11 when the fn key is held down.
I found a few interesting topics for remapping keys but they all depend on ...
1
vote
0
answers
70
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 ...
4
votes
1
answer
763
views
Remap a key combination to another combination, e.g. AltGr+C -> Ctrl+C, under Wayland
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 would like to remap ...
0
votes
0
answers
42
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 ...
0
votes
0
answers
106
views
How to map an action to a list of keycodes with xmodmap?
I'm using ubuntu 20.04 on a MSI laptop.
The problem that I found is relative to the keys that can be used with the fn e.g. the key fn+f3 should disable the touchpad.
In the system settings if I try to ...
0
votes
0
answers
18
views
Remap keys on keyboard have 2 Control 1 Alt
I am trying to find a way to remap my keys so my keyboard |Control_L|Super_L|Alt_L| become |Control_L|Alt_L|Control_L| is there a way to do this with xmodmap ?
1
vote
0
answers
38
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 ...
2
votes
1
answer
452
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 ...
0
votes
1
answer
30
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?
0
votes
1
answer
944
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 ...
1
vote
1
answer
393
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 ...
3
votes
1
answer
157
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.
...
2
votes
0
answers
77
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 | ...
0
votes
1
answer
451
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 ...
1
vote
1
answer
76
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 ...
2
votes
1
answer
209
views
Swapping CapsLock key for hyper
i tried doing this by running a .Xmodmap script at startup but it just doesn't work, I've seen a lot of threads with people (maybe) fixing it, but i just can't!
I've also seen some threads about using ...
0
votes
1
answer
235
views
No 'Super Key' on IBM Model M keyboard
So I have a IBM Model M keyboard because it is just the best keyboard ever manufactured....
Thus being said I have no 'Super key'. So I am missing a lot basic functionality. So my question is, how do ...
2
votes
1
answer
1k
views
20.04 - Map right Alt key as Menu key
Ubuntu 20.04.1, Gnome 3.36.3, XOrg 7.7, fresh install on an HP laptop computer (17-by1xxx).
This laptop keyboard does not have a Menu key (ie. a key that activates a context menu in an application - ...
2
votes
1
answer
72
views
Mapping Super+Left to Home in xkb config file
I have following file in /usr/share/X11/xkb/symbols/uscz and I want to remap Super+Left combination to Home button and Super+Right to End. Is it possible?
default partial alphanumeric_keys
...
8
votes
3
answers
2k
views
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 -- ...
3
votes
1
answer
111
views
Remap a single key press while keeping default shortcut
I'm using Ubuntu 20.04 LTS and, unfortunately, my keyboard doesn't have a Left Super. As I never use Alt alone (always in a combination), I would like to remap a single Alt key press to Super (showing ...
3
votes
0
answers
281
views
Assigning shortcuts to AltGr when it is set as ISO_Level3_Shift
I am using a custom keyboard layout. I duplicated the "intl" from /usr/share/X11/xkb/symbols/us within the same file, called it "myintl" and altered the 3rd and 4th level of some ...
0
votes
1
answer
35
views
16.04: Desired key remapping won't load at startup
Running Ubuntu 16.04. I got a compact keyboard without a Menu key. They included a bunch of fluff keys, so I want to make the "web" (XF86HomePage) key be my Menu key. (One can run xev | grep ...
1
vote
0
answers
407
views
How do I remap my Tab key on startup? - Ubuntu 20.04 [duplicate]
My tab key doesn't work properly, so I'm trying to remap it to the grave/tilde key right above it. I have already found out the command to map it -
xmodmap -e "keycode 49 = Tab"
but it ...
0
votes
1
answer
43
views
How to remap alphanumerical keys?
I have a buggy keyboard in which my w,f,b,6,2 keys are not working. I want to remap those keys to some other combination of keys such that when I press I get the corresponding alphanumerical ...
0
votes
0
answers
335
views
Start laptop without power button
I own a really old laptop (about 9 years old). It runs well, except for occasional hitches.
Few months ago, the power button stopped working gradually. The power button that started laptop on the ...
1
vote
1
answer
257
views
xorg.conf ButtonMapping not working (maybe overridden?)
I have a bluetooth mouse I want to configure, and my 99-eleocmtrackball.conf file in /etc/X11/xorg.conf.d looks like this:
Section "InputClass"
Identifier "evdev mouse"
...
0
votes
1
answer
259
views
Changing mouse tilt buttons behaviour
I've recently installed Ubuntu MATE 20.04 and one of my peripherals is a Razer Naga 2014. This has tilt buttons on the mousewheel, so I cant tilt it left or right. On Windows, I can remap this tilt ...
5
votes
2
answers
2k
views
How can I remap my keyboard to create a lefthand numpad?
Like many smaller machines, my laptop's keyboard is missing a dedicated numpad.
I can generally type without looking at my keyboard, but I am unable to blindly type numbers with the number row. That's ...
2
votes
1
answer
1k
views
Make the caps-lock key do the job of holding shift
In Windows 10 when I press the Caps Lock key, I can type numbers and other special characters. Now, in Ubuntu 18.04, I have to keep pressing the shift button to do that. Since I switched from Windows ...
2
votes
0
answers
179
views
Remap BTN_STYLUS event to standard keyboard key?
I'm attemping to use a VEIKK graphics tablet in Kubuntu 19.10. I've got a satisfactory setup so far, but the only thing remaining is remapping the stylus buttons. I feel like I have all the ...
2
votes
1
answer
98
views
Rebinding "Office" key combination to act as Ctrl-R or another modifier
I have a Microsoft Ergonomic Keyboard which I am generally enjoying. Unfortunately, it comes with a premade Office key for use in Windows in place of a right Ctrl or Super. I used xev to record what ...