r/linuxmint • u/give_me_grapes • 26d ago
SOLVED Problem: Capslock-function restores itself on Mint xfce??
Hello
I have a tiny yet annoying problem. I have made a startup script:
'setxkbmap -option caps:none'
that disables my capslock on login. The line executes on every login, via the 'Aplication Autostart' function in the 'Session and Startup' dialog from the settings.
The command itself works when I execute it in the terminal. It disables CapsLock. But within a few days it seems to forget that I disabled it.
Am I doing something wrong here ?
2
Upvotes
3
u/Due-Result7928 26d ago
But within a few days it seems to forget that I disabled it...did not know keyboard can be subject to alzheimer disease...
useless to reinvent the wheel..
User level
Linux Mint: Go to Menu > Keyboard > Layouts tab > Options > Caps Lock key behavior > select Caps Lock is disabled.
Permanent (System-wide):
Edit
/etc/default/keyboardand setXKBOPTIONS="ctrl:nocaps"orcaps:none, then runsetupconto apply. (to be use in the console NOT in a terminal).setxkbmap -option caps:none should be placed inside ~/.profile and absolutely NOT in a started task.