I updated my Ubuntu to 18.04 and now when I change the input language (either with the shortcut or by selecting the language from the top right) the scroll lock toggles, which causes my keyboard to turn on and off the blacklight every time I change the input language. I tried to replace the
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
to
XKBOPTIONS="grp:alt_shift_toggle"
from /etc/default/keyboard
but didn't work.