Tuesday, October 29, 2019

XFCE: Set Keyboard Layout and Disable Caps Locks


Usually set my keyboard layout and configuration by editing the file: /etc/default/keyboard, like this:

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="alt-intl"
XKBOPTIONS="ctrl:nocaps"
BACKSPACE="guess"


But, and I really don't know why, this time on Buster it didn't work.
So, time for a Plan B... I had to do it using setxkbmap and setting it up thru Settings > Session and Startup > Application AutoStart and adding two entries, one for the language and other for the Caps Locks.
The entries look like this:

/usr/bin/setxkbmap -layout us -variant intl
/usr/bin/setxkbmap -option ctrl:nocaps

Labels: , , , , , ,

0 Comments:

Post a Comment

<< Home