Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemctl restart keyd.service break the capslock mapping #897

Open
mcgaw opened this issue Dec 24, 2024 · 0 comments
Open

systemctl restart keyd.service break the capslock mapping #897

mcgaw opened this issue Dec 24, 2024 · 0 comments

Comments

@mcgaw
Copy link

mcgaw commented Dec 24, 2024

Linux 6.8.0-49-generic
Ubuntu 24.04
keyd 2.5

I have a basic config:

[ids]

*

[main]

# Remaps the escape key to capslock
esc = capslock


# Maps capslock to escape when pressed and control when held.
capslock = overload(control, esc)

It runs as a systemd service.

When the computer starts everything seems fine.

However, when I reload the service it breaks. The capskey loses the tapping escape behaviour and regains capslock (although strangely the control behaviour remains).

The output from keyd -m remains the same.

I'm not sure how to debug further. The logs don't reveal anything (same for when starting with the system and after the restart).

Presumably it's to do with X running when the service is restarted.

(Incidentally, the reason I found this out is the keyd mappings just stopped working randomly, so I started looking at restart etc. Unfortunately I didn't capture any logs.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant