Tired of hitting CapsLock by mistake?

Moderator: BarryK

Post Reply
tallboy
Posts: 70
Joined: Fri Aug 14, 2020 5:41 am
Been thanked: 10 times

Tired of hitting CapsLock by mistake?

Post by tallboy »

Well, on my laptop, I am. Or rather- I was!
An easy way is to turn CapsLock completely off. You can do it with this command in the terminal:

Code: Select all

setxkbmap -option ctrl:nocaps

Downside is that you have to run the script every time you boot up. According to many posts, in different sites, about this script, you cannot just put it in bash, or in my case, in /etc/profile.local in my Daedalus. It just won't work.
So, I used my geany and made a script named capsoff.

Code: Select all

#!/bin/sh
setxkbmap -option ctrl:nocaps

I placed the script in /root/Startup, where it is executed after X-desktop has loaded. Now it runs at every bootup, and CapsLock is gone! :-)
Remember to save the session after this modification.

tallboy

Post Reply

Return to “EasyOS”