How to use Redshiftgui in Slacko?

Booting, installing, newbie
Message
Author
Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#21 Post by Rope »

Operating System: Slacko Puppy 5.4
Desktop Window Manager: JWM vsvn-581
Desktop Start: xwin jwm
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#22 Post by Semme »

I don't think your issue's with the version. I think maybe that Windows installer.

Anyway- try this and shoot me an update: redshiftgui -m VidMode

If nogo, check PPM for libgeoclue.

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#23 Post by Rope »

redshiftgui -m VidMode seems to work :) at least the preview.Thanks
Now, how do I make redshiftgui start with the OS?
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#24 Post by Semme »

In ~/Startup, rt-clk >> new >> script >> name it rs_gui.sh? Or to your liking..

Now open as text and add this line under #!/bin/sh: redshiftgui -n -o -m VidMode

How well this works you might be telling me before I know. The -o switch??

I grabbed the latest NOGUI which is 1.7. A few of the switches are different so..

These below- as you can see..

Code: Select all

RedshiftGUI (0.2.1) help:
  -b  --bright       <BRIGHTNESS> Brightness (0.1 - 1)
  -c  --crt          <CRTC> CRTC to apply adjustment to (RANDR only)
  -g  --gamma        <R:G:B> Additional gamma correction to apply
  -l  --latlon       <LAT:LON> Latitude and longitude
  -m  --method       <METHOD> Method to use (Auto, RANDR, VidMode)
  -n  --no-gui       Run in console mode (no GUI).
  -o  --oneshot      Adjust color and then exit (no GUI)
  -r  --speed        <SPEED> Transition speed (default 1000 K/s)
  -s  --screen       <SCREEN> Screen to apply to
  -t  --temps        <DAY:NIGHT> Color temperature to set at daytime/night
  -v  --verbose      <LEVEL> Verbosity of output (0 = err/warn, 1 = info, 2 = verbose)
      --map          (Advanced) Temperature map
      --min          Start GUI minimized
  -d  --disable      Start GUI disabled
  -h  --help         Display this help message

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#25 Post by Rope »

I cant find rt-clk

I found this:
You can easily create a "symlink" (symbolic link) to an executable.
For example, say that you wanted to run /usr/local/bin/rubix (a game)
everytime Puppy is started. Use ROX-Filer (the file manager) and open
two windows, one on /usr/local/bin, the other on /root/Startup.
Then just drag 'rubix' across and a menu will popup and ask if you want
to copy, move or link, and you choose to link.
but my-applications is empty
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#26 Post by Semme »

Oh.. rt-clk means :lol: just that >> right click.

Your startup folder's here >> /root/Startup

You find it? This >> ~/ << refers to *users* home.

And for the line up top >> yank the -o.

Code: Select all

#!/bin/sh
redshiftgui -n -m VidMode

As to what you posted, it's >> link relative.

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#27 Post by Rope »

ok done thanks :)
let's see if it works next boot.
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#28 Post by Rope »

Why my-applications/bin is empty?
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#29 Post by Semme »

I have no idea? :D Is there *supposed to be* sumpthin there?

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#30 Post by Rope »

I know nothing, but if I installed something e.g. redshiftgui shouln it be there?
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#31 Post by Semme »

There should be a readme. This directory's nothing more than another variable on your: echo $PATH :wink:

You could just as well have stuck the redshiftgui binary there. It'll still find the necessary libs to function.

PS- If she doesn't start, me thinks you're gonna need a geoclue pkg'er two..

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#32 Post by Rope »

Semme wrote:There should be a readme. This directory's nothing more than another variable on your: echo $PATH :wink:

You could just as well have stuck the redshiftgui binary there. It'll still find the necessary libs to function.

PS- If she doesn't start, me thinks you're gonna need a geoclue pkg'er two..
It did not load at start. :(
How programs are installed is complicated in linux
I don know what geoclue pkg'er two is.
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#33 Post by Semme »

Nah, not complicated. You just need some time away from Windows.

For RedShift, you need geoip- it's in PPM.

It'll say she's installed- probably based on the devx pkg here. Install it anyway.

Then go to one of these >> SatelliteSignals or Mashup.

Load your coordinates and mind those day numbers in the gui.

If they change, we're probably good-ta-go.

This- the new line for the script in your startup folder:

Code: Select all

redshiftgui --min -m VidMode
Let me know whether it starts in the tray red.

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#34 Post by Rope »

Sorry I lost track of this.
Semme, with your suggestion to create a script redshiftgui -n -o -m VidMode
now it works, but it does not show the taskbar icon.
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#35 Post by Semme »

As my previous post suggests, adjust your script.

The -n was for no GUI, the -o >> one shot'n exit.

The new one- minimized & the *method* req'd.

Rope
Posts: 435
Joined: Wed 20 Feb 2013, 16:30

#36 Post by Rope »

ok thanks.
Puppy Slacko 5.7 frugal
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ : 2109.87MHz
Total Memory : 967356 kB

Post Reply