QRedshift

UUID: qredshift@quintao
Last edited:
1 week ago 2021-04-07, 02:21
Last commit: [1cda25b4] Updated translations for various applets (#3719)

Sets brightness, gamma levels and color temperature with Redshift. This applet conflicts with redshift-gtk, make sure you remove it.

README

Close

QRedshift

A Cinnamon applet that sets brightness, gamma levels and color temperature with Redshift.

Original Repository: https://github.com/raphaelquintao/QRedshift

Buy me a coffee

  • PayPal
  • Bitcoin: 1NaiaFcVGrrMs9amjyb4aVV1dJoLfdKe3Q

Features

  • Powerfull Interface.
  • Scroll actions on panel icon.
  • Keyboard Shortcuts.
  • Temperature from 1000k to 9000k.
  • Gamma from 0.5 to 5.
  • Custom location option.
  • Ready to Redshift 1.12

Installation

  1. Install Redshift:
    • Debian/Ubuntu/Linux Mint: sudo apt-get install redshift
    • Red Hat/Cent OS/Fedora: sudo dnf install redshift
  2. Download zip from this link and extract .zip archive to ~/.local/share/cinnamon/applets
    • Or automatically download it from Cinnamon Applets download tab.
  3. Enable the applet in Cinnamon settings
  4. Make sure you remove redshift-gtk sudo apt-get remove redshift-gtk
  5. ~/.config/redshift.conf may conflict with this applet, it is highly recommended removing it.
    • Applet will show a warning to remove it.
  6. Make sure you disable redshift service systemctl mask --user redshift.service
    • Applet will automatically attempt to disable the default redshift service.
    • If you want to enable it again, run systemctl unmask --user redshift.service

Changelog

  • 1.6.0
    • Added manual night-time option.
    • Fixed some issues with Debian.
  • 1.5.5
    • Fixed icon blinking when using symbolic icon.
  • 1.5.4
    • Fixed: "This applet contains function calls that could potentially cause Cinnamon to crash or freeze."
  • 1.5.3
    • Fixed some issues with Debian.
      • Automatically disable redshift default service.
    • Removed default keyboard shortcuts.
    • Added translations:
  • 1.5.2
    • Added keyboard shortcut to increase brightness <Control>Page_Up
    • Added keyboard shortcut to decrease brightness <Control>Page_Down
    • Added keyboard shortcut to increase temperature <Control><Shift>Page_Up
    • Added keyboard shortcut to decrease temperature <Control><Shift>Page_Down
    • Added support to lower gamma.
    • Added option to use a symbolic icon.
  • 1.5.1
  • 1.5
  • 1.4
    • Fixed icon scale.
    • Added support to version 4.3 and 4.4

Screenshots

Log In To Comment!

68 Comments

kosakepferd
kosakepferd-1 week ago
I've only been using Linux Mint on my laptop for a few weeks. One of the first programs I installed was QRedshift. I really like the program, but I have a problem: when I set the autoupdate interval to 20 seconds, I have a short jerk every 20 seconds in all videos (Youtube, Vimeo, Kodi). It took quite a long time to figure out that QRedshift is the cause. What exactly is the update interval? What exactly is being updated?
Aleksandr Strelov
I remember some time ago the applet description had this warning about potential freezes. Now it doesn't. Still causes freezes though.
Aleksandr Strelov
I have exactly same problem with this applet. System just freezes for 0.5 sec every update. redshift-gtk from redshift package works flawlessly and has tray icon as well.
JakubRimal
JakubRimal-1 month ago
Hi, in one of the latest updates this started to happen: If "Use symbolic icon" is switched on, the "normal" (red) icon blinks instead of the symbolic one every time the applet updates (so in the interval of "Update interval (Sec.)"). It would be nice to have this fixed. Thank you!
Raphael Quintão
Raphael Quintão-1 month ago
Thanks for the report, i will take a look at that. Can you open a issue on github: https://github.com/raphaelquintao/QRedshift It is much better for us to keep in touch, and keep track of the bugs...
JakubRimal
JakubRimal-1 month ago
Thank you for the fix! Yes of course next time I'll open an issue on GitHub, I'm sorry I realized that too late.
didier-linux
didier-linux-1 month ago
Dear Raphael Quintao, Thanks a lot for this great application, since I use it, I can't do without. I did an update of the latest version (1.5.4 (2021-02-24 22:37:53) yesterday and observed a bug since the update : first method: changing manually "temp" or "bright" cursors with lclick on mouse, slip and release mouse does not change temp nor bright. After moving the cursor this way, temp or bright are change only after performing a "reload applet" but, second method, changing manually "temp" or "bright" cursors by left clicking directly on the cursor bar works to the condition the first method as not been tried before. This bug occurs only since the version 1.5.4, and occurs either with day or night cursors. I did not change any options before and after the update. Thanks a lot If you could fix this bug, because I love Qredshift. My Cinnamon version is 4.8.6, under Mint LMDE 4 Debbie distribution (Debian 10). best regards, Didier
Raphael Quintão
Raphael Quintão-1 month ago
With scroll still working?
Raphael Quintão
Raphael Quintão-1 month ago
Hi. Thanks for the report. I will take look on that this week end.
didier-linux
didier-linux-1 month ago
Hello Raphael, sorry I missed your answer, thanks a lot for your quick reply ! It does not work by scrolling the mouse. I am available for every test you need I perform.
Raphael Quintão
Raphael Quintão-1 month ago
In Mint i don't have that problem, people report a lot of problems in Debian, because they use the testing repository, and that beta and alpha packages has a lot of bugs and testing features. Is hard for me to keep update with this. But anyways i will make a clean installation of Debian and try to figure out whats happening, Can you open a issue on github: https://github.com/raphaelquintao/QRedshift It is much better for us to keep in touch, open o issue with the same text of you first post.
didier-linux
didier-linux-1 month ago
Hello, I opened an Issue at first on github before to writte you but as there was no repply, I directly contact you after: my github is here : https://github.com/linuxmint/cinnamon-spices-applets/issues/3660 My distribution is MINT LMDE 4, this is the Mint Debian Edition. This is a real debian 10 stable (buster) based distribution including backports and with additionnals Mint packages as you can see on my source.list, there is no testing or sid repository: deb http://packages.linuxmint.com debbie main upstream import backport #id:linuxmint_main deb https://deb.debian.org/debian buster main contrib non-free deb https://deb.debian.org/debian buster-updates main contrib non-free deb http://security.debian.org buster/updates main contrib non-free deb https://deb.debian.org/debian buster-backports main contrib non-free As I explained before the previous version of Qredshift worked perfectly on the same distribution. Thanks to test on Debian 10, since if it works on debian10, I see no reason not to work on LMDE4 . I also did what you recommand on "installation" section, removing a redshift-gtk package and disable redshift ...
Charlie-Harper
Charlie-Harper-2 months ago
What would it take to bring this applet to Mate Desktop? Or at least: is it possible to add to the applet that already exists in Mate (redshift-gtk) the functionality to change the values with the mouse wheel? (Sorry for the possible ignorance, I am not a programmer).
LinuxOnTheDesktop
LinuxOnTheDesktop-3 months ago
Thanks for your applet. There are problems with the how the applet is described within the Cinnamon 'download' window. To wit: there is a '.n' instead of a space; there is a missing space; the comma in ', make sure you remove it' is ungrammatical; and the 'it' within that phrase is slightly ambiguous.
Juan-Lutz
Juan-Lutz-4 months ago
Under my view is the best Redshift GUI configuration applet ! It seems it works fine in LM 20 with Cinnamon 4.6.7. (till now). The only ( and very important one ) feedback is that installed in LM 20 appear as an applet that can cause Cinnamon to crash ! It is really not possible to update it to the Cinnamon Version 4.6.7 ?
Juan-Lutz
Juan-Lutz-4 months ago
oh .... an additional best thing is that "geoclue" is not used. For instance redshift-gtk sometimes does not find the location and stop to work !
Andrei Miculita
Andrei Miculita-4 months ago
Sadly, the filter disappears and the whole screen flashes when another applet is added to the same panel, or an applet is moved. Very distracting. The ability to specify temperatures is what's keeping me from using (non-Q) Redshift.
JakubRimal
JakubRimal-5 months ago
Thank you very much for this great applet but please consider removing default keyboard shortcuts as they are system-wide! It takes me ages (see https://forums.linuxmint.com/viewtopic.php?f=208&t=334381) to realize why Ctrl + PageUp stopped working... Thanks! :)
Z.
Z.-4 months ago
I ran into the same problem, but actually you can unset them in the app settings (click the gear icon at the bottom, you'll end up on what we see in the screenshots, the third tab is for shortcuts).
mikenest
mikenest-5 months ago
Debian with Cinnamon 4.6.7 works just fine. Russian translation would be appreciated.
big-fishh
big-fishh-6 months ago
Applet doesn't work on Mint 20. I've removed redshift-gtk and I still get the error about the conflict between gtk and qredshift
thoklente
thoklente-6 months ago
Thanks for the great App. I changed settings-schema.json and applet.js on my machine to have always steps of 10 for the brightness (with keyboard and mouse). Seems a better choice to me then increments of only 1.
realtek2017
realtek2017-8 months ago
What’s the theme in the background of the screenshot?
Raphael Quintão
Raphael Quintão-8 months ago
A custom theme i made for myself!
MaxDaniels77
MaxDaniels77-9 months ago
I have a sugest, when you set in night mode and try to adjust using scroll, moves the day config, and dont make any change in the actual mode. i really like your app!
whatistime
whatistime-10 months ago
any possibility to have this awesome applet work across dual monitors?
Michael Spencer
Michael Spencer-7 months ago
I encountered this same issue, and (assuming you're using randr mode) it appears to be related to randr's "crtc" setting overriding the "screen" setting. The "screen" and "crtc" settings are used to modify randr's default of adjusting all displays simultaneously. The fix is to edit ~/.local/share/cinnamon/applets/qredshift@quintao/assets/base.conf and *remove* the following two lines under "[randr]" screen=0,1,2 crtc=0,1,2 Technically I only had to remove the crtc line, but there's no reason to be hard-setting the target screens when the default is to adjust them all.
Michael Spencer
Michael Spencer-7 months ago
Alternately, you can comment out the lines if you don't want to lose them by prefixing them with a semi-colon (INI format): [randr] ;screen=0,1,2 ;crtc=0,1,2 Note that you need to right-click on the applet and select "Reload Applet" from the popup menu after making changes.
Raphael Quintão
Raphael Quintão-7 months ago
This is the best way to do this! I will fix that in the next update. Thanks for report.
navaare
navaare-9 months ago
1)(radr only adjustment) Hit at terminal: xrandr 2)Copy signature of every next monitor to add Like HDMI-2 DP-2 printed on the screen 3)Find installation folder of your applet mine was ~/.local/share/cinnamon/applets/qredshift@quintao/applet.js 3) Open in any text editor applet.js after -> this.doCommand(cmd); following line for every next monitor: GLib.spawn_command_line_sync(`xrandr --output DP-2 --brightness ${this.opt.dayBrightness / 100} --gamma ${this.opt.gammaMix}:${this.opt.gammaMix}:${this.opt.gammaMix}`); 4) Click Reload applet 5) Now both monitors have gamma and brightness adjusting Colours are usually set fixed so make no sense to change it
Raphael Quintão
Raphael Quintão-8 months ago
That not the best handle it. it should work normal for multiple monitors.
Raphael Quintão
Raphael Quintão-8 months ago
the best way to*
Raphael Quintão
Raphael Quintão-8 months ago
the best way*
navaare
navaare-8 months ago
You don't have a choice if redshift out-the-box does not handle multiple monitors
Raphael Quintão
Raphael Quintão-10 months ago
Try change the adjustment method.
ParadingLunatic
ParadingLunatic-10 months ago
Looks like it's not compatible with the current version of Cinnamon on Manjaro (4.6.2). "error t=2020-06-01T22:01:20Z [qredshift@quintao]: Extension is not compatible with current Cinnamon version"
Raphael Quintão
Raphael Quintão-10 months ago
Fixed in version 1.5.1
Surja Gain
Surja Gain-8 months ago
Hi, really a fan fan of this applet, it truly is one of the most useful ones. But when I install this on Linux Mint 20, Cinnamon version 4.6.6, the Applet dialog box displays a message "This applet contains function calls that could potentially cause Cinnamon to crash or freeze". I would be grateful if you could confirm that this applet will not cause Cinnamon to freeze and force me hard reset the system. Thanks again for this wonderful application.
Raphael Quintão
Raphael Quintão-7 months ago
Relax its just a default message from cinnamon, when you use some specific apis. It can freeze of course, but probably you will not need to hard reset the system.
Manish Sinha
Manish Sinha-10 months ago
Nicely done, thank you!
ivanaponi
ivanaponi-10 months ago
Why do we have TWO redshifts?
Keith Brandenburg
Keith Brandenburg-11 months ago
Dang typo I cant fix down there. I meant I have NO keyboard buttons for brightness.
Keith Brandenburg
Keith Brandenburg-11 months ago
I spent hours searching for a good way to adjust screen brightness using an applet (I have to keyboard buttons for brightness) and this was the best (only really) option I found, so thank you so much for giving me brightness controls in an applet and giving redshift all the options I love it! Thanks team!
Surja Gain
Surja Gain-11 months ago
Thank you very much for this applet, it is far better than what comes with default in Linux Mint 19 and makes it easy to adjust the options. I hope it you keep it updated so that it works with the subsequent Cinnamon and Linux Mint releases. Thanks a lot again and take care :)
ben2talk
ben2talk-11 months ago
Nice. I appreciate having the option to dim the screen (good when I need to disable my dark theme) at the touch of a brightness key on the keyboard and scroll to fine tune it. No need for night settings, or location, turned that off. Nice options... I also disagree that automatic adjustments are really a good idea given that most of us use our machines indoors where lighting is pretty constant (e.g curtains closed lights on, or curtains open daytime - requiring a simple switch)... however, people do like fancy automated settings despite not using a sensor to detect the environment.
skoufaki
skoufaki-11 months ago
amazing thank you! so far I've done it all via terminal. would like to donate a little bit for your effort. now most perfect would be if we were able to adjust the values automatically accordingly to a given time.
Raphael Quintão
Raphael Quintão-10 months ago
Thanks! Now you can donate if you want. =D
Draconicrose
Draconicrose-1 year ago
I like it. Please add the ability to use a symbolic icon instead of the red icon though.
der-elektrotechniker
QRedshift is a really great applet! Thank you so much for it! Unfortunately it works only on one monitor for me. When I enter e.g. "redshift -O 3500 -b 0.8" in the normal command-line, both monitors are redshifted and darker. But with the applet only one. I'm using Linux Mint 19.3 Cinnamon with two 4K-monitors from LG. Connected by Displayport-Cables. My graphics-card is Intel UHD Graphics 630. I really hope, you can fix that. Thank you!
William Da Silva
William Da Silva-1 year ago
Try changing the "Adjustment Method" in the configurations menu. I had a similar problem, and setting the adjustment method to vidmode fixed it for me.
Alexander Sobyanin
Alexander Sobyanin-10 months ago
Thank you, vidmode works and all screens's temperature changes, but I can't disable it. I can change the temperature to about the same values as disabled, but toggle doesn't work.
anantDD
anantDD-11 months ago
Thanks. Solved my prolem too. :)
Andrés Del Carpio
Itś working great on Manjaro. The UI is really cool too. Props.
spieriz
spieriz-1 year ago
It's great applet! Really helps during work at evening and night. Unfortunately I'm unable to launch applet since last it's update (I guess from 1.4 to 1.5) - only got message "Something went wrong while loading, report issue to its developer". I'm using Linux Mint 19.3 with Cinnamon 4.4.8.
Raphael Quintão
Raphael Quintão-1 year ago
I tested here, with 4.4.8 and is all working fine. Try delete the config files.
someone1233
someone1233-1 year ago
I came here to give it a star. Thanks redshift :D
claudiux
claudiux-1 year ago
Fabulous applet! A must have! Thank you, Raphael, for our eyes.
aroumeliotis
aroumeliotis-1 year ago
It's a must have app! Especially if you want to use the laptop in bed with low lighting. Unfortunatelly it stopped working after mint upgrade to 19.3 Cinnamon 4.4.5
Raphael Quintão
Raphael Quintão-1 year ago
Thanks ! What happens in that version?
aroumeliotis
aroumeliotis-1 year ago
It's apparently just a version compatibility issue. I just edited the json with the metadata to include cinnamon 4.4. The applet utility still has a notification saying that this app "contains function calls that could potentially cause cinnamon to crash", but runs fine for now.
Raphael Quintão
Raphael Quintão-1 year ago
Good to know! That message is normal.
mosge
mosge-1 year ago
Correction. Does not work in Cinnamon 4.2.4
Raphael Quintão
Raphael Quintão-1 year ago
Works normal on my 4.2.4 with Debian.
Raphael Quintão
Raphael Quintão-1 year ago
What happens in that version?
mosge
mosge-1 year ago
Work great and, yes, the icon it's a lot bigger than the icons of other applets.
N1vBruno
N1vBruno-1 year ago
This applet is awesome, thanks. I'd just like to request, if possible, to implement scaling to the icon. It's a lot bigger than the icons of other applets and I didn't found a way to resize it (the options in panel settings resize the other applets but not QRedshift).
Raphael Quintão
Raphael Quintão-1 year ago
Fixed on version 1.4.
Hanial Li
Hanial Li-1 year ago
work great