Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've installed conky using sudo apt-get install conky-all and followed this tutorial to configure. The configuration works properly in Unity desktop in Ubuntu 12.04 and everything seems OK, However using Gnome 3 nothing appears on the desktop. I have used following command to invoke conky at startup sh -c "sleep 20s; conky -c ~/.conkyrc".

Please suggest what additional steps need to be taken in order to make it work in Gnome shell Ubuntu 12.04.

Here is the .conkyrc file.

share|improve this question
    
Did u give the command from a terminal or in the startup applications ? If starting from terminal, do you get any error ? –  Shrijit May 20 '12 at 9:50
    
No, i am not getting any kind of error. –  bitsbuffer May 20 '12 at 18:32
add comment

5 Answers

up vote 7 down vote accepted

Just replace own_window_type override with following lines:

own_window_type normal
own_window_argb_visual yes

and use following command to start conky automatically at startup:

bash -c "sleep 20; conky"
share|improve this answer
    
thanks @Basharat Sial that works for me –  bitsbuffer May 20 '12 at 18:17
    
it mostly works. The only problem I have is that hitting Ctrl-Alt-D (the Show Desktop shortcut) hides the conky window too. –  the brx in the walls Sep 24 '12 at 15:15
    
I solved that by using "own_window no" instead of yes. But as fixed it by just trying some different configurations and seeing which worked for me, there may be a more elegant solution. –  user138784 May 10 '13 at 10:24
add comment

I created a little script that runs conky delayed. I'm not sure why, but there is some kind of problems by running it just when the computer starts. So create a script (hidden in your home folder, in this case) with

gedit ~/.conkystart.sh

then add:

#!/bin/bash
sleep 30; conky
exit

and give it the execute permissions

chmod +x ~/.conkystart.sh

as you can see what the script does is only starts conky after sleeping (waiting) 30 seconds

Now go to the startup application and add this script instead of conky itself

conky autostart setup

Now restart (or logout and login) ubuntu and wait for 30 seconds. Does it shows up now?

share|improve this answer
    
I updated my conky to 1.9.0 and it works well now. –  Qin Zheng May 26 '12 at 14:10
add comment

What you need script for? Just launch it like this by adding to Startup list.

conky -p 20 -c /home/{username}/.conkyrc
share|improve this answer
    
or conky -p 20 -c ~/.conkyrc ;) –  penreturns Sep 29 '12 at 19:51
add comment

try some of these parameters, specially the own_window_type:

update_interval 3
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
....
draw_outline no
draw_borders no
draw_graph_borders no

Also, I had problems when starting conky at login in an automatically way, so now, I am used to run conky manually. When you try this way do you still have the problem?

share|improve this answer
    
If you have trouble with conky autostarting, it might be because you need to wait until the desktop environment finishes loading. Have you tried autostarting something like sleep 3 && conky -d? –  Chan-Ho Suh May 20 '12 at 12:44
add comment

I was having this problem too, i think you are trying to use conky-colors. The answer of Basharat Sial is almost there.

My conky-colors configuration was:

./conky-colors --lang=english --theme=blue --cpu=4 --swap --updates --proc=3 --clock=modern --nvidia --calendar --network --ubuntu

I have to remove the --ubuntu and when asked "Ubuntu/Debian distro?" say n (or press Enter).

After that, create a startup application with this command:

bash -c "sleep 20; conky -c ~/.conkycolors/conkyrc"

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.