You are not logged in.
I have installed BunsenLabs Hydrogen amd64 on my old ASUS Eee-Box EB1501P and it's running very well, I'm very happy with the result.
I have installed gtk-redshift via Synaptic Package Manager, (I couldn't find redshift-gtk which is the one I would normally use with other distros.)
I have created config file and copied to .config directory and also added entry to '.config/openbox/autostart'
redshift &
now when I start laptop redshift starts automatically which is good, but I don't get the icon in the top panel, so can't stop/start using mouse click.
is there a step I'm missing? Maybe I installed the wrong (older) package 'gtk-redshift', but I couldn't find 'redshift-gtk' which is supposed to be the new package name.
I'm still quite new to linux so any tips or advice would be greatly appreciated.
Last edited by hughparker1 (2016-06-03 20:41:23)
Offline
The top panel you're referring to is tint2. You'll most likely have to add the program to the tint2 menu editor.
It's located in:
~/.config/tint2/tint2rc
The part of it you'll want to edit is the panel items launcher sub section:
# Launchers
launcher_icon_theme =Hugh's theme
launcher_padding = 5 0 10
launcher_background_id = 9
launcher_icon_size = 85
launcher_item_app = /some/where/redshift
launcher_item_app = /some/where/other_program
etc...
Hope this helps!
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
^ But OP wants an application icon to show up when the app is running, not a launcher.
@hughparker1 BTW "redshift" is part of the "gtk-redshift" package, but I don't see any gtk gui options! Perhaps you can create a .desktop file and set an icon there, then start it via xdg autostart. See '/etc/xdg/autostart/' for examples.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^ But OP wants an application icon to show up when the app is running, not a launcher.
@hughparker1 BTW "redshift" is part of the "gtk-redshift" package, but I don't see any gtk gui options! Perhaps you can create a .desktop file and set an icon there, then start it via xdg autostart. See '/etc/xdg/autostart/' for examples.
D'oh! I thought I had this one.... Still much to learn I have...
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
^ But OP wants an application icon to show up when the app is running, not a launcher.
@hughparker1 BTW "redshift" is part of the "gtk-redshift" package, but I don't see any gtk gui options! Perhaps you can create a .desktop file and set an icon there, then start it via xdg autostart. See '/etc/xdg/autostart/' for examples.
thanks for quick reply
I had a look for examples and created a file and copied to the directory ....
sudo cp /home/hugh/gtk-redshift.desktop /etc/xdg/autostart/
hugh@ASUS-BUNSENLABS:/etc/xdg/autostart$ ls
at-spi-dbus-bus.desktop light-locker.desktop
clipit-startup.desktop nm-applet.desktop
gnome-keyring-gpg.desktop polkit-gnome-authentication-agent-1.desktop
gnome-keyring-pkcs11.desktop print-applet.desktop
gnome-keyring-secrets.desktop pulseaudio.desktop
gnome-keyring-ssh.desktop pulseaudio-kde.desktop
gsettings-data-convert.desktop xfce4-power-manager.desktop
gtk-redshift.desktop xfce4-volumed.desktop
hugh@ASUS-BUNSENLABS:/etc/xdg/autostart$
this is how the looks like....
hugh@ASUS-BUNSENLABS:/etc/xdg/autostart$ cat gtk-redshift.desktop
[Desktop Entry]
Version=1.9.1-4
Name=Redshift
Comment=Color temperature adjustment tool
Exec=gtk-redshift
Terminal=false
Type=Application
Categories=Utility
GenericName=Color temperature adjustment
OnlyShowIn=
hugh@ASUS-BUNSENLABS:/etc/xdg/autostart$
but when I restart laptop, although redshift starts ok I still don't get icon in top panel.
did I make any mistakes with the file? Thanks again for your help.
Offline
^ Have a look at the other .desktop files: they have an "Icon=..." line, which yours doesn't.
NB I've never tried this, so I don't know if it works. No harm trying though
Last edited by damo (2016-05-24 23:55:01)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
The Debian package name is gtk-redshift. It installs two files in /usr/bin:
redshift - an executable
redshift-gtk - a python script
To start it, you would run redshift-gtk. Honest.
I put this in my openbox autostart file, and as you can see I didn't bother with a redshift.conf file, I just added the parameters I thought I would need as command arguments:
redshift-gtk -l 53.52:-113.5 -b 1.0:1.0 -t 6000:5500 &
I get the little redshift-y icon in my systray.
So you could probably run it using the redshift.conf file you set up, and just call redshift-gtk (with no arguments). I haven't tried that.
Hope that helps.
Offline
^ Have a look at the other .desktop files: they have an "Icon=..." line, which yours doesn't.
NB I've never tried this, so I don't know if it works. No harm trying though
thanks again for your input, I changed the file and now looks like ......
hugh@ASUS-BUNSENLABS:~$ cd /etc/xdg/autostart/
hugh@ASUS-BUNSENLABS:/etc/xdg/autostart$ cat gtk-redshift.desktop
[Desktop Entry]
Version=1.9.1-4
Name=Redshift
Comment=Color temperature adjustment tool
Exec=gtk-redshift
Terminal=false
Type=Application
Categories=Utility
GenericName=Color temperature adjustment
Icon=redshift
OnlyShowIn=
hugh@ASUS-BUNSENLABS:/etc/xdg/autostart$
but didn't make any difference. I will try again in morning to find a solution, it's after 1am here in UK and need to get some sleep.
I appreciate your feedback, it is much appreciated.
Offline
The Debian package name is gtk-redshift. It installs two files in /usr/bin:
redshift - an executable
redshift-gtk - a python scriptTo start it, you would run redshift-gtk. Honest.
I put this in my openbox autostart file, and as you can see I didn't bother with a redshift.conf file, I just added the parameters I thought I would need as command arguments:
redshift-gtk -l 53.52:-113.5 -b 1.0:1.0 -t 6000:5500 &
I get the little redshift-y icon in my systray.
So you could probably run it using the redshift.conf file you set up, and just call redshift-gtk (with no arguments). I haven't tried that.
Hope that helps.
Sorry I didn't see your suggestion last night. It was getting late here in UK and I didn't notice your post.
So this morning, I changed my '/etc/xdg/autostart/gtk-redshift.desktop' file
... I changed 'Exec=gtk-redshift' to 'Exec=redshift-gtk'
file now looks like this ....
[Desktop Entry]
Version=1.9.1-4
Name=Redshift
Comment=Color temperature adjustment tool
Exec=redshift-gtk
Terminal=false
Type=Application
Categories=Utility
GenericName=Color temperature adjustment
Icon=redshift
OnlyShowIn=
... now when i re restart laptop, the redshift icon appears in top panel, and when I click on it, I have option to Disable, Suspend for 30m 1hr or 2hrs, or Quit.
This is exactly what I was hoping for.
My confusion was because Synaptic Package Manager only had package gtk-redshift, I thought the exec would be same name, but as you point out, 'Exec=redshift-gtk' should be used. It's a bit confusing for newb like me, but I got there in the end.
Also looks like I didn't really need a 'redshift.conf' file, I could have added the needed parameters into the '.config/openbox/autostart' file like you did.
So thanks to all for helping me to achieve a good result. I am very impressed with BunsenLabs distro and the help I received on this forum is first class. I don't have great technical knowledge of linux but the instructions were clear and easy to follow.
Offline
@tynman It's an older thread, but redshift is always good to talk about. I just noticed that on this site the settings are 5700:3600, while in the post above 6000:5500. Redshift is new to me, just trying to figure out the best values. I have to get used to it first that white is not white anymore, but something white with a red stitch.
Offline
~/.config/redshift.conf
[redshift]
location-provider=manual
[manual]
lat=
lon=
That way, you won't have to worry about the best values.
Offline