Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #232418 > unrolled thread
| Started by | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| First post | 2021-03-05 20:30 +0100 |
| Last post | 2021-03-06 20:30 +0100 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.debian.user
Bullseye: Redshift and Wayland Charles Curley <charlescurley@charlescurley.com> - 2021-03-05 20:30 +0100
Re: Bullseye: Redshift and Wayland Greg Wooledge <greg@wooledge.org> - 2021-03-05 20:40 +0100
Re: Bullseye: Redshift and Wayland Charles Curley <charlescurley@charlescurley.com> - 2021-03-05 21:00 +0100
Re: Bullseye: Redshift and Wayland Teemu Likonen <tlikonen@iki.fi> - 2021-03-06 06:40 +0100
Re: Bullseye: Redshift and Wayland Wim <factotum_muth@web.de> - 2021-03-06 20:30 +0100
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2021-03-05 20:30 +0100 |
| Subject | Bullseye: Redshift and Wayland |
| Message-ID | <BPoj8-7FZ-7@gated-at.bofh.it> |
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/
[toc] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-03-05 20:40 +0100 |
| Message-ID | <BPosN-7Jb-7@gated-at.bofh.it> |
| In reply to | #232418 |
Charles Curley (charlescurley@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?
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2021-03-05 21:00 +0100 |
| Message-ID | <BPoM9-7Q0-7@gated-at.bofh.it> |
| In reply to | #232425 |
On Fri, 5 Mar 2021 14:32:38 -0500 Greg Wooledge <greg@wooledge.org> 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/
[toc] | [prev] | [next] | [standalone]
| From | Teemu Likonen <tlikonen@iki.fi> |
|---|---|
| Date | 2021-03-06 06:40 +0100 |
| Message-ID | <BPxPr-54n-3@gated-at.bofh.it> |
| In reply to | #232418 |
[Multipart message — attachments visible in raw view] — view raw
* 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
[toc] | [prev] | [next] | [standalone]
| From | Wim <factotum_muth@web.de> |
|---|---|
| Date | 2021-03-06 20:30 +0100 |
| Message-ID | <BPKMF-4kD-1@gated-at.bofh.it> |
| In reply to | #232446 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web