SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-11-03 20:52:51

chameleon
UK #! Guy
From: Luxembourg
Registered: 2009-01-13
Posts: 615
Website

Redshift

Has anybody experienced Redshift?

redshift_icon_256_150x150.png

http://jonls.dk/redshift/

Easy on my old eyes for late night coding.
The red part of the spectrum on the desktop image is enhanced at night to ease the eyes cool

Redshift adjusts the color temperature of your screen according to your surroundings.

http://jonls.dk/redshift/

Easy config file for your location lat and long.

Give it a try and let me know what you think.
I think it is one of the best apps I have discovered....

http://fav.me/d6sx3p5

Last edited by chameleon (2013-11-03 21:00:26)

Offline

Be excellent to each other!

#2 2013-11-03 21:04:37

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 11,947

Re: Redshift

I've tried it in the past, and just tried it again now; I'm a fan of warm colors, but for some reason I find it easier to use my monitor at its standard 6500K color temperature.  It's a good utility for people who find lower temperatures easier on the eyes.


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Offline

#3 2013-11-03 21:19:41

chameleon
UK #! Guy
From: Luxembourg
Registered: 2009-01-13
Posts: 615
Website

Re: Redshift

@pvsage
Thanks for the feedback.
I am an ageing shift worker and I find a warmer colour temp easier on the eyes sometimes.
The cool point about this app is that it adjusts during the day depending on your lat/long...so your not always in a 'red' shift  wink

Cheers from Luxembourg.

Last edited by chameleon (2013-11-03 21:22:43)

Offline

#4 2013-11-03 22:20:29

dura
Bloated Gimp
From: interzone
Registered: 2012-09-15
Posts: 2,106

Re: Redshift

Yep, I use it. It's one of my favourite apps.

Offline

#5 2013-11-18 12:46:46

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

I'm trying to install redshift 1.8, however when I enter

./configure

It encounters this two error

./configure: line 5969: syntax error near unexpected token `X11,'
./configure: line 5969: `PKG_CHECK_MODULES(X11, x11, have_x11=yes, have_x11=no)'

Google does not show anything fruitful. I believe this is saying that it's missing x11, however, Crunchbang should have x11 already, no?

Can you tell me how to go around this?

Last edited by morrow (2013-11-18 14:29:13)

Offline

#6 2013-11-18 13:02:18

chameleon
UK #! Guy
From: Luxembourg
Registered: 2009-01-13
Posts: 615
Website

Re: Redshift

Redshift will run with the terminal command;

redshift

or

redshift-gtk

...if you want the toolbar icon.

Redshift is not packaged with a default 'redshift.conf'

copy this one from the redshift site;

; 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

; Set the location-provider: 'geoclue', 'gnome-clock', '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=vidmode

; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings
; ex: 'redshift -l manual:help'
[manual]
lat=48.1
lon=11.6

; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
; In this example, vidmode is configured to adjust screen 1. 
; Note that the numbering starts from 0, so this is actually the second screen.
[vidmode]
screen=1

and edit your geo latitude and longitude.
...also don't forget to change screen to '0' if you only have one monitor.

place 'redshift.conf' in ~/.config folder

hope this helps...

Offline

#7 2013-11-18 14:33:02

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

chameleon wrote:

Redshift will run with the terminal command;

redshift

or

redshift-gtk

...if you want the toolbar icon.

Redshift is not packaged with a default 'redshift.conf'

copy this one from the redshift site;

; 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

; Set the location-provider: 'geoclue', 'gnome-clock', '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=vidmode

; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings
; ex: 'redshift -l manual:help'
[manual]
lat=48.1
lon=11.6

; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
; In this example, vidmode is configured to adjust screen 1. 
; Note that the numbering starts from 0, so this is actually the second screen.
[vidmode]
screen=1

and edit your geo latitude and longitude.
...also don't forget to change screen to '0' if you only have one monitor.

place 'redshift.conf' in ~/.config folder

hope this helps...

I'm not at that part yet.... I'm actually are TRYING to install redshift. I'm following this instruction on reddit. But when I got to ./configure step, I encounter the error:

./configure: line 5969: syntax error near unexpected token `X11,'
./configure: line 5969: `PKG_CHECK_MODULES(X11, x11, have_x11=yes, have_x11=no)'

Offline

#8 2013-11-18 14:59:08

chameleon
UK #! Guy
From: Luxembourg
Registered: 2009-01-13
Posts: 615
Website

Re: Redshift

Have you tried installing the Debian package?

Offline

#9 2013-11-18 15:13:38

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,619
Website

Re: Redshift

morrow:

open a terminal, enter:

sudo apt-get install gtk-redshift

Offline

#10 2013-11-18 16:18:54

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

chameleon wrote:

Have you tried installing the Debian package?

I can't find a deb package of 1.8 version.

machinebacon wrote:

morrow:

open a terminal, enter:

sudo apt-get install gtk-redshift

Is this the 1.8 verson (1.7 is two year old, while 1.8 is weeks year old)?

Offline

#11 2013-11-18 16:50:22

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 698

Re: Redshift

#! doesn't include dev libraries by default. Did you see the part in the reddit instructions where he installs them?

sudo apt-get install libxcb1-dev libxcb-randr0-dev libx11-dev

Try installing the libraries and then ./configure again.

I have to ask though, is there some feature in redshift 1.8 you know you need, or do you just think you want the latest version?


Sarcasm is often an appropriate response to stupidity.

Offline

#12 2013-11-18 17:01:09

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

porkpiehat wrote:

#! doesn't include dev libraries by default. Did you see the part in the reddit instructions where he installs them?

