6

I updated my Xubuntu 12.04 xfce 4.8 to xfce 4.10 and now when I switch keyboard layouts it activates scroll lock.

How can I disable scroll lock when I switch layout?

Zanna
  • 70,465
user225130
  • 101
  • 1
  • 5

2 Answers2

7

This helps sometimes, but if not:

Read the configuration in

dconf read /org/gnome/desktop/input-sources/xkb-options

Then remove the 'grp_led:scroll' part and write it back like so:

dconf write /org/gnome/desktop/input-sources/xkb-options "['grp:alt_shift_toggle', 'numpad:microsoft']"

Please note that tools like gnome tweek may restore the options.

Also' make sure your .profile or .bashrc do not contain settings that may restore the option..

QT-1
  • 1,402
4

Problem solved.

sudo -H gedit /etc/default/keyboard

change

XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"

to

XKBOPTIONS="grp:alt_shift_toggle"

save, exit, and reboot.

Zanna
  • 70,465
user225130
  • 101
  • 1
  • 5
  • Problem started after switching to 18.04. The solution above worked after restrt' but after a terminal is opened the behaviour regresses and the LED is blinking again.

    Seems like unpredictable behavior of this "feature"

    – QT-1 Sep 01 '18 at 18:25
  • but this is not working after restart – jerinisready Oct 16 '19 at 13:07