-
Notifications
You must be signed in to change notification settings - Fork 32
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
Autostart not only at boot time, but at plug time #20
Comments
I think it can be done but I don't have experience with systemd to make it work properly. Also not sure how the process ownership is going work the in this case (we may need to move conf to /etc? but not sure though). |
Alright, this works for me, although I am not sure if I didn't miss something in install script. |
I cannot get this to work. I do not really know about the service thing and udevadm, but it just does nothing. naga is never started. |
I've never merged this because while it worked for unplugged/plugged states (at least for me) it didn't work properly after startup. I am waiting for the main desktop environments to implement systemd graphical-session.target. |
I guess imma do an addon to be enabled/disabled at https://github.com/lostallmymoney/Razer_Mouse_Linux in some near time :P |
I am thinking maybe we should not assume that the naga mouse is gong to be plugged in all the time (in case the mouse is unplugged, the naga exec goes mad if I remember correctly). Instead of starting the daemon at boot time we should start it/stop it according with the state of the mouse.
Starting the daemon whenever the mouse is plugged and stoping it when i'ts unplugged (to change it for another mouse or switch between docked/pluged mode).
However, as the mayority of people will just have the mouse plugged in all the time without changes this is not crucial nor urgent. Just throwing ideas.
The text was updated successfully, but these errors were encountered: