Citiverse
  • [RISOLTO] Che cosa succede a Redshift?

    Ufficio Zero 11
    1 7 3 1

    R
    35
    1

    Questo non è un problema di UZ ma ho notato che da parecchie settimane Redshift non fa più il suo lavoro, perchè segnala costantemente:

    • Temperatura del colore: 0K

    • Periodo: Unknown

    Volevo sapere se siete a conoscenza del problema e della possibile risoluzione, immagino serva una nuova versione, forse gli sviluppatori nemmeno se ne sono accorti, peccato perché usando spesso il pc alla sera mi faceva comodo, spero si possa sistemare in qualche modo

  • R
    35
    1

    Controlla se hai un file di configurazione nella tua home, nella cartella nascosta .config/redshift.conf.

  • R
    35
    1

    No, il file non è presente, dovrebbe invece esserci?

  • R
    35
    1

    Si perché sono le tue configurazioni personali, forse le hai cancellate inavvertitamente. Ti metto un link, usa pure il traduttore interno di Firefox https://forums.linuxmint.com/viewtopic.php?t=372969

  • R
    35
    1

    Non ha funzionato, anzi usciva una finestra con degli errori, allora ho cancellato il file redshift.conf e poi disinstallato redshift dal gestore applicazioni, riavviato e reinstallato redshift ma è tutto come prima e il file redshift.conf non viene creato

  • R
    35
    1

    Ti metto il mio .config/redshift.conf. crea questo file nella tua home/sanford/.config , copia il contenuto qui sotto avendo l'accortezza di cambiare latitudine e longitudine con quelle dove sei tu. Il problema è che geoclue2 cerca wayland e allora non funziona e occorre dirgli dove abiti tu manualmente, puoi anche cambiare anche le altre impostazioni rimuovendo il punto e virgola (Wink all'inizio della stringa che ti interessa. Avvia redshift

    ; Global settings for redshift
    [redshift]
    ; Set the day and night screen temperatures
    temp-day=5700
    temp-night=3500

    ; Enable/Disable a smooth transition between day and night
    ; 0 will cause a direct change from day to night screen temperature.
    ; 1 will gradually increase or decrease the screen temperature.
    transition=1

    ; 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.8:0.7:0.8
    ;gamma-night=0.6

    ; Set the location-provider: 'geoclue', '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=44.9544165
    lon=10.6329344

    ; 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 screen 1.
    ; Note that the numbering starts from 0, so this is actually the
    ; second screen. If this option is not specified, Redshift will try
    ; to adjust all screens.
    [randr]
    screen=0

    Mint e uzl11 usano xorg, è geoclue che cerca wayland che appunto non c'è. Io ho usato Google Maps per le coordinate https://www.coordinate-gps.it/

  • R
    35
    1

    Ok, usando il tuo file e inserendo le mie coordinate gps adesso funziona tutto, finalmente


Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy

Il server utilizzato è quello di Webdock, in Danimarca. Se volete provarlo potete ottenere il 20% di sconto con questo link e noi riceveremo un aiuto sotto forma di credito da usare proprio per mantenere Citiverse.