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

Mapping btnx to only activate when certain keyboard button is pressed

I tried btnx recently, but I found it either activates the mapping on disables it, but I currently don't have a multi button mouse The functionality I want is to map the wheel up / wheel down to do ...
2
votes
1answer
47 views

How can I remap my number keys to create a numpad?

As with most 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. ...
0
votes
0answers
21 views

Trying to Drive Map to DOS 6.2 compurter with UBUNTU Core

So I am using UBUNTU Core on Rapsberry pi and need to map to an OLD DOS 6.2 computer. Basically getting into the C:/ and accessing the files. I tried connecting to server with several drive paths. ...
1
vote
1answer
70 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 ...
1
vote
0answers
26 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 ...
1
vote
0answers
11 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 ...
0
votes
0answers
26 views

Remap/disable modifier keys on international keyboard

I use a swedish keyboard layout. Which means in order to get ~ I have to input AltGr + ¨ (char to the right of Å) twice, or followed by a space. And to get ^ I have to input shift + ¨ twice or ...
3
votes
2answers
93 views

Map “Super+ArrowDown” to minimize a window while the window is focused & the window is not in fullscreen

I would like to add a conditional key mapping to Ubuntu 19.10. Normally when a window is in full screen mode and you press super+arrowDown it enters window mode (or whatever it is called). When a ...
0
votes
0answers
26 views

Keyboard layout changes with each application

I'm using Ubuntu 18.04 and for some reason my keyboard layout changes with each application. If I start terminal, I get what I expect and it works correctly, however if I type something in the ...
0
votes
0answers
74 views

place `xmodmap ~/.Xmodmap` in ~/.xinitrc not work

Tried to place xmodmap ~/.Xmodmap in order that can be read at startup, in ~/.xinitrc , but has no effect at all $ cat ~/.Xmodmap keycode 90 = Tab NoSymbol Tab keycode 104 = KP_Insert NoSymbol ...
0
votes
0answers
98 views

Swap `Alt` and `Super` keys (for Apple Keyboard on Ubuntu 18.04)

I have an Apple Magic Keyboard and I'd like to swap the LeftAlt with the LeftSuper. I'd also like to swap RightAlt with the RightSuper. I imagine I need to edit my gedit /usr/share/X11/xkb/symbols/pc ...
1
vote
2answers
250 views

Make keyboard right alt ctrl work as mouse left right click buttons

I am using ubuntu 19.04. in windows i have used autohotkey to make keyboard right alt and ctrl behave as mouse left and right click. But i am unable to do this in ubuntu. I have tried editting /usr/...
0
votes
0answers
43 views

Remap Super+Left to the Home button

I want to remap Super+Left key combination to the Home button. I tried tools like xdotools, xte and xbindkeys, but for some weird reason it worked only on Firefox, and not on any other window. ...
1
vote
1answer
466 views

Razer Deathadder Elite: configure central buttons

I need to use the two central buttons (the ones below the wheel) of the Razer Deathadder Elite mouse to scroll pages. By default, they are used to change the DPI. OpenRazer and Polychromatic do not ...
0
votes
0answers
23 views

Is it possible to remap keys while caps lock is on?

I would like to use WASD as arrow keys on my system. What i would love to have is that if i have caps lock on the WASD keys could act like the arrow keys, also potentially add more mappings while caps ...
0
votes
0answers
50 views

Budgie: Default keyboard configuration with ctrl:swapcaps

In Xubuntu 19.04 on my ThinkPad T540p, I swapped Ctrl and CapsLk on my keyboard by adding ctrl:swapcaps to my /etc/default/keyboard. It worked on boot & whenever I plugged in a new keyboard. Now ...
0
votes
0answers
39 views

Autorepeat of key doesn't work after keymap

I used xev and xmodmap to reconfigure my right alt key to function as my left key. xmodmap -e "keycode 108 = Left" It functions as my left key now however it doesn't autorepeat on holding it down ...
1
vote
0answers
100 views

Map backtick key to Esc and tilde with xkb Ubuntu 18.04 even on applications like chrome, slack etc

I'm trying to map backtick key to Esc while shift-backtick as tilde unchanged. Here's what I've done. key <TLDE> { [Escape, asciitilde] }; // in X11/xkb/symbols/us It works all fine in ...
1
vote
0answers
55 views

Replacement for a trivial Autohotkey script

This no-brainer has been running on my Windows systems since XP: WheelUp::return WheelDown::return $NumpadSub::Send {WheelUp} $NumpadAdd::Send {WheelDown} Basically, it blocks the broken wheel of my ...
0
votes
0answers
43 views

Remap Meta key on Ubuntu terminal

I log into a remote machine through ssh and using emacs as my main editor over there. Since I am on Mac the Meta key is mapped to ESC. How do I remap it to ⌥ key?
1
vote
0answers
146 views

Remapping keys with xkb in Ubuntu 18.04

My new laptop does not have right Control key. Instead it comes with useless more-less key. I tried to remap the key using xkb. In /usr/share/X11/xkb/symbols/pc there is a following line key <...
1
vote
1answer
144 views

Mapping the extra mouse buttons to page up and page down

I am trying to map the extra mouse buttons to PgUp PgDn using xbindkeys. I found their button # using xev ButtonRelease event, serial 25, synthetic NO, window 0x4000001, root 0x191, subw 0x0, ...
0
votes
0answers
23 views

Remapping Alt to Ctrl (using xkb) [duplicate]

I've tried to remap both Alt keys to Ctrl using xkb (Ubuntu 18.04) but I failed. How can I do it correctly?
0
votes
0answers
48 views

