Linux Lite Forums

Hardware - Support => Other => Topic started by: Acer5745G on March 27, 2021, 06:40:53 AM

Title: Modifying the Shift+Numpad behavior
Post by: Acer5745G on March 27, 2021, 06:40:53 AM
Hello,

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
seems to define the default keyboard options. Modifying the file line XKBOPTIONS=”” to 
Code: [Select]
XKBOPTIONS=”numpad:microsoft” works in my case after a LL restart.

2) The file
Quote
/usr/share/X11/xkb/types/numpad
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: [Select]
setxkbmap –option ‘numpad:microsoft’ 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
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.