Closed LRitzdorf closed 2 years ago
You can try doing sleep 500 && hsetroot -solid "#ff0000"
in a terminal, going AFK, coming back after 10 minutes and checking the color of the wallpaper. If it's red, hsetroot
works properly. If it's black, it doesn't.
Interesting — the background color applies via hsetroot
, but not the image. I'll open an issue on that project, then. Thanks for the troubleshooting tip!
Update time! I've been talking with the developer of hsetroot over in himdel/hsetroot#41, and we've determined that adding the -root
flag fixes this issue. It may have side effects in some cases, but it seems to me that this is preferable to not working at all when the screen is blanked. How would you feel about adding the -root
flag to the default hsetroot hook?
How would you feel about adding the
-root
flag to the default hsetroot hook?
I think we should keep the current hook as is for ones who have a multimonitor setup because -root
would almost always break the wallpaper for them. For example, my second monitor is a TV that is almost behind me and a wallpaper that spans the monitors won't really work.
However, -root
does serve well for your use case, so I propose creating an alternative hsetroot
hook and highlighting the pros and cons in the readme. Do you have some time and will to carry it out via a pull request?
Sure, I can do that! So, update the README and add another example hook file?
Sure, I can do that! So, update the README and add another example hook file?
Yup.
If
pacwall-watch-updates.timer
triggers while my laptop's screen is powered off (e.g. after several minutes without activity), the wallpaper seems to be un-set, leaving just a black background. Also, the systemd logs from such a run don't show anything out of the ordinary:I'm not sure if this is a
pacwall
issue or anhsetroot
one, since that's the hook I'm using (with i3). Is there a way to verify this? I'd be happy to test suggestions or provide additional logs, if that would help.