S
S
Solli862015-01-17 13:04:16
linux
Solli86, 2015-01-17 13:04:16

How to remap Control_R under Linux Mint 17 (Cinnamon)?

There is an A4tech keyboard I
img.asp?toUID=%7B63C49F6C-D5DF-E111-B978
really like the laptop layout (like on my Samsung rv509), but unlike the laptop, it does not have Control-a on the right, in its place is Insert.
Found a way in Russian Ubuntu forum forum.ubuntu.ru .
also read on wiki.archlinux.org .
Output keycode on the Insert key

$ xmodmap -pke | grep Insert
keycode  90 = KP_Insert KP_0 KP_Insert KP_0
keycode 118 = Insert NoSymbol Insert

It is not possible to assign the right Contral to the Insert place.
I understand that this is due to the fact that this is a modifier?
If just assign Control_R to .Xmodmap
keycode 118 = Control_R
add Control = Control_R

and apply...
$ xmodmap ~/.Xmodmap
Then everything works until Xserver is restarted... Tell me
how to fix the result?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Solli86, 2015-01-18
@Solli86

Found a dubious but working way to solve the problem.

$ cd .config/
$/.config $ touch xmodmap.sh
$/.config $ chmod 777 xmodmap.sh
$/.config $ vim xmodmap.sh

VIM or Nano to taste.
#!/bin/bash
xmodmap ~/.Xmodmap
Exit 0

Then I added this script to the startup menu with a timeout of 1 second after the start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question