Closed indradhanush closed 3 years ago
Hey! This just looks like your X server isn't started yet. You shouldn't start clipmenu until your X server is launched -- you need to either not launch the unit until you're sure that's complete, or use systemd's unit ordering to order it after X11. However, there is no standard X11 unit/target, so we can't package that.
RestartSec tweaking isn't an acceptable fix -- this is a legitimate failure.
Thank you @cdown. This makes sense. I will try to tweak my service definition to start after X11.
@indradhanush This comment on a similar issue suggests just starting the user service from your .xinitrc instead of having to tweak it in order to enable it, this way you can be sure X11 has started.
First of all I want to thank the maintainer and the contributors for this project which helps me a lot in my daily workflow. Now, on boot up, the
clipmenud.service
fails to start and here's the following log:Here's my clipmenud.service file:
I believe the issue stems from the
RestartSec
being set to 500ms. And maybe setting it to2500ms
could fix the issue. Do we want to fix this in the repo? For now I have made the change to my copy of the sytsemd unit file and would be happy to send in a PR for this if there was approval to do it. I should mention that I haven't yet tested this fix as the issue only props up when I boot up and a normalsystemd restart
or asystemd start
works once I've already booted up and logged into my desktop.I am on Arch Linux + i3wm.