thats my actual ssc.sh. im just trying to get multiple conkys running so if there is a different way to do this im all ears.Code:#!/bin/sh # click to start, click to stop if pidof conky | grep [0-9] > /dev/null then exec killall conky else sleep 30 # sleep not required for xfce on startup - 30 or more for others conky -c ~/.conkyrc & #conky -c ~/Conky/conkytext & #conky -c ~/Conky/conkyemail & #conky -c ~/Conky/conkyforecast & exit fi
I'm a super power user
Scrath that then. Yours looks almost the same as mine, maybe try getting rid of the "&" at the end of your first conky -c line. I don,t have one.
what error are you getting in the terminal when you try to run it?Code:#!/bin/sh # click to start, click to stop if pidof conky | grep [0-9] > /dev/null then exec killall conky else sleep 5 # sleep not required for xfce on startup - 30 or more for others conky -c ~/Conky/Rings-v2/rings-v2 exit fi
Last edited by dmillerct; February 1st, 2010 at 08:53 PM.
Then run the following:Code:sudo chmod +x ~/Documents/code/ssc.sh
If conky is running, it will shut it down. If it is not it will start it.Code:sh ~/Documents/code/ssc.sh
To have it startup automatically when you log in. Modify the "Command:" line in your startup applications to:
Or you can just create a seperate start script like I have:Code:sh ~/Documents/code/ssc.sh
Code:#!/bin/bash sleep 30 && conky -d -c ~/path/to/rc/file & exit