Monday, April 29, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 422  / 1 Year ago, fri, may 19, 2023, 8:55:50

So I want to turn capslock into ctrl. From my google-fu the command to run is /usr/bin/setxkbmap -option "ctrl:nocaps" and it works when I run it at the terminal. But when I place it on 'Startup Appliacations' the command fails to take effect. Any idea why?


More From » startup-applications

 Answers
4

On recent Ubuntu versions there's a dconf option (if you are using GNOME or Unity):



org.gnome.desktop.input-sources xkb-options


which you can set via dconf-editor or gsettings. For example,



gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"


This option is permanent across reboots.


[#26063] Saturday, May 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iething

Total Points: 49
Total Questions: 127
Total Answers: 112

Location: Luxembourg
Member since Tue, Jan 25, 2022
2 Years ago
;