Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [remapping]

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

0
votes
0answers
29 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-...
0
votes
0answers
21 views

Remap key for specific app

I want to intercept and disable the F1 key when using Libreoffice Calc. It has a keyboard mapping feature, but not for F1. I know of xmodmap, but it seems to change mappings for the entire OS. I want ...
0
votes
0answers
32 views

How do I remap Lenovo FN keys?

So apparently Lenovo's FN system is different. Everything has a keycode. Is there any way to unmap FN+F8,F9,F10,F12? Right now if I rebind the keys they also execute their original function. Say FN+...
0
votes
0answers
25 views

How do I map extra mouse buttons to Page-up and Page-down?

I've been trying the whole day. I've put on ~/.xbindkeysrc "xvkbd -xsendevent -text "\[Prior]"" b:9 "xvkbd -xsendevent -text "\[Next]"" b:8 After rebooting, when I press the mouse buttons "8" and "...
0
votes
0answers
10 views

partial remapping of keyboard: collapse modifiers except specific cases

I'm trying to use xkb to remap an Apple keyboard as follows: 1. control->control 2. command->control 3. command-c->still command-c 4. command-v->still command-c I've spent hours and ...
0
votes
0answers
57 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 ...
2
votes
1answer
164 views

How to remap keys in Ubuntu (Gnome Shell) 18.04

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

reassign win-pgup and win-pgdn key

I have a new model of the dell xps, and they unfortunately took the decision to change keyboard maps. On previous models fn-left and fn-right were mapped to home and end respectively, but now they ...
1
vote
0answers
44 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 ...
0
votes
0answers
63 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
22 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-...
0
votes
0answers
55 views

How to map scroll wheel down and up to keyboard?

I am looking for a way to use scroll wheel on keyboard. It should work continuously (keeping pressing key should scroll more and more) I tried: 1 - xmodmap, but it didn't even work discretely. 2 - ...
0
votes
0answers
12 views

Is it possible to remap bluetooth-earbud button presses?

I own a pair of OnePlus Bullets Wireless and am wondering if there's a way to set up custom button presses. For example, currently pressing the center button plays/pauses Spotify, but I'd like a ...
7
votes
3answers
166 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
1answer
145 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
84 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'...
0
votes
1answer
52 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
1
vote
0answers
114 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
148 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 ...
11
votes
2answers
3k 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?
1
vote
0answers
74 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:...
0
votes
0answers
33 views

How to remap mouse key long-press event to something else?

I followed this for remapping my mouse extra buttons. I am looking for adding long-press actions to the extra buttons while single-click action is also active. I use this functionality on Windows ...
1
vote
0answers
262 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
80 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
69 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 ...
0
votes
1answer
121 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,...
5
votes
1answer
250 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 ...
0
votes
0answers
81 views

Adding Multimedia XF86 shortcut to regular keys using xkb

I'm trying to map Media Shortcuts (XF86..) to regular keys using xkb. Here is an example: key <AD10> { [ w , W, XF86WWW ] }; Here I want to start the browser when pressing AltGr+W. Actually ...
0
votes
0answers
36 views

how to run a command line when starting the system? [duplicate]

I use the following command to remap the R Control key: xmodmap -e "keycode 105 = dead_tilde dead_circumflex" Is there a way to automate this command at system startup?
1
vote
1answer
207 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 ...
0
votes
0answers
34 views

The dot on my numeric keypad don't works

I have a keyboard with the + symbol on the keypad is small and have a dot under it. Unfortunately this dot does not work at the graphical interface, only on the console. I discovered that if I press ...
-1
votes
1answer
67 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?
1
vote
1answer
71 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 ...
4
votes
1answer
431 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 ...
0
votes
1answer
63 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) ?
0
votes
1answer
213 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 ...
0
votes
0answers
271 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....
0
votes
0answers
32 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> { [ ...
0
votes
2answers
177 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 ...
0
votes
0answers
24 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. ...
0
votes
1answer
335 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?
1
vote
1answer
457 views

Problems with remapping Shift with Up keys

I recently acquired Lenovo 510-15 and using right shift as it is proves to be very bothersome, because of the terrible layout: Poor Layout So I've tried to remap right shift and up arrow keys, by ...
2
votes
1answer
411 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 ...
1
vote
1answer
108 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.
1
vote
0answers
104 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.
1
vote
1answer
198 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.
0
votes
0answers
201 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 ...
0
votes
1answer
330 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 ...
0
votes
1answer
93 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 ...
0
votes
0answers
100 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 ...