Closed thornycrackers closed 5 years ago
Hi, thank you for the idea.
Right now, the daemon starts only after password prompt, this to daemonize only an 'unlocked' instance of kpmenu, anyway I like the idea that you can start before the daemon so I will implement these :)
I have implemented a daemon option, you can start it with kpmenu --daemon
.
It won't be stopped by normal user input, like a wrong password.
It can be stopped if you kill it or something goes wrong with client-server communication.
What do you think about that?
Wow! Thank you for the quick turnaround. I just compiled the latest version and updated the service file and this works perfectly now :+1: Thanks so much!
Perfect :) Is working good as systemd service too?
Yup. I've been using it all morning so far and haven't had any issues. All I changed from the above example was adding --daemon
to the command.
Good, I will release it soon :)
First off, this is an awesome little application! Works awesome! There are a couple I noticed that could be updated to make kpmenu work smoothly with daemonizing:
[Service] ExecStart=/usr/bin/kpmenu Restart=always Environment=DISPLAY=:0 Environment=XAUTHORITY=/home/thorny/.Xauthority StandardOutput=syslog StandardError=syslog
[Install] WantedBy=default.target