Page 1 of 1

Conky and the plasma desktop

PostPosted: Feb 11th, '13, 14:29
by catowner
I have a conky script running on a plasma desktop (KDE) however, whenever I click on the plasma desktop the conky display disappears but I know it is still running as when I close down KDE the conky display appears briefly befire it too closes down.

How can I display conky on the desktop without it disapearing when I click on the desktop?

Re: Conky and the plasma desktop

PostPosted: Feb 12th, '13, 17:58
by kurmucis
The same here.
Haven't searched for the way to "glue" conky to the desktop, but the way working for me to call it when necessary is as follows:
- switch to empty desktop,
- press Alt+Tab
... and it will be visible.

Hope it helps.

Re: Conky and the plasma desktop

PostPosted: Feb 12th, '13, 18:52
by doktor5000
Can you please post/attach your conkyrc?

Re: Conky and the plasma desktop

PostPosted: Feb 12th, '13, 21:15
by kurmucis
What I found is /etc/conky/conky.conf

Code: Select all

alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}


Hope this is the right one.
Icould recall it only from the empty desktop, afterwards it''s wisible even when another desktop is active (conky acts as background).
For me it''s ok, just it took a while get used to this.

Re: Conky and the plasma desktop

PostPosted: Feb 12th, '13, 21:49
by doktor5000
No, you should take a look into /home/username/.conkyrc (that is a hidden file, like most other settings)

Re: Conky and the plasma desktop

PostPosted: Feb 12th, '13, 22:30
by kurmucis
No such file under /home/auns/ (if Dolphin with "show hidden files" enabled could be trusted).

Then it''s using the default one (from somewhere)?

Re: Conky and the plasma desktop

PostPosted: Feb 12th, '13, 22:40
by alf
maybe /etc/conky/conky.conf ?

Re: Conky and the plasma desktop

PostPosted: Feb 18th, '13, 20:36
by viking60
alf wrote:maybe /etc/conky/conky.conf ?
Image

It is a good idea to:
Code: Select all
cp /etc/conky/conky.conf ~/.conkyrc
(~/.conkyrc will take precedence over /etc/conky/conky.conf)
That way everybody is right :D

I seem to remember that own_window_transparent yes could help...
But posting your conky.conf/.conkyrc here is the best thing to do.

Re: Conky and the plasma desktop

PostPosted: Feb 18th, '13, 22:15
by doktor5000
viking60 wrote:
alf wrote:maybe /etc/conky/conky.conf ?

But posting your conky.conf/.conkyrc here is the best thing to do.


He already did, he's using the system-wide, maybe all default settings: viewtopic.php?p=30940#p30940

Re: Conky and the plasma desktop

PostPosted: Feb 18th, '13, 22:40
by viking60
Putting own_window_transparent yes on top of the file makes it transparent here:
Code: Select all
own_window_transparent yes
alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
etc etc,,