It is currently Tue May 23, 2017 6:57 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: redshift-gtk in Debian Jessie of AntiX 15 (SOLVED}
PostPosted: Fri Mar 18, 2016 4:07 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 3974
Location: Pecos, Texas
I installed redshift-gtk and began to set it up.

Code:
[email protected]:~
$ gtk-redshift -l 30:103 &
[1] 10540
bash: gtk-redshift: command not found
[email protected]:~
$ which redshift
/usr/bin/redshift
[1]+  Exit 127                gtk-redshift -l 30:103
[email protected]:~
$ cat  / etc/desktop-session/startup >>>>>>(spacebar hit for space inserted between / and etc because of the forum bug)
#!/bin/bash
volumeicon &

fbxkb &

search-bar-icon &

(sleep 5 && toram-eject) &

spacefm -d &

gtk-redshift -l 30:103 &

[email protected]:~


As you can see. Debian has changed things since we did this in wheezy

redshift-not-working-t4479.html

Here is the read me from Debian on file in my laptop after the install

Code:
[email protected]:~
$ cat /usr/share/doc/redshift/README.Debian
Autostart of gtk-redshift
-------------------------

Autostart was removed from Debian package because of violation of 'Desktop Application
Autostart Specification' (see bug #619699). If you want gtk-redshift autostarted please
configure this in your specific desktop environment (e.g. by placing
/usr/share/applications/gtk-redshift.desktop in
$HOME/$XDG_CONFIG_HOME/autostart/
(usually defaults to $HOME/.config/autostart).
[email protected]:~


So,
Quote:
Autostart was removed from Debian package because of violation of 'Desktop Application


Must be what is stumping me on this not working for me on Jessie.

http://jonls.dk/redshift/

Quote:
Note: Before version 1.8 redshift-gtk was known as gtk-redshift.


Code:
[email protected]:~
$ apt search redshift
Sorting... Done
Full Text Search... Done
awscli/stable 1.4.2-1 all
  Universal Command Line Environment for AWS

gtk-redshift/stable,now 1.9.1-4 all [installed]
  Adjusts the color temperature of your screen with GTK+ integration

redshift/stable,now 1.9.1-4 i386 [installed,automatic]
  Adjusts the color temperature of your screen

redshift-plasmoid/stable 1.0-1 i386
  Adjusts the color temperature of your screen, KDE plasmoid


Now you see why I am ver-klept with confusion. :)

Installed stuff below

