Redshift avec Mageia8 RC Mate ne fonctionne pas
ai trouvé cette solution...
Environnements Graphiques / MATE

jac73 Membre non connecté
-
- Voir le profil du membre jac73
- Inscrit le : 28/12/2008
- Site internet
- Groupes :
J'ai fraichement réinstallé Mageia 8 RC avec le bureau Mate. Pour le moment, tout va très très bien , sauf redshift qui ne fonctionne pas.
(redshift et redshift-gtk installés.)
Pour info, Redshift ajuste la température de couleur de votre écran en fonction de votre environnement. Cela peut éviter la fatigue visuelle si vous travaillez devant l'écran la nuit.
lorsque je lance redshift en console, ça me donne ceci:
"[jacques@localhost ~]$ redshift
Essai du fournisseur de localisation « geoclue2 »...
Utilisation du fournisseur « geoclue2 ».
Utilisation de la méthode « randr ».
En attente de localisation initiale...
" ... et puis plus rien.
Après recherche sur le forum ici,
j'ai constaté qu'il n'y a pas de fichier redshift.conf dans mon home. Je l'ai téléchargé sur le site github ici.
Dans le /.config de son dossier personnel, Il faut créer le dossier redshift et y placer le fichier redshift.conf ( .config/redshift/redshift.conf )
Puis personnaliser le fichier redshift.conf en indiquant manuellement sa géolocalisation: coordonnées à trouver sur google maps par exemple.
On peut aussi changer les valeurs: température de couleurs , horaires etc..
Perso, je le trouve un peu trop jaune, j'ai mis temp-night à 4000 au lieu de 3500.
. Ne pas oublier de mettre redshift dans les applications au démarrage de le cession via le centre de configuration de mate.
Et redshift fonctionnera au redémarrage de la session.
Voici mon fichier redshift.conf:
Caché :
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5700
temp-night=4000
; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures.
; 1 will gradually apply the new screen temperature over a couple of seconds.
fade=1
; Solar elevation thresholds.
; By default, Redshift will use the current elevation of the sun to determine
; whether it is daytime, night or in transition (dawn/dusk). When the sun is
; above the degrees specified with elevation-high it is considered daytime and
; below elevation-low it is considered night.
;elevation-high=3
;elevation-low=-6
; Custom dawn/dusk intervals.
; Instead of using the solar elevation, the time intervals of dawn and dusk
; can be specified manually. The times must be specified as HH:MM in 24-hour
; format.
;dawn-time=6:00-7:45
;dusk-time=18:35-20:15
; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.9:0.7:0.8
;gamma-night=0.7
; Set the location-provider: 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=45.6
lon=5.9
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust only screen 0.
; Note that the numbering starts from 0, so this is actually the first screen.
; If this option is not specified, Redshift will try to adjust _all_ screens.
[randr]
screen=0
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5700
temp-night=4000
; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures.
; 1 will gradually apply the new screen temperature over a couple of seconds.
fade=1
; Solar elevation thresholds.
; By default, Redshift will use the current elevation of the sun to determine
; whether it is daytime, night or in transition (dawn/dusk). When the sun is
; above the degrees specified with elevation-high it is considered daytime and
; below elevation-low it is considered night.
;elevation-high=3
;elevation-low=-6
; Custom dawn/dusk intervals.
; Instead of using the solar elevation, the time intervals of dawn and dusk
; can be specified manually. The times must be specified as HH:MM in 24-hour
; format.
;dawn-time=6:00-7:45
;dusk-time=18:35-20:15
; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.9:0.7:0.8
;gamma-night=0.7
; Set the location-provider: 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=45.6
lon=5.9
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust only screen 0.
; Note that the numbering starts from 0, so this is actually the first screen.
; If this option is not specified, Redshift will try to adjust _all_ screens.
[randr]
screen=0
ACER Optiplex 390. Processeur: Intel Core i3-2120 3.30GHz. Carte graphique ATI Radeon HD 5400. 8Go RAM. Bureau KDE

vinceff Membre non connecté
-
- Voir le profil du membre vinceff
- Inscrit le : 04/09/2017
- Groupes :
-
Ambassadeur
-
Forgeron

Mageia 9 - Desktop gaming AMD Ryzen 5800X + 6950 XT + 32 GB ram + 2 To SSD + 3 To HDD / KDE
Ubuntu 22.04 - Thinkpad
Ubuntu 22.04 - Thinkpad

Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
Je trouve ce rapport : https://bugs.mageia.org/show_bug.cgi?id=20316
La question : le service de géolocalisation est-il activé dans Gnome ?
https://help.gnome.org/users/gnome-help/stable/privacy-location.html.en
Yves

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
Redshift-gtk ne se lance pas non plus sous Plasma sur ma machine. Je l' ai donc enlevé de mon démarrage automatique ( de toute façon, maintenant il y a le module "contrôle de la couleur de nuit" qui est intégré, cela ferait donc doublon et non je n' ai pas regardé si le système de localisation de Gnome est activé ou non

Édité par nic80 Le 28/02/2021 à 11h29

Ami age Membre non connecté
-
- Voir le profil du membre Ami age
- Inscrit le : 18/08/2012
- Site internet
- Groupes :
-
Modérateur
Redshift est une application qui ajuste la température de couleur de votre écran. Durant la soirée et la nuit, il est plus confortable pour les yeux, et bénéfique pour le sommeil, parce que les écrans émettent moins de lumière bleue. Le but de Redshift est de provoquer un changement progressif et harmonieux des couleurs de l'écran en fonction de l'heure : il ajuste la température de couleur de votre écran en fonction de votre environnement.
https://framalibre.org/content/redshift )
_______________________________________________________________________

___________________________________ Un petit clic pour Mageia ? =>> CLIQUEZ I C I :
.



___________________________________ Un petit clic pour Mageia ? =>> CLIQUEZ I C I :
.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie