How to install RedshiftGUI ?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
shuvashish76
Level 2
Level 2
Posts: 74
Joined: Mon Jun 28, 2021 6:38 pm

How to install RedshiftGUI ?

Post by shuvashish76 »

How to install RedshiftGUI?

Downloaded RedshiftGUI-0.2.4-Linux-x86_64-Fixed.deb from https://github.com/maoserr/redshiftgui/releases

But when I click on it , it gives this error.
Error: Dependency is not satisfiable: libcurl3
error
error
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
opensource enthusiast & chess player
User avatar
spamegg
Level 14
Level 14
Posts: 5101
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: How to install RedshiftGUI ?

Post by spamegg »

The Release page on Github says that it's from 2014. So that package libcurl3 probably doesn't exist anymore. I did a search on Mint 20.2:

Code: Select all

 ➜ apt search libcurl3
v   libcurl3-dev                                           -                                                                  
v   libcurl3-dev:i386                                      -                                                                  
i   libcurl3-gnutls                                        - easy-to-use client-side URL transfer library (GnuTLS flavour)    
i A libcurl3-gnutls:i386                                   - easy-to-use client-side URL transfer library (GnuTLS flavour)    
v   libcurl3-gnutls-dev                                    -                                                                  
v   libcurl3-gnutls-dev:i386                               -                                                                  
i   libcurl3-nss                                           - easy-to-use client-side URL transfer library (NSS flavour)       
p   libcurl3-nss:i386                                      - easy-to-use client-side URL transfer library (NSS flavour)       
v   libcurl3-nss-dev                                       -                                                                  
v   libcurl3-nss-dev:i386                                  -                                                                  
v   libcurl3-openssl-dev                                   -                                                                  
v   libcurl3-openssl-dev:i386                              -  
If you look at the source code on the Github page https://github.com/maoserr/redshiftgui/tree/master/src you see that all of the updates to the src directory (except one) were 7 or 11 years ago.
So my guess is that this release is simply outdated, and it probably wouldn't be safe to use it even if you could somehow install it.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: How to install RedshiftGUI ?

Post by Moonstone Man »

shuvashish76 wrote: Mon Aug 02, 2021 3:38 am How to install RedshiftGUI?
What version of Linux Mint are we talking about here? Mint 19.x and 20.x come with redshift and its GUI already installed.
User avatar
shuvashish76
Level 2
Level 2
Posts: 74
Joined: Mon Jun 28, 2021 6:38 pm

Re: How to install RedshiftGUI ?

Post by shuvashish76 »