Code:
[email protected]:~
$ sudo -i
[sudo] password for harry:
[email protected]:~# updatedb
[email protected]:~# exit
logout
[email protected]:~
$ locate redshift
/home/harry/.config/redshift.conf
/usr/bin/redshift
/usr/bin/redshift-gtk
/usr/lib/python3/dist-packages/redshift_gtk
/usr/lib/python3/dist-packages/redshift_gtk/__init__.py
/usr/lib/python3/dist-packages/redshift_gtk/__pycache__
/usr/lib/python3/dist-packages/redshift_gtk/defs.py
/usr/lib/python3/dist-packages/redshift_gtk/statusicon.py
/usr/lib/python3/dist-packages/redshift_gtk/utils.py
/usr/lib/python3/dist-packages/redshift_gtk/__pycache__/__init__.cpython-34.pyc
/usr/lib/python3/dist-packages/redshift_gtk/__pycache__/defs.cpython-34.pyc
/usr/lib/python3/dist-packages/redshift_gtk/__pycache__/statusicon.cpython-34.pyc
/usr/lib/python3/dist-packages/redshift_gtk/__pycache__/utils.cpython-34.pyc
/usr/share/applications/redshift-gtk.desktop
/usr/share/doc/gtk-redshift
/usr/share/doc/redshift
/usr/share/doc/gtk-redshift/NEWS.Debian.gz
/usr/share/doc/gtk-redshift/README
/usr/share/doc/gtk-redshift/README.Debian
/usr/share/doc/gtk-redshift/changelog.Debian.gz
/usr/share/doc/gtk-redshift/changelog.gz
/usr/share/doc/gtk-redshift/copyright
/usr/share/doc/redshift/NEWS.Debian.gz
/usr/share/doc/redshift/README
/usr/share/doc/redshift/README.Debian
/usr/share/doc/redshift/changelog.Debian.gz
/usr/share/doc/redshift/changelog.gz
/usr/share/doc/redshift/copyright
/usr/share/doc/redshift/example-redshift.conf
/usr/share/icons/hicolor/scalable/apps/redshift-status-off.svg
/usr/share/icons/hicolor/scalable/apps/redshift-status-on.svg
/usr/share/icons/hicolor/scalable/apps/redshift.svg
/usr/share/locale/ar/LC_MESSAGES/redshift.mo
/usr/share/locale/bg/LC_MESSAGES/redshift.mo
/usr/share/locale/ca/LC_MESSAGES/redshift.mo
/usr/share/locale/cs/LC_MESSAGES/redshift.mo
/usr/share/locale/da/LC_MESSAGES/redshift.mo
/usr/share/locale/de/LC_MESSAGES/redshift.mo
/usr/share/locale/el/LC_MESSAGES/redshift.mo
/usr/share/locale/es/LC_MESSAGES/redshift.mo
/usr/share/locale/et/LC_MESSAGES/redshift.mo
/usr/share/locale/eu/LC_MESSAGES/redshift.mo
/usr/share/locale/fi/LC_MESSAGES/redshift.mo
/usr/share/locale/fr/LC_MESSAGES/redshift.mo
/usr/share/locale/gl/LC_MESSAGES/redshift.mo
/usr/share/locale/he/LC_MESSAGES/redshift.mo
/usr/share/locale/hi/LC_MESSAGES/redshift.mo
/usr/share/locale/hr/LC_MESSAGES/redshift.mo
/usr/share/locale/it/LC_MESSAGES/redshift.mo
/usr/share/locale/ja/LC_MESSAGES/redshift.mo
/usr/share/locale/ka/LC_MESSAGES/redshift.mo
/usr/share/locale/lt/LC_MESSAGES/redshift.mo
/usr/share/locale/nb/LC_MESSAGES/redshift.mo
/usr/share/locale/nl/LC_MESSAGES/redshift.mo
/usr/share/locale/pl/LC_MESSAGES/redshift.mo
/usr/share/locale/pt/LC_MESSAGES/redshift.mo
/usr/share/locale/pt_BR/LC_MESSAGES/redshift.mo
/usr/share/locale/ru/LC_MESSAGES/redshift.mo
/usr/share/locale/sv/LC_MESSAGES/redshift.mo
/usr/share/locale/zh_CN/LC_MESSAGES/redshift.mo
/usr/share/man/man1/redshift-gtk.1.gz
/usr/share/man/man1/redshift.1.gz
/usr/share/man/man5/redshift.5.gz
/usr/share/menu/gtk-redshift
/var/cache/apt/archives/gtk-redshift_1.9.1-4_all.deb
/var/cache/apt/archives/redshift_1.9.1-4_i386.deb
/var/lib/dpkg/info/gtk-redshift.list
/var/lib/dpkg/info/gtk-redshift.md5sums
/var/lib/dpkg/info/gtk-redshift.postinst
/var/lib/dpkg/info/gtk-redshift.postrm
/var/lib/dpkg/info/gtk-redshift.prerm
/var/lib/dpkg/info/redshift.list
/var/lib/dpkg/info/redshift.md5sums
/var/lib/menu-xdg/applications/menu-xdg/X-Debian-Games-Toys-redshift.desktop
[email protected]:~
$


The /home/harry/.config/redshift.conf I just created myself. But for now is just a blank file. Empty of text.
I am not sure what to place in it per the authors example file shown on his site.

Code:
; 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=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, 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=1

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Last edited by rokytnji on Fri Mar 18, 2016 4:12 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: redshift-gtk in Debian Jessie of AntiX 15
PostPosted: Fri Mar 18, 2016 4:11 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 3974
Location: Pecos, Texas
Stupid biker

Just needed to turn the command around

Code:
[email protected]:~
$ redshift-gtk -l 30:103 &
[1] 16893
[email protected]:~
$
** (redshift-gtk:16893): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(redshift-gtk:16893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:63:17: Theming engine 'unico' not found

(redshift-gtk:16893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1064:23: Missing name of pseudo-class


_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: redshift-gtk in Debian Jessie of AntiX 15 (SOLVED}
PostPosted: Fri Mar 18, 2016 4:21 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 3974
Location: Pecos, Texas
Ok , setup is done

antixcc>session>global desktop-session >>>>password

Code:
#!/bin/bash
volumeicon &

fbxkb &

search-bar-icon &

(sleep 5 && toram-eject) &

spacefm -d &

redshift-gtk -l 30:103 &



Attachment:
screenshot-thumb.jpg
screenshot-thumb.jpg [ 75.48 KiB | Viewed 825 times ]


I can put a fork in her. She is done. Now to go outside and enjoy my day.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: redshift-gtk in Debian Jessie of AntiX 15 (SOLVED}
PostPosted: Sat Mar 19, 2016 4:17 pm 
Offline
User avatar

Joined: Fri Nov 01, 2013 6:43 pm
Posts: 648
Location: Lafayette, LA, USA
See, I told you that you were smarter than the average bear.

https://www.youtube.com/watch?v=1pqyax6gwzQ

_________________
Phear the Penguin.
I am not CrAzY. And I have a paper from the doctors to prove it!
MSI S6000 i5-460M 4 Gb ram

A great mind is something to get terribly wasted.
LRU# 563815


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred