Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-11-20 09:25:01

prem
Member
Registered: 2021-11-14
Posts: 4

Xkb remap after automatic suspend

Hello.

I want to set Capslock as an extra Ctrl key. In Settings Manager > Session and Startup > Application Autostart, I added the following command to be executed at login:

setxkbmap -option "ctrl:nocaps"

This works well. However, when the computer gets suspended automatically due to inactivity, the Capslock goes back to being Capslock upon wake-up. Although I can run the above command on the terminal and get the desired remap, this shouldn't be the optimal solution.

If you are going to suggest an alternative way to remap, please note that I do not have root access.

Thanks!

Offline

#2 2021-11-20 10:14:18

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: Xkb remap after automatic suspend


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 517.04 KiB (Peak: 528.91 KiB) ]