Re: Bullseye: Redshift and Wayland
On Saturday, 06 March at 06:40, Teemu Likonen wrote: > * 2021-03-05 12:28:53-0700, Charles Curley wrote: > > > Redshift does not appear able to work with Wayland on Bullseye. Is there > > a workaround or fix? > > Redshift is made for X Window System (on Linux): it uses X's features to > set color temperature. Here is a quote from Redshift's FAQ: > > > The Wayland protocol does not support Redshift. There is currently > no way for Redshift to adjust the color temperature in Wayland. > > Instead, you can use: > > In GNOME Shell: Settings → Display Settings → Night Light > In Plasma: System Settings → Display and Monitor → Night Color > Or you can use 'gammastep'. It's similar to redshift. > > https://github.com/jonls/redshift > > -- > /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ > // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450 -- All the best Wim
Re: Bullseye: Redshift and Wayland
* 2021-03-05 12:28:53-0700, Charles Curley wrote: > Redshift does not appear able to work with Wayland on Bullseye. Is there > a workaround or fix? Redshift is made for X Window System (on Linux): it uses X's features to set color temperature. Here is a quote from Redshift's FAQ: The Wayland protocol does not support Redshift. There is currently no way for Redshift to adjust the color temperature in Wayland. Instead, you can use: In GNOME Shell: Settings → Display Settings → Night Light In Plasma: System Settings → Display and Monitor → Night Color https://github.com/jonls/redshift -- /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450 signature.asc Description: PGP signature
Re: Bullseye: Redshift and Wayland
On Fri, 5 Mar 2021 14:32:38 -0500 Greg Wooledge wrote: > > Trying location provider `geoclue2'... > > error: XDG_RUNTIME_DIR not set in the environment. > > Could not connect to wayland display, exiting. > > What command did you run? How did you try to run it? Line wrapping ahead root@orca:~# redshift Trying location provider `geoclue2'... Using provider `geoclue2'. error: XDG_RUNTIME_DIR not set in the environment. Could not connect to wayland display, exiting. Failed to start adjustment method wayland. Trying next method... No protocol specified `RANDR Query Version' returned error -1 Initialization of randr failed. Trying next method... No protocol specified X request failed: XOpenDisplay Initialization of vidmode failed. Trying next method... No more methods to try. root@orca:~# charles@orca:~$ redshift Trying location provider `geoclue2'... Using provider `geoclue2'. Could not connect to wayland display, exiting. Failed to start adjustment method wayland. Trying next method... Using method `randr'. Waiting for initial location to become available... Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'redshift' disallowed, no agent for UID 1000. Access to the current location was denied by GeoClue! Make sure that location services are enabled and that Redshift is permitted to use location services. See https://github.com/jonls/redshift#faq for more information. Unable to get location from provider. charles@orca:~$ > > Are you typing this in a shell that you opened in a graphical terminal > window inside your Wayland session? Yes. As both root and user. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Bullseye: Redshift and Wayland
Charles Curley (charlescur...@charlescurley.com) wrote: > Redshift does not appear able to work with Wayland on Bullseye. Is there > a workaround or fix? > > Trying location provider `geoclue2'... > error: XDG_RUNTIME_DIR not set in the environment. > Could not connect to wayland display, exiting. What command did you run? How did you try to run it? Are you typing this in a shell that you opened in a graphical terminal window inside your Wayland session? Or are you trying to do this from a crontab?
Bullseye: Redshift and Wayland
Redshift does not appear able to work with Wayland on Bullseye. Is there a workaround or fix? Trying location provider `geoclue2'... error: XDG_RUNTIME_DIR not set in the environment. Could not connect to wayland display, exiting. Failed to start adjustment method wayland. Trying next method... No protocol specified `RANDR Query Version' returned error -1 Initialization of randr failed. Trying next method... No protocol specified X request failed: XOpenDisplay Initialization of vidmode failed. Trying next method... No more methods to try. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/