Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 14 Aug 2018, 23:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
RedshiftGUI Wrapper for automatic startup + links
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
rerwin


Joined: 24 Aug 2005
Posts: 1900
Location: Maine, USA

PostPosted: Sun 19 Nov 2017, 19:10    Post subject:  RedshiftGUI Wrapper for automatic startup + links
Subject description: Adjusts monitor color tempurature for daylight and nightime
 

Quote:
Redshiftgui changes the color temperature of your monitor to better match that of your surrounding. This means that it sets a cooler color temperature during the daytime (due to natural lighting) and sets a warmer temperature at night (due to indoor lighting). Similar to f.lux, this is a GUI port of the redshift project.

The available packages of redshiftGUI leave it up to the user to set up automatic startup during bootup. The attached package provides automatic startup and prevents multiple redshiftGUI sessions by terminating any running instances. It can be installed in a distro but does not start redshiftGUI at bootup or upon graphic server (X) restart.

With this package, the user activates automatic startup by starting it from the Utility menu and setting and saving a geographical location (latitude and longitude) other than 0 and 0. Then, redshiftGUI will start at boot time and whenever the graphical interface (X) is restarted.

The latest release of redshiftGUI is 0.2.4 ("Bug fix release for locales."), which contains a bug that is managed by the "wrapper" script (redshiftgui.sh). But release 0.2.1 is sufficient and must be used in puppies older than tahrpup. RedshiftGUI is available as .deb packages at these links:
Puppies older than tahrpup may also need the libxcb-randr0 .deb package from their ubuntu-*-main repository, via Puppy Package Manager.

Here are some details about what the wrapper does:
    Wrapper for redshiftGUI
    Ensures correct configuration file "map" separators (',', not |).
    Kills any running redshiftGUI.
    Automatic minimized startup only if a location other than 0 0 specified.
    Menu invocation never minimized unless redshiftgui_tray is disabled (made nonexecutable).
My intent is to eventually submit this to woofCE. So, please report any issues with it.
redshiftgui_wrapper-20171120.pet
Description  Automatic start of redshiftGUI, if present
Improved and reorganized for woofCE compatibility.
pet

 Download 
Filename  redshiftgui_wrapper-20171120.pet 
Filesize  1.15 KB 
Downloaded  112 Time(s) 
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4012
Location: King's Lynn, UK.

PostPosted: Tue 21 Nov 2017, 11:44    Post subject:  

Hallo, Richard.

Hm. Interesting. I've been running RedShiftGUI 0.2.1 (stu90's .pet, BTW) for ages, with the binary in /usr/bin sym-linked into /root/Startup. Works fine.

Now, then; put me right on something here, if you would. Do I take it that if I wanted to use this in my Pups, I would need to delete /root/.redshiftgrc (and remove the sym-linked binary from /root/Startup).....followed by installing your wrapper .pet, then set things up again as per your instructions?

Does that sound about right?

As for submitting it to Woof-CE.....brilliant idea. This is one of the most essential utilities I can think of that should be in every Puppy.....by default.

Nice one!


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1900
Location: Maine, USA

PostPosted: Tue 21 Nov 2017, 12:49    Post subject:  

Mike Walsh,
Thanks for reinforcing my opinion that redshiftgui belongs in all Puppies. That is why I created the wrapper, to take care of some inconveniences.

You do not need to change anything but remove the Startup link and install the wrapper. That will change the menu item (.desktop) to point to the wrapper script.

EDIT: To get a menu entry in "Utility", the file
/usr/share/applications/redshiftgui.desktop
needs to be changed, so that the "Categories=" line becomes:
Code:
Categories=Utility

Last edited by rerwin on Fri 24 Nov 2017, 18:38; edited 2 times in total
Back to top
View user's profile Send private message 
jake29

Joined: 24 Jul 2015
Posts: 162

PostPosted: Tue 21 Nov 2017, 13:39    Post subject:  

Thanks for this, rerwin. I've been using Redshift for years, but only manually setting the colour temperature.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0557s ][ Queries: 14 (0.0061s) ][ GZIP on ]