GNU bug report logs - #67596
Redshift Service Fails Under Wayland

Previous Next

Package: guix;

Reported by: Jaft <jaft.r <at> outlook.com>

Date: Sun, 3 Dec 2023 06:18:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jaft <jaft.r <at> outlook.com>
To: 67596 <at> debbugs.gnu.org
Subject: bug#67596: Redshift Service Fails Under Wayland
Date: Sun, 3 Dec 2023 06:12:22 +0000 (UTC)
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.