Ok… I’m confused. I have a launcher on my desktop that runs the Conky program (basically runs /usr/bin/conky). If I login and double click this, everything works fine. If I copy this desktop file to ~/.config/autostart and then logout and back in, one of two things happens: 1) the “task bar” along the bottom doesn’t appear and conky doesn’t run .OR. 2) everything else if fine, but no conky.
Now, conky DOES flash but seems to be starting before the desktop so when the desktop starts, it covers it up (I’m sort of making that up, but it kind of makes sense-- at least to me).
I’ve tried this “by hand” as well as using gnome-session-properties and have played with the “order” on the Current Session tab in that app but still have the same results.
What am I missing? Is there a better way to do this?
Did a copy/paste into a new file in the .config/autostart directory with your code – still isn’t running (even checked with ps aux | grep conky). Like I said it DOES run from the shortcut on the desktop (even shows up via ‘ps’) so I’m pretty sure the config file is ok. Just incase, here is my config file (I’ll leave out the TEXT portion of what I’m showing to save space)
alignment bottom_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders yes
draw_graph_borders yes
draw_outline no
draw_shades no
font 10x12
gap_x 15
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window no
own_window_class Conky
own_window_type normal
stippled_borders 0
update_interval 10.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
Any ideas? Might it make a difference using ~/.conkyrc vs /etc/conky/conky.conf ??
I had the same problem back when I used to use Ubuntu. What ended up fixing it for me was to delay starting conky till after the desktop was finished loading with a script something like this:
sleep 20 && conky -c .conkyrc-panel-1;
This script was then placed in autostart. This way you have 20 seconds for the desktop to load.
Don’t know if this will help you or not. Hope so;)