Page 1 of 1

how to make conky run @ startup under both Cinnamon and MATE

Posted: Sun May 06, 2012 6:50 pm
by TomRoche
After upgrading UP3->UP4 I note conky runs at startup only under MATE, not Cinnamon. How to make that work for both? I see a description here about making it work under Cinnamon, but I'm still evaluating both desktops.

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon May 07, 2012 7:31 am
by azertywarrior12
I can confirm that conky runs fine under Cinnamon just by adding it on the Startup Applications program. Although I did have a small problem because in my conky script I used sudo hddtemp so the script would always fail on start-up (because it would ask for password) then I added hddtemp to the sudo no password list and everything has been working fine.

Are you using any commands which require elevated privileges on your conky script?

Re: how to make conky run @ startup under both Cinnamon and

Posted: Thu May 10, 2012 7:01 pm
by äxl
Tom, Cinnamon and MATE use different Window Managers. Could be that you have to set up different .conkyrc's as well.
Maybe it is running. Check with System Monitor or in terminal with pgrep.

Depends also on how you start Conky. If you have it in Startup Applications make sure it's not unticked in Cinnamon.
In terminal you could look at ~/.config/autostart/<conky>.desktop and make sure it doesn't contain something like:
OnlyShowIn=MATE;
X-GNOME-Autostart-enabled=false;
etc.

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon May 21, 2012 8:07 am
by ChickenPie4Tea
I couldnt get it to show up in Cinamon but it runs fine in Mate - I am just sticking with mate it seems to have less quirks for now.

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon May 21, 2012 11:02 am
by TomRoche
äxl wrote:In terminal you could look at ~/.config/autostart/<conky>.desktop and make sure it doesn't contain something like:
OnlyShowIn=MATE;
X-GNOME-Autostart-enabled=false;
No: my ~/.config/autostart/conky.desktop has

Code: Select all

[Desktop Entry]
Type=Application
Exec=/home/me/bin/conky-startup.sh
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=conky
Name=conky
Comment[en_US]=desktop system monitor
Comment=desktop system monitor

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon May 21, 2012 11:09 am
by azertywarrior12
May I ask what's the content of your conky-startup.sh?

To be honest, I don't think you even need it. This is the content of my conky.desktop shortcut and it works fine under cinnamon. :S

Code: Select all

[Desktop Entry]
Type=Application
Exec=conky
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Conky
Name=Conky
Comment[en_US]=Auto run conky
Comment=Auto run conky.

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon May 21, 2012 11:18 am
by TomRoche
azertywarrior12 wrote:what's the content of your conky-startup.sh?

Code: Select all

#!/bin/bash
# This makes conky 'window' truly transparent when run from Startup Applications.
# Otherwise, window 'has shadow' == {!transparent && alwaysOnTop}
# sleep 10 && conky
sleep 20 && conky

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon May 21, 2012 9:27 pm
by äxl

Re: how to make conky run @ startup under both Cinnamon and

Posted: Mon Feb 11, 2013 10:10 am
by NotoriousPyro
Sorry for bumping a somewhat old thread but I solved mine by putting the following in /home/<user>/.profile (you could also put it in /etc/profile)

Code: Select all

conky -c $HOME/.conky/conky_right&
Where anything after -c points to your conky configuration file (don't forget to put the & or you'll be stuck on a black screen with only Conky).

Re: how to make conky run @ startup under both Cinnamon and

Posted: Thu May 30, 2013 6:31 pm
by JeffF73
NotoriousPyro wrote:Sorry for bumping a somewhat old thread but I solved mine by putting the following in /home/<user>/.profile (you could also put it in /etc/profile)

Code: Select all

conky -c $HOME/.conky/conky_right&
Where anything after -c points to your conky configuration file (don't forget to put the & or you'll be stuck on a black screen with only Conky).
I am using Linux Mint 15 Cinnamon 1.8
I used this method but instead of using your Code this is what I used in my .profile

Code: Select all

conky -c $HOME/*Username Here*/.conkyrc &
It all depends on what your conky file is named but this method works thank you NotoriousPyro