mouseless icon indicating copy to clipboard operation
mouseless copied to clipboard

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

Open satayyeb opened this issue 1 year ago • 1 comments

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

satayyeb avatar Mar 04 '24 06:03 satayyeb

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.

jbensmann avatar Mar 05 '24 19:03 jbensmann