Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74363 - [redshift] randr error -1 even when using redshift.service

Attached to Project: Community Packages
Opened by drws (drws) - Tuesday, 05 April 2022, 20:44 GMT
Last edited by David Thurstenson (thurstylark) - Thursday, 28 April 2022, 02:24 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

According to Wiki:
https://wiki.archlinux.org/title/Redshift#Autostart

...redshift.service should start only after the DM, preventing the "Initialization of randr failed". However, that is not the case with me. I'm using LightDM and Xfce and have enabled the redshift.service as instructed. Still, redshift.service fires too early, preventing the redshift to start. It works as expected if I manually start the service later.


Additional info:
* package version(s): 1.12-5


Steps to reproduce:
1. "systemctl --user enable redshift.service"
2. restart
3. observe "journalctl --user -u redshift.service" to confirm success or failure to start
This task depends upon

Comment by David Thurstenson (thurstylark) - Thursday, 28 April 2022, 02:24 GMT
The wiki says that redshift.service uses After=display-manager.service, but that's no longer accurate. See: https://github.com/jonls/redshift/commit/c1026be5bb51dd21d182fe545155b70adc869d61

Loading...