Kadaitcha Man wrote: Mon Aug 02, 2021 4:24 am
shuvashish76 wrote: Mon Aug 02, 2021 3:38 am How to install RedshiftGUI?
What version of Linux Mint are we talking about here? Mint 19.x and 20.x come with redshift and its GUI already installed.
Linux Mint 20.2 Cinnamon (recently updated from 20.1 to 20.2)
It has Redshift pre-installed, which is not based on GUI :(

checked from software manager
Screenshot from 2021-08-02 14-08-41.png
Redshift (version: 1.12-linuxmint3) & Redshift-gtk (version: 1.12-linuxmint3) which seems lastest according to their github page https://github.com/jonls/redshift.
opensource enthusiast & chess player
User avatar
shuvashish76
Level 2
Level 2
Posts: 74
Joined: Mon Jun 28, 2021 6:38 pm

Re: How to install RedshiftGUI ?

Post by shuvashish76 »

spamegg wrote: Mon Aug 02, 2021 4:17 am So my guess is that this release is simply outdated, and it probably wouldn't be safe to use it even if you could somehow install it.
I'm not used to terminals that's why I wanna try the GUI version. No issues if GUI version is not available, I'll think of something :roll: as I've to use Redshift, Ill search more on google, tutorials at least for its easy configuration.
opensource enthusiast & chess player
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How to install RedshiftGUI ?

Post by Termy »

You need only install the 'redshift-gtk' package; it's already in the standard repositories, as shuvashish76 demonstrated.
Last edited by Termy on Mon Aug 02, 2021 5:02 am, edited 1 time in total.
I'm also Terminalforlife on GitHub.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: How to install RedshiftGUI ?

Post by Moonstone Man »

shuvashish76 wrote: Mon Aug 02, 2021 4:47 am ...
Just type redshift into the Mint menu.
User avatar
shuvashish76
Level 2
Level 2
Posts: 74
Joined: Mon Jun 28, 2021 6:38 pm

Re: How to install RedshiftGUI ?

Post by shuvashish76 »

Kadaitcha Man wrote: Mon Aug 02, 2021 5:02 am
shuvashish76 wrote: Mon Aug 02, 2021 4:47 am ...
Just type redshift into the Mint menu.
I mean redshift working perfectly, but it's not GUI based.
redshift
redshift
Untitled.png (8.65 KiB) Viewed 2585 times
info
info
Screenshot from 2021-08-02 14-38-03.png (10.06 KiB) Viewed 2585 times
open terminal type

Code: Select all

man redshift
it shows following info
REDSHIFT(1) General Commands Manual REDSHIFT(1)

NAME
redshift - set color temperature of display according to time of day

SYNOPSIS
redshift [-l LAT:LON | -l PROVIDER:OPTIONS] [-t DAY:NIGHT] [OPTIONS...]

DESCRIPTION
redshift adjusts the color temperature of your screen according to your
surroundings. This may help your eyes hurt less or reduce the risk for
delayed sleep phase syndrome if you are working in front of the screen
at night.

The color temperature is set according to the position of the sun. A
different color temperature is set during night and daytime. During
twilight and early morning, the color temperature transitions smoothly
from night to daytime temperature to allow your eyes to slowly adapt
over a period of about an hour. At night the color temperature should
be set to match the lamps in your room. This is typically a low temper‐
ature at around 3000K-4000K (default is 4500K). During the day, the
color temperature should match the light from outside, typically around
5500K-6500K (default is 6500K). The light has a higher temperature on
an overcast day.

In addition to the command-line tool redshift, the GUI redshift-gtk
provides an alternative interface that shows up as a notification icon
in the desktop environment.

OPTIONS
-h Display help message.

-v Enable verbose output.

-V Show program version.

-b DAY:NIGHT
Screen brightness to apply (between 0.1 and 1.0).

-c FILE
Load settings from specified configuration file.

-g R:G:B
Additional gamma correction to apply.

-l LAT:LON
Your current location, in degrees, given as floating point num‐
bers, towards north and east, with negative numbers representing
south and west, respectively.

-l PROVIDER[:OPTIONS]
Select provider for automatic location updates (Use "-l list" to
see available providers).

-m METHOD[:OPTIONS]
Method to use to set color temperature (Use "-m list" to see
available methods).
Manual page redshift(1) line 1 (press h for help or q to quit)
if press h key then following details
SUMMARY OF LESS COMMANDS

Commands marked with * may be preceded by a number, N.
Notes in parentheses indicate the behavior if N is given.
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.

h H Display this help.
q :q Q :Q ZZ Exit.
---------------------------------------------------------------------------

MOVING

e ^E j ^N CR * Forward one line (or N lines).
y ^Y k ^K ^P * Backward one line (or N lines).
f ^F ^V SPACE * Forward one window (or N lines).
b ^B ESC-v * Backward one window (or N lines).
z * Forward one window (and set window to N).
w * Backward one window (and set window to N).
ESC-SPACE * Forward one window, but don't stop at end-of-file.
d ^D * Forward one half-window (and set half-window to N).
u ^U * Backward one half-window (and set half-window to N).
ESC-) RightArrow * Right one half screen width (or N positions).
ESC-( LeftArrow * Left one half screen width (or N positions).
ESC-} ^RightArrow Right to last column displayed.
ESC-{ ^LeftArrow Left to first column.
F Forward forever; like "tail -f".
ESC-F Like F but stop when search pattern is found.
r ^R ^L Repaint screen.
R Repaint screen, discarding buffered input.
---------------------------------------------------
Default "window" is the screen height.
Default "half-window" is half of the screen height.
---------------------------------------------------------------------------

SEARCHING

/pattern * Search forward for (N-th) matching line.
?pattern * Search backward for (N-th) matching line.
n * Repeat previous search (for N-th occurrence).
N * Repeat previous search in reverse direction.
ESC-n * Repeat previous search, spanning files.
ESC-N * Repeat previous search, reverse dir. & spanning files.
ESC-u Undo (toggle) search highlighting.
&pattern * Display only matching lines
---------------------------------------------------
A search pattern may begin with one or more of:
^N or ! Search for NON-matching lines.
^E or * Search multiple files (pass thru END OF FILE).
^F or @ Start search at FIRST file (for /) or last file (for ?).
^K Highlight matches, but don't move (KEEP position).
^R Don't use REGULAR EXPRESSIONS.
---------------------------------------------------------------------------

JUMPING

g < ESC-< * Go to first line in file (or line N).
HELP -- Press RETURN for more, or q when done


So what I'm trying to say is, Redshift is totally terminal-based that's why it's hard to configure :(
opensource enthusiast & chess player
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How to install RedshiftGUI ?

Post by Termy »

shuvashish76 wrote: Mon Aug 02, 2021 5:19 am ...
Oh, I see what you mean. I suppose it is lackluster when it comes to configuring Redshift.

I wrote and use redshifter(1), which is basically a wrapper for Redshift, allowing you to easily and manually control Redshift, if that's what you like. The idea behind redshifter(1) is to assign it to keyboard shortcuts. For example, when I press Win + 0, it raises the temperature by 500K. It also sets your last used setting when you log back in.

How you configure keyboard shortcuts will depend on your installation of Linux. Likely, you'll get access to that stuff from your Menu, maybe in Settings. While redshifter(1) is effectively a command-line tool, it was not really written to even run from a terminal, it was written to be assigned to keyboard shortcuts.

As with most command-line tools, you can use redshifter -h for brief usage information, or man redshifter for its man page.
Last edited by Termy on Mon Aug 02, 2021 5:36 am, edited 1 time in total.
I'm also Terminalforlife on GitHub.
User avatar
shuvashish76
Level 2
Level 2
Posts: 74
Joined: Mon Jun 28, 2021 6:38 pm

Re: How to install RedshiftGUI ?

Post by shuvashish76 »

For future reference, I'm posting here QRedshift: https://cinnamon-spices.linuxmint.com/applets/view/313 (source code: https://github.com/raphaelquintao/QRedshift) which is a really good GUI based Redshift fork.

easy to install: go to system settings> Preferences> Applets> Download> search QRedshift & install :D

Don't forget to disable Redshift if you are using QRedshift. From my personal experience if by mistake you lowered the brightness to so low that nothing becomes visible then don't panic, simply increase the monitor brightness & contrast to 100% from hardware buttons & set your QRedshit brightness.
opensource enthusiast & chess player
User avatar
shuvashish76
Level 2
Level 2
Posts: 74
Joined: Mon Jun 28, 2021 6:38 pm

Re: How to install RedshiftGUI ?

Post by shuvashish76 »

Termy wrote: Mon Aug 02, 2021 5:33 am
shuvashish76 wrote: Mon Aug 02, 2021 5:19 am ...
Oh, I see what you mean. I suppose it is lackluster when it comes to configuring Redshift.

I wrote and use redshifter(1), which is basically a wrapper for Redshift, allowing you to easily and manually control Redshift, if that's what you like. The idea behind redshifter(1) is to assign it to keyboard shortcuts. For example, when I press Win + 0, it raises the temperature by 500K. It also sets your last used setting when you log back in.

How you configure keyboard shortcuts will depend on your installation of Linux. Likely, you'll get access to that stuff from your Menu, maybe in Settings. While redshifter(1) is effectively a command-line tool, it was not really written to even run from a terminal, it was written to be assigned to keyboard shortcuts.

As with most command-line tools, you can use redshifter -h for brief usage information, or man redshifter for its man page.
Awesome✌️ So Citro, DEB package, script method & terminal one-liner method all are separate right? If I install the DEB (looks easy for me) then all set, no need to follow other methods?

I'll surely try it out. thanks for sharing.🙏🏿
Though I'm.not used to terminal & hate to use it, I'm sure I'll love it after following your youtube. Shoutout: Terminalforlife ❤️
opensource enthusiast & chess player
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How to install RedshiftGUI ?

Post by Termy »

shuvashish76 wrote: Mon Aug 02, 2021 5:58 am ...
:) I appreciate that, but if you hate the terminal, you'll probably hate my channel, as it's primarily about terminal stuff, hence the name. ;)

