You are not logged in.

#1 2013-03-12 01:24:51

rg_arc
Member
Registered: 2011-03-20
Posts: 510

[SOLVED]Conky will not display correctly with transparency enabled

I enabled transparency from the ~/.conkyrc file and it only works for the first two seconds and then the display is jumbled with some other fonts. I get this output after starting conky from the terminal:

$ conky
Conky: desktop window (e00003) is subwindow of root window (82)
Conky: window type - desktop
Conky: drawing to created window (0x3000001)
Conky: drawing to single buffer

and here is a screenshot:

http://imageshack.us/photo/my-images/19 … 08184.png/

This is my ~/.conkyrc:

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
own_window_transparent yes
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:

Last edited by rg_arc (2013-03-12 05:32:29)

Offline

#2 2013-03-12 02:23:16

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [SOLVED]Conky will not display correctly with transparency enabled

Have you got the same conky running multiple times ?

I ask because thats what your screenshot looks like & the 'no-changing' characters are not messed up.

Check in htop & kill all but 1


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#3 2013-03-12 02:27:22

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: [SOLVED]Conky will not display correctly with transparency enabled

I see two Conky processes running. I selected one and killed it then everything shut off.

Offline

#4 2013-03-12 02:34:17

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [SOLVED]Conky will not display correctly with transparency enabled

I tried your conkyrc & it seems to work ok for me, all characters are readable.


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#5 2013-03-12 02:39:01

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: [SOLVED]Conky will not display correctly with transparency enabled

it works fine if its not transparent

Offline

#6 2013-03-12 02:43:19

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [SOLVED]Conky will not display correctly with transparency enabled

rg_arc wrote:

it works fine if its not transparent


Is that because when it is transparent you can see multiple copies ?

Last edited by flipper T (2013-03-12 02:44:21)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#7 2013-03-12 02:46:30

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: [SOLVED]Conky will not display correctly with transparency enabled

flipper T wrote:
rg_arc wrote:

it works fine if its not transparent


Is that because when it is transparent you can see multiple copies ?

Honestly, I have no idea thats why I came here.

Offline

#8 2013-03-12 02:49:40

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: [SOLVED]Conky will not display correctly with transparency enabled

How are you starting the conky?

Offline

#9 2013-03-12 02:53:57

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: [SOLVED]Conky will not display correctly with transparency enabled

from the terminal

just type in "conky"

Offline

#10 2013-03-12 02:56:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: [SOLVED]Conky will not display correctly with transparency enabled

Tell us more about your system.  Which compositor are you using?

kwin? xcompmgr?  cairo-compmgr? Xfwm? compiz?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2013-03-12 03:32:41

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: [SOLVED]Conky will not display correctly with transparency enabled

I have Cinnamon installed along side Xfce and I log into one or the other from time to time. I have Xfwm installed and I believe compiz is installed for Cinnamon. I selected "Enable Display Compositing" from the WM tweaks in xfce.

Offline

#12 2013-03-12 03:56:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: [SOLVED]Conky will not display correctly with transparency enabled

Try these settings:

double_buffer yes
background yes
own_window yes
own_window_type normal
own_window_transparent yes
own_window_colour hotpink
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
own_window_argb_visual yes
own_window_argb_130

Merge these with your .conkyrc.  If your file has one of these directives, comment them out in your file.
I use the hotpink background because it is obvious if the transparency is not working:P


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#13 2013-03-12 04:07:11

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: [SOLVED]Conky will not display correctly with transparency enabled

It seems to work perfectly now with this configuration. I will mark this as solved when I can confirm it for sure.

alignment top_left
background yes
border_width 1
cpu_avg_samples 2
double_buffer yes
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_colour hotpink
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
own_window_argb_visual yes
own_window_argb_130
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}

Last edited by rg_arc (2013-03-12 04:07:43)

Offline

Board footer

Powered by FluxBB