You are not logged in.
Hi, everybody, I installed redshift as the wiki suggests and it worked good. After rebooting the pc, it stopped adjusting the color temperature but it didn't gave me any error.
Starting the service with systemctl status --user redshift i get:
redshift.service - Redshift display colour temperature adjustment
Loaded: loaded (/usr/lib/systemd/user/redshift.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2017-03-03 10:49:30 CET; 42min ago
Docs: http://jonls.dk/redshift/
Main PID: 6231 (redshift)
CGroup: /user.slice/user-1001.slice/user@1001.service/redshift.service
└─6231 /usr/bin/redshift
mar 03 10:49:30 adam-pc systemd[729]: Started Redshift display colour temperature adjustment.
mar 03 10:49:30 adam-pc redshift[6231]: Trying location provider `geoclue2'...
mar 03 10:49:30 adam-pc redshift[6231]: Using provider `geoclue2'.
mar 03 10:49:31 adam-pc redshift[6231]: Using method `randr'.
that's my geoclue.conf file
# Configuration file for Geoclue
# Agent configuration options
[agent]
# Whitelist of desktop IDs (without .desktop part) of all agents we recognise,
# separated by a ';'.
whitelist=gnome-shell
# Network NMEA source configuration options
[network-nmea]
# Fetch location from NMEA sources on local network?
enable=true
# WiFi source configuration options
[wifi]
# URL to the wifi geolocation service. The key can currenty be anything, just
# needs to be present but that is likely going to change in future.
url=https://location.services.mozilla.com/v1/geolocate?key=16674381-f021-49de-8622-3021c5942aff
# To use the Google geolocation service instead of mozilla's, simply uncomment
# this url while changing API_KEY to your Google API key and comment out or
# remove the url above.
#
#url=https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
# Submit data to Mozilla Location Service
# If set to true, geoclue will automatically submit network data to Mozilla
# each time it gets a GPS lock.
#
submit-data=false
# URL to submission API of Mozilla Location Service
submission-url=https://location.services.mozilla.com/v1/submit?key=16674381-f021-49de-8622-3021c5942aff
# A nickname to submit network data with. This is currently used for leaderboard:
# https://location.services.mozilla.com/leaders
# A nickname must be 2-32 characters long.
submission-nick=geoclue
# Application configuration options
#
# NOTE: Having an entry here for an application with allowed=true means that
# geoclue will not ask agent to authorize the application. This is to
# ensure that system components and applications with built-in
# authorization mechanism (e.g web browsers) do not have to be bound to
# agents.
#
# Format:
#
# # Desktop ID of application without .desktop part
# [random-app]
#
# # Allowed access to location information?
# allowed=true|false
#
# # Is application a system component?
# system=true|false
#
# # List of UIDs of all users for which this application is allowed location
# # info access, separate by ';'. Keep it empty for allowing it for all users.
# users=
[gnome-datetime-panel]
allowed=true
system=true
users=
[epiphany]
allowed=true
system=false
users=
[firefox]
allowed=true
system=false
users=
[redshift]
allowed=true
system=false
users=
I'm not using any redshift.conf file at the moment, but i tryed to use the one in the wiki and after changing the screen from 1 to 0, redshift has stopped on "Started Redshift display colour temperature adjustment."
Offline
Are you using Gnome? If yes, then are you using this package: https://aur.archlinux.org/packages/gnom … ative-git/
Offline
I tryed to install it using yaourt but it returns "make: *** [Makefile:515: install-recursive] Error 1". I cloned the repository and i run the make-zip.sh as indicated, but now I do not know how to preceed.
Offline
It sounds like you're not using makepkg, that's not a good idea. Use makepkg, and if you still have trouble, post the full output, not just the last line of the error.
See also: https://wiki.archlinux.org/index.php/Ar … Repository
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
OK, installed using makepkg -si and solved the dependency problems. But redshift, still does not work. It shows the same problem.
Offline
Did you patch gnome-settings and configure the extension?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm sorry for the delay in replying. Anyway my laptop stopped working, so i tried the hd in another laptop and redshift worked properly. Maybe it was an hardware problem.
Offline
Does the other laptop have an intel chips, so gnome runs on xorg rather than on wayland? ...
Offline
Yes, I'm using an intel chipset with xorg now.
Offline
sorry, my brains must have been on vacation when writing comment #8 - the idea was that your present notebook had an *nvidia* GPU, thus you're not running gnome on wayland *now* but were before (and therefore had the trouble)
anyway, you can check
loginctl session-status
to see whether you're presently on xorg or wayland (and if on xorg, try to switch to wayland and see whether the problem returns, so you at least got an explanation on its reason)
Offline
I am not sure I understand the comment, anyway I do not know if the old laptop (whose motherboard is broken) used xorg or wayland and it did not have a dedicated gpu. Now I'm using a lenovo g500 with an AMD gpu and redshift works well.
Checking on the lenovo the output of
loginctl session-status
is
Could not get properties: No such device or address
But using
loginctl
to get the session number and then
loginctl show-session <YOUR_NUMBER> -p Type
I get
Type=x11
So I'm using xorg.
Offline
If you are using GNOME then perhaps best to gnome-shell-extension-redshift-native-git from the AUR which will automatically install the modified gnome-settings-daemon, starts automatically, has a simple GUI, etc and works with both Xorg and Wayland. Check the wiki. That's what I use (on Wayland) and it works well.
Offline
Not a real answer to your question, but Gnome 3.24 will include similar functionality directly. They call it "Night light", see e.g. http://www.omgubuntu.co.uk/2017/02/gnom … lter-linux
Given that the release of Gnome 3.24 is in a couple of days and it will surely hit the Arch repositories in the next weeks it maybe is worth waiting for that and see if their implementation works fine instead of wasting too much time now
Offline