I used to be on KDE. It had night color control integrated. Then I switched to XFCE, and it did not. So I installed Redshift.

Oops! Redshift requires location access so it can automatically set the color temperature based on the sun’s position in the sky. Now it doesn’t work when the network is deactivated. And on my system, I can’t set it to redden/bluen based on the time only.

I go to AlternativeTo, to find an alternative. It looks like all of them do the same thing, or are discontinued.

Is that what everyone wants? Is that all that’s out there? Just ““smart”” programs that access your location to automagically change the colors based on astronomical events?

Even on Windows you could set the night color control based on the time. Am I living in a backwards world where Linux uses the invasive complicated way and Windows uses the private simple way?

Is there a simple program out there that can set night color control with only the time, none of that other crap?

  • BillibusMaximus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    ·
    9 months ago

    I don’t have an alternative program to suggest, but there are some workarounds for using redshift.

    First, in the config file, you can set the location provider to manual, then specify a lat/lon and it will use that location in its time calculations. I do this on my laptop, and it works well except for when I cross multiple timezones - things are obviously off a bit.

    Second, with the caveat that I haven’t tried this, it looks like you can also manually set dawn/dusk times in the config, which sounds like what you’re after.

    See man 1 redshift for more info.

  • aleph@lemm.ee
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    3
    ·
    edit-2
    9 months ago

    Am I living in a backwards world where Linux uses the invasive complicated way and Windows uses the private simple way?

    I mean, you chose xfce and that’s a DE which makes you do everything the hard way anyway.

    Both KDE and Gnome have the functionality you’re looking for straight out of the box.

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    16
    arrow-down
    2
    ·
    edit-2
    9 months ago

    Yeah I’ve always entered my location manually for both redshift and gammastep (like redshift but for wayland) in a config file because these programs can never seem to auto-detect my location on any of the devices I’ve tried them on. You don’t have to use your real location. Just put yourself in the correct hemisphere and continent and it’ll probably be ok. If putting a location in the same approximate location as your country in a local text file is too much of a privacy concern to you, then so is setting your system’s local time to your real timezone.

  • macattack@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    9 months ago

    If you know how to write scripts in bash, that is an alternative way to trigger night mode/dark themes. You can use curl wttr.in to get your local sunrise/sunset, write a simple IF statement if the time is greater than sunset/sunrise and automate it via cron/systemD.

    Alternatively, there are a few options floating around on GitHub iirc

  • TrickDacy@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    9 months ago

    Am I living in a backwards world where Linux uses the invasive complicated way and Windows uses the private simple way?

    No. Not at all. And judging by this thread, setting the location in the config file wasn’t difficult to figure out for most people.

  • DeltaWingDragon@sh.itjust.works
    cake
    OP
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    Now I’m on Cinnamon. I am using QRedshift. It works, and I can set the time manually.

    Lesson: Don’t use redshift-gtk, use QRedshift!

  • nublug@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    3
    arrow-down
    4
    ·
    9 months ago

    i just have it set to always on. there’s no reason you need the bluer light in the day and you get used to it. less eye strain is less eye strain.