You are not logged in.

#1 2022-01-28 10:31:24

archieology
Member
Registered: 2022-01-19
Posts: 24

How to make a service out of Caps Lock Workaround

Hello,
I was wondering how I can make a service out of:
https://wiki.archlinux.org/title/Xorg/K … Workaround

as they recommend?

I haven't done this before and I am searching for a while now

Offline

#2 2022-01-28 14:41:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: How to make a service out of Caps Lock Workaround

Use the autostart capabilities of whatever you are using to start X. If you really want to make a service you need to use a display manager or the appropriately adjusted .xinitrc and then follow https://wiki.archlinux.org/title/Systemd/User

Note that depending on which environment you're using they might configure this themselves and you'd need to delay execution of your script until after that environment adjustment has happened, what are you using here?

Last edited by V1del (2022-01-28 14:42:27)

Offline

#3 2022-01-28 15:46:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,087

Re: How to make a service out of Caps Lock Workaround

Sanity check: do you *really* intend to use capslock as CAPS-LOCK or is this an a11y effort and you're actually looking for sticky keys?

Offline

#4 2022-01-28 16:38:02

archieology
Member
Registered: 2022-01-19
Posts: 24

Re: How to make a service out of Caps Lock Workaround

Hi,
Yes I try to use it that way but I've realized that it doesn't even work. I'm not sure what it is about. I've never heard of some of these concepts so it just takes a while for me to understand how this all works.

If I use "whereis" there is only one file called xkbcomp and it's filled with random symbols. It's in /usr/bin/...

THis IS THe PRoblem. ;-)

Offline

#5 2022-01-28 16:49:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,087

Re: How to make a service out of Caps Lock Workaround

I know what the problem is, but not what your intentions are.
capslock has historically been used because you had to apply considerable force to hold down shift and CAPITALS are one of the few ways to highlight text on typewriters.
This is no longer that case and caps are considered rude.

Modern use of caps lock are either for a11y reasons (motor disorders) or on some layouts to reach capitals because eg. "shift+ß" isn't "ẞ" but "?" - but in neither case is capslock necessarily the best approach.
Eg. https://wiki.archlinux.org/title/Access … e_keyboard and for the two or three hidden latin capitals you might find (at best), xcompose is the more versatile approach (eg. "multikey, shift+s,s" gets you the "ẞ" and obviously those macros are far more powerful in providing access to input)

Offline

Board footer

Powered by FluxBB