i want to autostart Conky in Ubuntu 12.04 / XFCE. I tryed to start this script with "automatic starting applications" in sessions options:
sleep 6 conky
But it does not work.
Provided that you installed your conky correctly use the following:
Name a file .conky_startup and put the following lines in it:
Put the file in your home directory (the directory with your username).
Next go to Session and Startup and the tab Application Autostart , create a new entry with Add and fill in a name and a discription and the path to .conky_startup. Than reboot and conky should start. You might have to change the sleeptime a bit for the best result.
You don't need a script for an easy command like that.
Option 1: With GUI
You can add a new entry with the GUI
Option 2 : Manually (commandlines)
You can add a new file.desktop (autostart files) in $HOME/.config/autostart :
Paste this in the Mousepad window :
Option 3 : with only one commandline (TADAAAM!)
So I was having the same trouble starting Conky and came up with this after looking at various posts on the net, I'm not sure how sleep was a good choice as it is a system function so nothing happens/executes for that duration.
This solution is ideal for Xfce4 users, no other desktop testing has been performed however it should work, so comment if it works on other desktops.
1, Create a launcher on your desktop for Conky. (right click the desktop)
2, Use the -p switch and specify a start pause duration, 15 seconds works well, so conky -p 15 .
3, If you use other switches when you start Conky add them first like, Conky -dqp 15 .
4, Save your launcher and add it to your ~/.config/autostart user directory.
5, Logout and log back in and what Conky appear.
Hope this helps... enjoy