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

Mouseless needs restart to work normally when I turn on my computer. #51

Open
satayyeb opened this issue Mar 4, 2024 · 1 comment
Open

Comments

@satayyeb
Copy link

satayyeb commented Mar 4, 2024

I should execute systemctl restart mouseless.service command every time I turn on my computer. Have you ever encountered this problem?

@jbensmann
Copy link
Owner

Yes I also have this problem when using an external keyboard, but not configure the devices in the mouseless config. The problem is that mouseless starts before the device for the external keyboard is there. I have not found a better way yet than waiting a second before starting mouseless, here is my service file:

[Unit]
Description=mouseless service
After=dev-input.target
Wants=dev-input.target

[Service]
ExecStartPre=/bin/sleep 1
ExecStart=/usr/local/bin/mouseless

[Install]
WantedBy=default.target

I will also add this to the README.

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

2 participants