You are Here:
Download Linux Lite 5.6 RC1 for testing today - See Release Announcements



X Close Ad
X Close Ad
Modifying the Shift+Numpad behavior

Author (Read 1249 times)

0 Members and 1 Guest are viewing this topic.

Modifying the Shift+Numpad behavior
« on: March 27, 2021, 06:40:53 AM »
 

Acer5745G

  • New to Forums
  • *
  • 5
    Posts
  • Country: bg
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit

  • CPU: i5-460M

  • MEMORY: 4Gb

  • VIDEO CARD: GT420M
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.
 


Tags: keyboard shift numpad 
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 RC1 for testing today - See Release Announcements