You can use the Debian package for Redshifter, if you like, but it's probably very out of date. I stopped building Debian packages quite some time ago, as it was far too much work and not many were using them. I recommend using one of the one-liners shown on the page I linked, as it's super EZ and doesn't require you to install cito(8).

I probably have a few videos on Redshifter, so check my 'TFL Programs' playlist, if you're struggling. Unfortunately, I can't guide you through setting keyboard shortcuts in your environment, because I'm not familiar with those environments (terminals, remember? :lol:), but I've no doubt someone here will chime in to help with that.

Here are the commands I use, and the keys to which I assign them:

Win + 0: redshifter raise 500
Win + 9: redshifter lower 500
Win + 8: redshifter reset

If you want finer control, you could pick 100 instead of 500, or use whatever you like.

Uninstalling Redshifter should be EZ with:

Code: Select all

sudo rm -v /usr/bin/redshifter /usr/share/man/man1/redshifter.1.gz /usr/share/bash-completion/completions/redshifter
There should be a bit in the documentation for that, but there wasn't — my bad. I've improved the instructions, because they were quite old.
I'm also Terminalforlife on GitHub.
newlyminted7
Level 5
Level 5
Posts: 558
Joined: Sat Jan 02, 2021 4:44 pm

Re: How to install RedshiftGUI ?

Post by newlyminted7 »

And you might consider setting a manual location to stop redshift from incessantly sending your location to an online service (every 10 mins or so):
viewtopic.php?p=1626300#p1626300
Locked

Return to “Beginner Questions”