Hardware - Support > Other

Modifying the Shift+Numpad behavior



When I use any text editor in Linux Lite (LL), pressing Shift reverts the keyboard Numlock state. I am used to selecting words of text with Shift and the numpad arrows keys, and the LL keyboard behavior is a bit of nuisance.

I wasn’t able to find anything in the LL forum or tutorials on this topic.

I have tried the following methods to change this keyboard behavior:

1) The file

--- Quote ---/etc/default/keyboard
--- End quote ---
seems to define the default keyboard options. Modifying the file line XKBOPTIONS=”” to 

--- Code: ---XKBOPTIONS=”numpad:microsoft”
--- End code ---
works in my case after a LL restart.

2) The file
--- Quote ---/usr/share/X11/xkb/types/numpad
--- End quote ---
seems to define the keyboard behavior, when pressing Shift and Numpad. I am tempted to play with the settings, but I’m unsure whether the LL updates overwrite this file.

3) The Terminal command
--- Code: ---setxkbmap –option ‘numpad:microsoft’
--- End code ---
combined with Application Autostart may work as well, but I haven’t tested it.

4) I have tried without success to use the
--- Quote ---Setting Editor->keyboard-layout
--- End quote ---
There I have added /Default/XkbOptions/Numpad property. I have set its type as String, and its value as ‘numpad:microsoft’, but this hasn’t worked.

Method 4 seems to be almost user friendly, especially if there have been any hints or guidance, and it should be the proper way of modifying the keyboard behavior, but it just doesn’t work and I don’t know what the problem is. 

What I am wondering is whether there is a more user friendly way to change the Shift+Numpad keyboard behavior.
And how can I modify Shift+Numpad behavior using the the XkbOptions in Setting Editor->keyboard-layout?

Many thanks.


[0] Message Index

Go to full version