sudo apt-get install libxcb1-dev libxcb-randr0-dev libx11-dev

Try installing the libraries and then ./configure again.

I have to ask though, is there some feature in redshift 1.8 you know you need, or do you just think you want the latest version?

I did install the libs, but that still exist.

To be honest, I don't know what feature the 1.8 actually have. However, I know that I am not 100% completely satisfy with 1.7... at least being a noob, I encounter many things I don't understand (for example, I think the night color is a bit too red, but I don't know how to adjust it) and seeing that it's been two years since the last update, I THINK/hope that its' easier to learn than the last one.

Offline

#13 2013-11-18 17:05:21

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 698

Re: Redshift

morrow wrote:

I did install the libs, but that still exist.

I don't know what to tell you then -- I can build this without errors on my #! machine. Maybe try all the steps again from the beginning (did you re-run the autoreconf step after you installed the libraries?).

Looking at the redshift web page, it looks like the changes for 1.8 have mostly been minor bugfixes. I doubt that the UI has changed much. Perhaps other people here who use it can help you with your configuration problems.


Sarcasm is often an appropriate response to stupidity.

Offline

#14 2013-11-18 18:18:10

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

porkpiehat wrote:
morrow wrote:

I did install the libs, but that still exist.

I don't know what to tell you then -- I can build this without errors on my #! machine. Maybe try all the steps again from the beginning (did you re-run the autoreconf step after you installed the libraries?).

Looking at the redshift web page, it looks like the changes for 1.8 have mostly been minor bugfixes. I doubt that the UI has changed much. Perhaps other people here who use it can help you with your configuration problems.

Reformatted, tried it again, same problem with redshift-master and redshift-1.8. I gave up, switched to gtk-redshift, done.

Offline

#15 2013-11-18 18:29:49

chameleon
UK #! Guy
From: Luxembourg
Registered: 2009-01-13
Posts: 615
Website

Re: Redshift

In redshift.conf;

temp-day=5700
temp-night=3500

Increase the temp-night figure for less red.  wink

Offline

#16 2013-11-18 21:51:16

ZAP
#! Junkie
Registered: 2009-01-31
Posts: 350

Re: Redshift

I've had redshift in my autostart file for some time, although I never knew about the GTK version with the ssystem tray icon before I saw this thread, so I just changed that line to:

gtk-redshift -l 23.0000:-102.0000 &

(I have now given away my longitude and latitude; please don't send me any missiles.)

Offline

#17 2013-11-19 02:29:06

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

ZAP wrote:

I've had redshift in my autostart file for some time, although I never knew about the GTK version with the ssystem tray icon before I saw this thread, so I just changed that line to:

gtk-redshift -l 23.0000:-102.0000 &

(I have now given away my longitude and latitude; please don't send me any missiles.)

Of course not.

Offline

#18 2013-11-19 05:57:25

Nebucatnetzer
#! CrunchBanger
Registered: 2013-05-26
Posts: 193
Website

Re: Redshift

I'm personally using xflux for this.
http://justgetflux.com/
I tried redshift earlier but didn't like it back then, can't remember why though.

Offline

#19 2013-11-19 15:34:14

mbemboom
#! CrunchBanger
Registered: 2013-03-30
Posts: 101

Re: Redshift

Very cool. I had heard of f.lux for Windows and have an app on my Nexus 7 which provides similar functionality. I like it, thanks for sharing.


"Yeah, well, you know, that’s just, like, your opinion, man. "  - The Dude

Offline

#20 2013-11-19 15:36:15

ZAP
#! Junkie
Registered: 2009-01-31
Posts: 350

Re: Redshift

mbemboom wrote:

...an app on my Nexus 7 which provides similar functionality. I like it, thanks for sharing.

I use Twilight on Android devices. Makes a world of difference when I'm using my phone in bed at night.

Offline

#21 2013-11-19 16:44:36

morrow
Member
Registered: 2013-08-09
Posts: 18

Re: Redshift

Nebucatnetzer wrote:

I'm personally using xflux for this.
http://justgetflux.com/
I tried redshift earlier but didn't like it back then, can't remember why though.

For some reason, f.lux never work for me. Either with gtk or not. It says that it's on... but nothing really changed. So I switched to Redshift. All my windows are running f.lux though.

Offline

#22 2013-11-19 22:41:54

wagmic1
#! Member
Registered: 2013-11-15
Posts: 90

Re: Redshift

i have put gtk-redshift in tint2 like that :

clock_lclick_command = gsimplecal
clock_rclick_command = gtk-redshift -l 33.578456:-7.606636 -t 6500K:3700K -g 0.8

it works like a charm


I need to learn how to speak/write English big_smile
latest Firefox on #! handylinux

Offline

#23 2013-11-19 22:46:47

ZAP
#! Junkie
Registered: 2009-01-31
Posts: 350

Re: Redshift

wagmic1 wrote:

i have put gtk-redshift in tint2 like that :

clock_lclick_command = gsimplecal
clock_rclick_command = gtk-redshift -l 33.578456:-7.606636 -t 6500K:3700K -g 0.8

it works like a charm

Interesting idea! That hadn't occurred to me before. I don't really need redshift there, but it's nice to have gcalctool pop up on a right click!

Offline

#24 2014-02-25 19:43:58

tuananh
Member
From: Hanoi,VietNam
Registered: 2012-07-29
Posts: 26

Re: Redshift

crunch 11 64bit

redshift -l 21:105 -t 5700:3600 -g 0.8 -m vidmode -v
Too many arguments.
Failed to set manual option.
Try `-l manual:help' for more information.

plz help

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo