Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-02-09 12:13:00

rocker85
Member
Registered: 2011-11-11
Posts: 10

[XFCE] Debian & Conky

Hi People^^

I want to put conky on my desktop xfce...can you give me some advice?

How setting?

Thank u

Offline

#2 2012-02-10 05:50:02

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: [XFCE] Debian & Conky

A good start is http://blog.mmassonnet.info/2011/08/xfc … conky.html
A search on this forum brings up a number of posts on Conky too.

Offline

#3 2012-02-10 12:30:03

rocker85
Member
Registered: 2011-11-11
Posts: 10

Re: [XFCE] Debian & Conky

i have create my conky but i have a problem

http://i40.tinypic.com/28koi29.png

this is my conkyrc

# Use Xft?
use_xft yes
xftfont HandelGotD:size=8

xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 220
maximum_width 220

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 2
draw_graph_borders no
# border width
border_width 1

# Default colors and also border colors
default_color FFFFFF
default_shade_color 000000
default_outline_color 000000
own_window_colour 000000

# Text alignment, other possible values are commented
#alignment top_left
#alignment middle_right
#alignment bottom_left
#alignment bottom_right
alignment top_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 15
gap_y 15

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT

${font LCD:style=Bold:pixelsize=30}${color 931616}${alignc}${time %H:%M:%S}${color} ${font Snap.se:size=8}

${font Radio Space:size=10}${alignc}${time %A %d %B %Y}${font Snap.se:size=8}

${alignc}${color 931616}SISTEMA${font Snap.se:size=8}${color}

${color white}Computer$color Debian GNU/Linux ${alignr}${color white} 
${color white}Kernel$color  $kernel ${alignr}${color white}Arch.$color $machine

CPU ${alignc} ${freq}MHz / ${acpitemp} C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph cccccc 931616}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

Processi ${alignr}  CPU% MEM%
${hr 1}
${top name 1}${alignr}${top cpu 1} ${top mem 1}
${top name 2}${alignr}${top cpu 2} ${top mem 2}
${top name 3}${alignr}${top cpu 3} ${top mem 3}
${top name 4}${alignr}${top cpu 4} ${top mem 4}
${top name 5}${alignr}${top cpu 5} ${top mem 5}

${alignc}${color 931616}FILE SYSTEM${color}${font Snap.se:size=8}

HDD $color  ${alignc}${fs_used /}/${fs_size /} ${alignr}(${fs_free_perc /}%)
${fs_bar 4 /}

${alignc}${color 931616}RETE${font Snap.se:size=8}${color}
${if_existing /proc/net/route wlan0}
Down: ${alignr}${downspeed wlan0} kb/s 
${downspeedgraph wlan0 cccccc 931616}
Up: ${alignr}${upspeed wlan0} kb/s 
${upspeedgraph wlan0 cccccc 931616}
Totale Upload : ${alignr}${totalup wlan0}
Totale Download : ${alignr}${totaldown wlan0}
Segnale: ${alignr}${wireless_link_qual wlan0}% 
${wireless_link_bar 4 wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Local Ip: ${alignr}${addr wlan0}

${else}${if_existing /proc/net/route eth0}
Down: ${alignr}${downspeed eth0} kb/s 
${downspeedgraph eth0 cccccc 931616}
Up: ${alignr}${upspeed eth0} kb/s 
${upspeedgraph eth0 cccccc 931616}
Totale Upload : ${alignr}${totalup eth0}
Totale Download : ${alignr}${totaldown eth0}

${endif}${else}${if_existing /proc/net/route ppp0}
Down: ${alignr}${downspeed ppp0} kb/s 
${downspeedgraph ppp0 cccccc 931616}
Up: ${alignr}${upspeed eth0} kb/s 
${upspeedgraph ppp0 cccccc 931616}
Totale Upload : ${alignr}${totalup ppp0}
Totale Download : ${alignr}${totaldown ppp0}
${endif}${else}
${font Radio Space:size=10}Nessuna Rete{font Snap.se:size=8}
${endif}

Who can help me?

Offline

#4 2012-02-10 12:53:21

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: [XFCE] Debian & Conky

I'm not sure what your problem is. You should say clearly what you are trying to do.

If you expect Conky to be transparent do you have compositing turned on? You should also have own_window_argb_visual set to yes.
Also own_window_type should be desktop not override.

Offline

#5 2012-02-10 13:06:08

rocker85
Member
Registered: 2011-11-11
Posts: 10

Re: [XFCE] Debian & Conky

Thank u for reply

i have change conky but now my conky have a black black box around

6xrdjd.png

I want you see the desktop

this is conkyrc

# Use Xft?
use_xft yes
xftfont HandelGotD:size=8

xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_argb_visual yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 220
maximum_width 220

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 2
draw_graph_borders no
# border width
border_width 1

# Default colors and also border colors
default_color FFFFFF
default_shade_color 000000
default_outline_color 000000
own_window_colour 000000

# Text alignment, other possible values are commented
#alignment top_left
#alignment middle_right
#alignment bottom_left
#alignment bottom_right
alignment top_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 15
gap_y 15

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT

${font LCD:style=Bold:pixelsize=30}${color 931616}${alignc}${time %H:%M:%S}${color} ${font Snap.se:size=8}

${font Radio Space:size=10}${alignc}${time %A %d %B %Y}${font Snap.se:size=8}

${alignc}${color 931616}SISTEMA${font Snap.se:size=8}${color}

${color white}Computer$color Debian GNU/Linux ${alignr}${color white} 
${color white}Kernel$color  $kernel ${alignr}${color white}Arch.$color $machine

CPU ${alignc} ${freq}MHz / ${acpitemp} C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph cccccc 931616}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

Processi ${alignr}  CPU% MEM%
${hr 1}
${top name 1}${alignr}${top cpu 1} ${top mem 1}
${top name 2}${alignr}${top cpu 2} ${top mem 2}
${top name 3}${alignr}${top cpu 3} ${top mem 3}
${top name 4}${alignr}${top cpu 4} ${top mem 4}
${top name 5}${alignr}${top cpu 5} ${top mem 5}

${alignc}${color 931616}FILE SYSTEM${color}${font Snap.se:size=8}

HDD $color  ${alignc}${fs_used /}/${fs_size /} ${alignr}(${fs_free_perc /}%)
${fs_bar 4 /}

${alignc}${color 931616}RETE${font Snap.se:size=8}${color}
${if_existing /proc/net/route wlan0}
Down: ${alignr}${downspeed wlan0} kb/s 
${downspeedgraph wlan0 cccccc 931616}
Up: ${alignr}${upspeed wlan0} kb/s 
${upspeedgraph wlan0 cccccc 931616}
Totale Upload : ${alignr}${totalup wlan0}
Totale Download : ${alignr}${totaldown wlan0}
Segnale: ${alignr}${wireless_link_qual wlan0}% 
${wireless_link_bar 4 wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Local Ip: ${alignr}${addr wlan0}

${else}${if_existing /proc/net/route eth0}
Down: ${alignr}${downspeed eth0} kb/s 
${downspeedgraph eth0 cccccc 931616}
Up: ${alignr}${upspeed eth0} kb/s 
${upspeedgraph eth0 cccccc 931616}
Totale Upload : ${alignr}${totalup eth0}
Totale Download : ${alignr}${totaldown eth0}

${endif}${else}${if_existing /proc/net/route ppp0}
Down: ${alignr}${downspeed ppp0} kb/s 
${downspeedgraph ppp0 cccccc 931616}
Up: ${alignr}${upspeed eth0} kb/s 
${upspeedgraph ppp0 cccccc 931616}
Totale Upload : ${alignr}${totalup ppp0}
Totale Download : ${alignr}${totaldown ppp0}
${endif}${else}
${font Radio Space:size=10}Nessuna Rete{font Snap.se:size=8}
${endif}

who can help me?

Offline

#6 2012-02-10 14:51:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: [XFCE] Debian & Conky

Is your compositor turned on? (Settings Manager -> Window Manager Tweaks -> Compositor)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2012-02-10 15:23:38

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: [XFCE] Debian & Conky

I don't think the compositor affects it. Here it works (4.8) with or without compositing with

own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type desktop

but I think rocker85 maybe is using something else besides xfdesktop to set the wallpaper. I suggest to use the desktop settings for it. And kill conky and restart it after changing .conkyrc

Offline

#8 2012-02-10 16:09:26

rocker85
Member
Registered: 2011-11-11
Posts: 10

Re: [XFCE] Debian & Conky

I have not 3D graphics....only 2D(i have sis 671 as video card)

i have need to change

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_argb_visual yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

on

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type desktop

?????

Last edited by rocker85 (2012-02-10 16:19:19)

Offline

#9 2012-02-10 18:11:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: [XFCE] Debian & Conky

secipolla wrote:

I don't think the compositor affects it. Here it works (4.8) with or without compositing with

own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type desktop

but I think rocker85 maybe is using something else besides xfdesktop to set the wallpaper. I suggest to use the desktop settings for it. And kill conky and restart it after changing .conkyrc

I get the same effect as rocker85 using his script when I turn off the compositor. With the compositor enabled, I get transparency. (Xubuntu 11.10/xfce 4.8)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2012-02-10 18:53:01

rocker85
Member
Registered: 2011-11-11
Posts: 10

Re: [XFCE] Debian & Conky

So how will do set my conky?

Offline

#11 2012-02-10 21:38:46

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: [XFCE] Debian & Conky

You can't have transparency if you don't have compositing turned on. Transparency needs 3d.

Offline

#12 2012-02-11 09:33:42

rocker85
Member
Registered: 2011-11-11
Posts: 10

Re: [XFCE] Debian & Conky

You can't have transparency if you don't have compositing turned on. Transparency needs 3d.


then I have to give up to conky

Offline

#13 2012-02-11 11:04:03

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: [XFCE] Debian & Conky

Transparency in Conky has nothing to do with xfwm's compositing. At least not the background transparency.
Remove that own_window_argb_visual line (this has to do with compositing, probably is supposed to give all around transparency, including text and is, I guess, what's messing your conky).

Last edited by secipolla (2012-02-11 11:08:30)

Offline

#14 2012-02-11 12:58:42

rocker85
Member
Registered: 2011-11-11
Posts: 10

Re: [XFCE] Debian & Conky

Transparency in Conky has nothing to do with xfwm's compositing. At least not the background transparency.
Remove that own_window_argb_visual line (this has to do with compositing, probably is supposed to give all around transparency, including text and is, I guess, what's messing your conky).

ok but how set my conky....i m little confused now

Offline

#15 2012-02-12 12:27:51

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: [XFCE] Debian & Conky

Just remove
own_window_argb_visual yes
and see if it works.

Offline

Board footer

Powered by FluxBB