Changing keyboard mapping

I'm pretty new to the site. I want to change my keyboard key-mapping. I use Ubuntu 16.4. By keyboard key-mapping I mean that if I type key 'a' I want a different unicode character (or characters) to ...
0
votes
0answers
36 views

Remap Keyboard Press

I have this keyboard which I love, except for one thing: it has a small backspace key. Is there any way I could remap the '\' key to backspace?
1
vote
0answers
72 views

Remapping the keyboad

Ubuntu 18.04 LTE I am trying to Remap the Right alt key with the 'down' key and the Backslash key with the the 'right' key. I've modified the 'pc' file in the xkb directory, restarted, but I did not ...
0
votes
0answers
78 views

Remapping doesn't work correctly (Ubuntu 18)

I have recently installed UBuntu 18 LTS, I´m a beginner... I have got a laptop with German keyboard but I am Italian so I basically tried to remap characters using a tutorial I have found here, this ...
4
votes
2answers
789 views

How to Remap NUMLOCK Key to be DELETE?

Because of the layout of my keyboard, I want to have numlock permanently pressed and use the numlock key as a delete key. I can't seem to get this to work. Any ideas on how to do this would be ...
4
votes
1answer
4k views

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
2
votes
2answers
391 views

Checking acpi key bindings and remapping keyboard keypress events to acpi events

I got two systems with Ubuntu 18.04.1 installed. The two have similar hardware and software configurations but one of them suspends to SBTN press event whereas the other does nothing. I checked ...
1
vote
1answer
328 views

How to set F3 F4 and F6 to copy, paste and cut?

I would like to remap or to create a shortcut for F3, F4 and F6 to copy cut and paste. Using Ubuntu 18.04
2
votes
0answers
95 views

Make Media Controls Change Brightness

On my external keyboard (Logitech K360), I have keys for volume and media control in the top row. I never use media controls, so I want to make them control my laptop's brightness. How could I unbind ...
0
votes
0answers
43 views

How can I type special characters instead of a keystroke on Ubuntu or Debian [duplicate]

I know there are solutions such as using the keypad to encode ASCII code or using special keys to map accent. But I am looking for a solution like in http://osxdaily.com/2017/03/22/type-accents-mac-...
1
vote
2answers
757 views

Mapping extra mmo mouse side buttons

I've recently purchased the Utechsmart Venus mouse: http://www.utechsmart.com/product/show/id/477/US-D16400-GM I've been unable to bind those side buttons (and the "rapid fire button near the left ...
12
votes
1answer
8k views

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.
1
vote
0answers
150 views

Remapping CAPS_LOCK on Ubuntu 18.04

I would like to do the following with my CAPS_LOCK key: Remap CAPS_LOCK+h to the left arrow key Remap CAPS_LOCK+j to the down arrow key, etc Allow CAPS_LOCK to STAY as a CAPS_LOCK key if it's just ...
1
vote
0answers
257 views

xbindkeys + xmacroplay are terribly slow on Ubuntu 18.04 Bionic

I've been using a combination of xbindkeys and xmacroplay to set up a new keyboard layer activated with the Windows key. Here's a sample: #Up "echo 'KeyStrRelease Super_L KeyStrRelease i KeyStr Up ...
0
votes
1answer
99 views

Ubuntu 18.04 not emulating windows keystroke configuration correctly when logged into a VM through xrdp

I'm facing some troublesome issues when having a user use ubuntu's (18.04) xrdp app to remote into a VM. They are logging into a windows based vm being ran by VMWare. The connection and multi-...
7
votes
3answers
342 views

How to remap a key when it's pressed twice?

Some of my keyboard keys has gone, so I’m trying to program the other keys that are still working to press the damaged keys when I press them twice. Is that possible? Is there any program that can ...
0
votes
2answers
464 views

Remap keys with modifiers on Ubuntu 18 Wayland

I am the (sad) owner of an otherwise-nice ASUS laptop where ASUS decided that it would be a great idea to replace the End key by Power, so you could accidentally poweroff your laptop when mispressing ...
1
vote
1answer
648 views

How to map a key to work like mouse button including its modifiers?

With xmodmap I can map F2 to work as left click: xmodmap -e "keycode 68 = Pointer_Button1" However, when I use shift+F2 to simulate shift left-click to select files on nautilus for example, it doesn'...
3
votes
1answer
317 views

How to map right/left click scroll down/up to F1 F2 F3 F4?

I want to map, remap or create a shortcut that: F1 : Right click F2 : Left click F3 : Scroll Down F4 : Scroll Up
2
votes
0answers
349 views

xcape slow in GNOME 3

I'm using xcape to get left Alt to emit escape when pressed & released alone (among other remappings). Unfortunately since upgrading to Ubuntu 18.04 I've noticed that it's significantly laggier ...
1
vote
0answers
362 views

How to swap Left Shift and Left Alt key on Ubuntu 18.04?

I added the following code at the end of xkb_symbols pc105 of the file /usr/share/X11/xkb/symbols/pc replace key <LALT> { [ Shift_L ] }; replace key <LFSH> { [ Alt_L ] }; It worked as ...
24
votes
2answers
11k views

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?
2
votes
0answers
415 views

Disable faulty Caps Lock key permanently

I've an old laptop with a faulty CapsLock key that switches on and off continuously. I found these commands to disable the key: xmodmap -e "remove lock = Caps_Lock" and setxkbmap -option ctrl:...
2
votes
0answers
878 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 ...
0
votes
1answer
484 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 ...
0
votes
1answer
221 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 ...
1
vote
1answer
311 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,...