Redshift Service Fails Under Wayland

  • Open
  • quality assurance status badge
Details
One participant
  • Jaft
Owner
unassigned
Submitted by
Jaft
Severity
normal
J
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
BY5PR07MB702944C2907484F8F00394949987A@BY5PR07MB7029.namprd07.prod.outlook.com
I'm running an XWayland environment and have discovered that using the redshift-wayland package with it fails.
It was suggested to me that the requirement for X11 was likely part of the problem so I tried removing (requirement '(x11-display)) fromredshift-shepherd-service but that resulted in an error from string-append (trying to append #f).

So I commented out the adjustment of the DISPLAY variable in #:environment-variables and that resulted in, finally, no errors but
Redshift, nevertheless, failing.

Since the environment variable was returning #f, I hardcoded it to "0:0" (I haven't tested if this works without the DISPLAY variable) and set WAYLAND_DISPLAY to "wayland-1" and that seems to've done the trick.
I'm not sure how this would be adjusted but it seems a Wayland option need to added to the service so non-X environments can, also, utilize the service.
Attachment: file
?