Redshift Service Fails Under Wayland

  • Open
  • quality assurance status badge
Details
One participant
  • Jaft
Owner
unassigned
Submitted by
Jaft
Severity
normal

Debbugs page

Jaft wrote 1 years ago
(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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 67596@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67596
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help