K
K
KrePavel2014-12-24 08:28:15
linux
KrePavel, 2014-12-24 08:28:15

How to remap ENTER key execution to RSHIFT in Linux Ubuntu 14.10 using Bash or Python?

I have a laptop with a stripped down keyboard and Linux Ubuntu 14.10. The only Enter key does not work. I would like to change Enter and RShift, but so far it does not work. Do not send any command in the terminal. In /usr/share/X11/xkb/keycodes evdev, swapping 36 and 62 codes also did not bring anything. Tell me who knows.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2014-12-24
@nazarpc

You can strain xbindkeys and xdotool.
On the Internet it is written how to use, for example, xdotool is generally elementary:
The first one catches pressing, the second one simulates.

K
krypt3r, 2014-12-24
@krypt3r

Try
$ xmodmap -e 'keycode 62 = Return'

V
Vlad Zhivotnev, 2014-12-24
@inkvizitor68sl

In the terminal, you can press ctrl-o instead of enter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question