Pagina 94 di 400

Re: Posta il tuo .conkyrc & png

Inviato: giovedì 10 dicembre 2009, 13:52
da naf
smurf ha scritto: nel tuo conky ci sono diversi script, di per se questo credo che gia' prvochi undiscreto lavoro della cpu, inoltre magari uno di loro fa qualcosa di troppo e impalla la cpu.
Prova a disabilitarli uno per uno e vedi qual' e' il responsabile.
Infatti ho disabilitato delle cose, adesso gira ad un massimo di 21%.

Naf

Re: Posta il tuo .conkyrc & png

Inviato: giovedì 10 dicembre 2009, 18:54
da smurf
quindi riaggiungendo una cosa per volta lo capisci subito qual'é il responsabile, una volta individuato se vuoi lo si vede insieme.

Comunque il 21% mi sembra ancora un po' altino, un quinto della cpu se ne va per gestire il conky, a me al massimo arriva al 2%.

Re: Posta il tuo .conkyrc & png

Inviato: giovedì 10 dicembre 2009, 23:58
da reddho
deegan ha scritto: Postalo!!!!!  ;D
eccolo!
sulla base di uno dei primi visti, postato illo tempore da DjNeophyte  ;D

Immagine

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont DejaVu Sans: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 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color E1EDEE
#default_shade_color white
#default_outline_color black
own_window_colour 1E1C1A

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

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

# 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 2

# 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
DATE ${hr 1}
${alignc 33}${font Sony Sketch EF:size=32}${time %H:%M}${font}
${alignc}${time %A %d %Y}

SYSTEM ${hr 1}
${voffset 2}
${alignc 6}${font OpenLogos:size=16}u
${font}${alignc}${pre_exec whoami} @ ${nodename}
${font}${alignc}${pre_exec echo "`lsb_release -d | awk '{ print $2,$3 }'` - `lsb_release -c | awk '{ print $2 }'`"}
${alignc}${font}Kernel: ${kernel}
${voffset 2}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}G${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}J${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}

HD ${hr 1}
${voffset 6}${font Pie charts for maps:size=14}4${font}   ${voffset -5}/:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}5${font}   ${voffset -5}hdd:
${voffset 4}${fs_free /media/hdd}/${fs_size /media/hdd} ${alignr}${fs_bar 8,60 /media/hdd}
${font Pie charts for maps:size=14}6${font}   ${voffset -5}hdd2:
${voffset 4}${fs_free /media/hdd2}/${fs_size /media/hdd2} ${alignr}${fs_bar 8,60 /media/hdd2}

NETWORK ${hr 1}
${voffset 6}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${addr ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${alignr}${upspeed eth0}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${alignr}${downspeed eth0}

THERMAL ${hr 1}
${voffset -4}
${font StyleBats:size=16}a${font}   CPU1: ${alignr}${execi 60 sensors | grep "Core\ 0" | awk '{ print $3 }'}
${font StyleBats:size=16}a${font}   CPU2: ${alignr}${execi 60 sensors | grep "Core\ 1" | awk '{ print $3 }'}
${voffset 4}
${font StyleBats:size=16}e${font}   GPU: ${alignr}+${execi 60 nvidia-settings -q [gpu:0]/GPUCoreTemp | grep  gpu:0 | awk '{ print $4 }' | sed 's/\.//'}.0°C
${font StyleBats:size=16}f${font}   GPU FanSpeed: ${alignr}${pre_exec nvclock -i | grep Fanspeed\: | awk '{ print $2,$3 }'}
${font StyleBats:size=16}i${font}   GPU DutyCycle: ${alignr}${pre_exec nvclock -i | grep PWM | awk '{ print $4 }'}

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 0:59
da deegan
Qualche aggiunta............................

Immagine

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 7:20
da SuNjACk
deegan ha scritto: Qualche aggiunta............................

Immagine
Bello! Anche se non mi piacciono dei ring cosí giganti ;D

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 15:04
da Nickname.
deegan ha scritto: Qualche aggiunta............................

Immagine
Posteresti il file, mi interessa la riga degli aggiornamenti ;)

EDIT: Trovata! ${execi aptitude search "~U" | wc -l |tail}

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 17:06
da SuNjACk
sono riuscito a ridurre il mio conky a 100px di larghezza

per me un record (rotfl)

Immagine

Codice: Seleziona tutto

# — Conky settings — #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 1024

# — Window specifications — #

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 100
maximum_width 100

alignment tl
gap_x 10
gap_y 15

# — Graphics settings — #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

default_bar_size 100 4

# — Text settings — #
use_xft yes
xftfont cure.se:size=9
xftalpha 0.8

uppercase no

default_color 1b1b1b

# — Lua Load — #
#lua_load ~/Conky/rings-lua/clock.lua
#lua_draw_hook_pre ring_stats

# — Colors — #
color1 000000

TEXT
$color1${font snap.se:size=15}$alignc${time %H:%M:%S}${font}
${font snap.se:size=11}${alignc}${time %d %a %b %Y}$font$color
${voffset 8}Uptime:${alignr}$color1$uptime$color
${voffset 4}CPU:${alignr}$color1${cpu}%$color
${cpugraph 20,100}
MAX CPU
$color1${top name 1}
${voffset -2}$alignr${top cpu 1}$color
${top name 2}
${voffset -2}$alignr${top cpu 2}
${top name 3}
${voffset -2}$alignr${top cpu 3}

${voffset 2}Ram:${alignr}$color1${memperc}$color%  $mem
${membar}
${voffset 2}Swap:${alignr}$color1${swapperc}$color%
${swapbar}

${voffset 5}Disk I/O:$alignr$color1$diskio$color
${diskiograph 20,100}
${voffset 2}Root:${alignr}$color1${fs_used_perc /}%$color  ${fs_used /}
${fs_bar /}
${voffset 2}Sun:${alignr}$color1${fs_used_perc /media/Sunny}%$color  ${fs_used /media/Sunny}
${fs_bar /media/Sunny}

Up:${color1}${alignr 4}${upspeedf ppp0}k/s$color
${upspeedgraph ppp0 14,100}
Total: $alignr${totalup ppp0}

Down:${color1}${alignr 4}${downspeedf ppp0}k/s$color
${downspeedgraph ppp0 14,100}
Total: $alignr${totaldown ppp0}
troppo stretto?

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 17:41
da Sephirotgame
Immagine

vorrei mettere le righe uptime e day di fianco e non sotto alle altre in modo da fare 2-2-2.. ho fatto lo stesso procedimento usatopèer affiancare le prime 4 stringhe ma non ci sono riuscito. come devo fare?

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}
${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short} ${goto 230} ${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 17:51
da SuNjACk
Sephirotgame ha scritto: Immagine

vorrei mettere le righe uptime e day di fianco e non sotto alle altre in modo da fare 2-2-2.. ho fatto lo stesso procedimento usatopèer affiancare le prime 4 stringhe ma non ci sono riuscito. come devo fare?

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}
${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short} ${goto 230} ${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
prova

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 17:58
da Sephirotgame
SuNjACk ha scritto:
Sephirotgame ha scritto: Immagine

vorrei mettere le righe uptime e day di fianco e non sotto alle altre in modo da fare 2-2-2.. ho fatto lo stesso procedimento usatopèer affiancare le prime 4 stringhe ma non ci sono riuscito. come devo fare?

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}
${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short} ${goto 230} ${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
prova

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
in teoria funziona..però sparisce circa mezzo secondo dopo che lo avvio..

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:04
da SuNjACk
Sephirotgame ha scritto:
SuNjACk ha scritto:
Sephirotgame ha scritto: Immagine

vorrei mettere le righe uptime e day di fianco e non sotto alle altre in modo da fare 2-2-2.. ho fatto lo stesso procedimento usatopèer affiancare le prime 4 stringhe ma non ci sono riuscito. come devo fare?

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}
${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short} ${goto 230} ${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
prova

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
in teoria funziona..però sparisce circa mezzo secondo dopo che lo avvio..
provato ad avviarlo da terminale?

che errori porta?

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:32
da Sephirotgame
SuNjACk ha scritto:
Sephirotgame ha scritto:
SuNjACk ha scritto:
Sephirotgame ha scritto: Immagine

vorrei mettere le righe uptime e day di fianco e non sotto alle altre in modo da fare 2-2-2.. ho fatto lo stesso procedimento usatopèer affiancare le prime 4 stringhe ma non ci sono riuscito. come devo fare?

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}
${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short} ${goto 230} ${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
prova

Codice: Seleziona tutto

TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
in teoria funziona..però sparisce circa mezzo secondo dopo che lo avvio..
provato ad avviarlo da terminale?

che errori porta?

jacopo@jacopo-laptop:~$ conky -d -c ~/.conkyrc5
Conky: use_spacer should have an argument of left, right, or none.  'yes' seems to be some form of 'true', so defaulting to right.
Conky: forked to background, pid is 24544
jacopo@jacopo-laptop:~$
Conky: desktop window (30000bb) is subwindow of root window (8b)
Conky: window type - override
Conky: drawing to created window (0xbe00001)
Conky: drawing to double buffer

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:34
da SuNjACk
posta l'intero conkyrc

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:35
da Sephirotgame
SuNjACk ha scritto: posta l'intero conkyrc

Codice: Seleziona tutto

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages 
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#


cpu_avg_samples 2
net_avg_samples 2

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

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

# fiddle with window
use_spacer yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8

default_color black
default_shade_color black
default_outline_color black

# Update interval in seconds
update_interval 1

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

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

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
#default_color grey

own_window_colour brown
own_window_transparent yes

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

# Gap between borders of screen and text
gap_x 800
gap_y 100

#
#   ${font PizzaDude Bullets:size=16}v${font} Up: ${voffset -10}${upspeedgraph eth1 25,80}${offset 20}${voffset 2}${font PizzaDude Bullets:size=16}r${font} Down: ${voffset -10}${downspeedgraph eth1 25,80}$font}
#
#   ${font PizzaDude Bullets:size=16}M${font} Tot Up: ${totalup eth1}   ${voffset -8}${font PizzaDude Bullets:size=16}S${font} Tot Down: ${totaldown eth1}

# stuff after 'TEXT' will be formatted on screen


TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:37
da SuNjACk
Sephirotgame ha scritto:
SuNjACk ha scritto: posta l'intero conkyrc

Codice: Seleziona tutto

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages 
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#


cpu_avg_samples 2
net_avg_samples 2

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

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

# fiddle with window
use_spacer yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8

default_color black
default_shade_color black
default_outline_color black

# Update interval in seconds
update_interval 1

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

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

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
#default_color grey

own_window_colour brown
own_window_transparent yes

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

# Gap between borders of screen and text
gap_x 800
gap_y 100

#
#   ${font PizzaDude Bullets:size=16}v${font} Up: ${voffset -10}${upspeedgraph eth1 25,80}${offset 20}${voffset 2}${font PizzaDude Bullets:size=16}r${font} Down: ${voffset -10}${downspeedgraph eth1 25,80}$font}
#
#   ${font PizzaDude Bullets:size=16}M${font} Tot Up: ${totalup eth1}   ${voffset -8}${font PizzaDude Bullets:size=16}S${font} Tot Down: ${totaldown eth1}

# stuff after 'TEXT' will be formatted on screen


TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
sostituisci

Codice: Seleziona tutto

use_spacer yes
con

Codice: Seleziona tutto

use_spacer none

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:43
da Sephirotgame
SuNjACk ha scritto:
Sephirotgame ha scritto:
SuNjACk ha scritto: posta l'intero conkyrc

Codice: Seleziona tutto

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages 
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#


cpu_avg_samples 2
net_avg_samples 2

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

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

# fiddle with window
use_spacer yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8

default_color black
default_shade_color black
default_outline_color black

# Update interval in seconds
update_interval 1

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

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

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
#default_color grey

own_window_colour brown
own_window_transparent yes

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

# Gap between borders of screen and text
gap_x 800
gap_y 100

#
#   ${font PizzaDude Bullets:size=16}v${font} Up: ${voffset -10}${upspeedgraph eth1 25,80}${offset 20}${voffset 2}${font PizzaDude Bullets:size=16}r${font} Down: ${voffset -10}${downspeedgraph eth1 25,80}$font}
#
#   ${font PizzaDude Bullets:size=16}M${font} Tot Up: ${totalup eth1}   ${voffset -8}${font PizzaDude Bullets:size=16}S${font} Tot Down: ${totaldown eth1}

# stuff after 'TEXT' will be formatted on screen


TEXT
${font StyleBats:size=12}${color 000000}f ${color 000000}${font Corbel:size=10}Os :Ubuntu 8.10 Intrepid Ibex ${goto 230} ${font StyleBats:size=12}${color 000000}n ${color 000000}${font Corbel:size=10}CPU temp:${color} ${acpitemp}°C ${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}P ${color 000000}${font Corbel:size=10}Uptime:${uptime_short}
${font StyleBats:size=12}${color 000000}q ${color 000000}${font Corbel:size=10}Kernel: ${color}${kernel}${color 000000}${goto 230} ${font StyleBats:size=12}${color 000000}a ${color 000000}${font Corbel:size=10}RAM usage:${color} ${mem} - $memperc%${color 000000}${goto 460}${font StyleBats:size=12}${color 000000}4 ${color 000000}${font Corbel:size=10}Day:${time %A %d %B}
sostituisci

Codice: Seleziona tutto

use_spacer yes
con

Codice: Seleziona tutto

use_spacer none
niente da fare..

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:46
da SuNjACk
non da nessun nuovo errore

Codice: Seleziona tutto

conky -D -c /percorso/conkyrc

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 18:49
da Sephirotgame
SuNjACk ha scritto: non da nessun nuovo errore

Codice: Seleziona tutto

conky -D -c /percorso/conkyrc
jacopo@jacopo-laptop:~$ conky -d -c ~/.conkyrc5
Conky: forked to background, pid is 26320
jacopo@jacopo-laptop:~$
Conky: desktop window (30000bb) is subwindow of root window (8b)
Conky: window type - override
Conky: drawing to created window (0xbc00001)
Conky: drawing to double buffer

mi da sempre questo..mah.
comunque al massimo userò 2 conky ddiversi ora provo se così riesco..
comunque mi fa davvero impazzire. spariscono tutti.. in quella zona dello schermo non c'è niente da fare

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 19:02
da Nickname.
Immagine
_ Aggiunta riga Updates
_ Altre piccole modifiche

Come posso sistemare la riga updates..... la scritta è più spostata in alto rispetto alla stellina............e il numero di aggiornamenti spara verso destra >:(


Ops.. eccolo

Codice: Seleziona tutto

# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes
xftfont DejaVu Sans: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 250 500
#maximum_width 300

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color black
#default_shade_color grey
#default_outline_color white

# own window options
own_window      yes
own_window_transparent   yes
own_window_type      override
own_window_hints   undecorated,below,sticky,skip_taskbar,skip_pager

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

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

# 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 1

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

# 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 right

# colours
color1 CFCFCF #4B4B4B #CFCFCF 
# light blue
color2 6892C6
# orange
#E77320
color3 FC8820
# green
color4 78BF39
# red
color5 CC0000

TEXT
${color1}${font Illustrate IT:style=CleanCut:size=15}       s
${color1}${offset -5}${font StyleBats:style=CleanCut:size=12}q${font}${voffset -3}${offset 3}${font :Bold:size=8}Sistema${font} ${hr 2}
${voffset 7}${color1}${font PizzaDude Bullets:size=14.5}u${font}  ${voffset -2}${offset 4}${font :Bold:size=8}User:${font}${alignr}Asus @ Jaunty 
${voffset 8}${font OpenLogos:size=18}u${font}   ${voffset -7}${font :Bold:size=8}Kernel:${font}  ${alignr}${kernel}
${voffset 5}${font StyleBats:size=18}A${font}   ${voffset -6}${font :Bold:size=8}CPU:${offset 5} ${font}${freq_g cpu1} GHz - Load ${cpu cpu1}% ${alignr}${cpubar cpu1 10,60}
${voffset 7}${font StyleBats:size=18}h${font}   ${voffset -5}${font :Bold:size=8}RAM: ${offset 5}${font}$memperc% ${alignr}${membar 10,60}
${voffset 7}${font StyleBats:size=18}j${font}   ${voffset -5}${font :Bold:size=8}SWAP: ${offset 5}${font}$swapperc% ${alignr}${swapbar 10,60}
${voffset 7}${font StyleBats:size=18}p${font}   ${voffset -5}${font :Bold:size=8}Uptime: ${font}${alignr}${uptime}
${voffset 7}${font PizzaDude Bullets:size=16}C${font}   ${voffset -5}${font :Bold:size=8}Updates: ${font}${alignr}${execi 3600 aptitude search "~U" | wc -l | tail}

${voffset 10}${offset -5}${font StyleBats:style=CleanCut:size=12}q ${font}${offset -4}${voffset -3}${font :Bold:size=8}Hard Disks   ${hddtemp /dev/sda}°C${font}  ${hr 2} 
${voffset 7}${font Pie charts for maps:size=16}7${font}   ${voffset -7}${offset 0}${font :Bold:size=8}Root:${font}${offset 10}${fs_used /} / ${fs_size /}  -  ${fs_used_perc /}% ${alignr}${fs_bar 10,60 /}

${voffset 10}${offset -5}${font StyleBats:style=CleanCut:size=12}q ${font}${offset -4}${voffset -3}${font :Bold:size=8}Rete ${font}${hr 2}
${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   ${font :Bold:size=8}Up:${offset 30}${font}     ${upspeed eth0}${alignr}${upspeedgraph eth0 10,60 FFFFFF FFFFFF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   ${font :Bold:size=8}Down:${offset 30}${font}${downspeed eth0}${alignr}${downspeedgraph eth0 10,60 FFFFFF FFFFFF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   ${font :Bold:size=8}Upload: ${font}${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   ${font :Bold:size=8}Download: ${font}${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   ${font :Bold:size=8}Public Ip: ${font}${alignr}${addr eth0}
${texeci 600 feh --bg-scale '/home/nik/Sfondi/grungerainbowwall_alt_hires.png'}




${endif}

Re: Posta il tuo .conkyrc & png

Inviato: venerdì 11 dicembre 2009, 19:15
da SuNjACk
-Nik- ha scritto:
Immagine
_ Aggiunta riga Updates
_ Altre piccole modifiche

Come posso sistemare la riga updates..... la scritta è più spostata in alto rispetto alla stellina............e il numero di aggiornamenti spara verso destra >:(


Ops.. eccolo

Codice: Seleziona tutto

# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes
xftfont DejaVu Sans: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 250 500
#maximum_width 300

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color black
#default_shade_color grey
#default_outline_color white

# own window options
own_window      yes
own_window_transparent   yes
own_window_type      override
own_window_hints   undecorated,below,sticky,skip_taskbar,skip_pager

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

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

# 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 1

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

# 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 right

# colours
color1 CFCFCF #4B4B4B #CFCFCF 
# light blue
color2 6892C6
# orange
#E77320
color3 FC8820
# green
color4 78BF39
# red
color5 CC0000

TEXT
${color1}${font Illustrate IT:style=CleanCut:size=15}       s
${color1}${offset -5}${font StyleBats:style=CleanCut:size=12}q${font}${voffset -3}${offset 3}${font :Bold:size=8}Sistema${font} ${hr 2}
${voffset 7}${color1}${font PizzaDude Bullets:size=14.5}u${font}  ${voffset -2}${offset 4}${font :Bold:size=8}User:${font}${alignr}Asus @ Jaunty 
${voffset 8}${font OpenLogos:size=18}u${font}   ${voffset -7}${font :Bold:size=8}Kernel:${font}  ${alignr}${kernel}
${voffset 5}${font StyleBats:size=18}A${font}   ${voffset -6}${font :Bold:size=8}CPU:${offset 5} ${font}${freq_g cpu1} GHz - Load ${cpu cpu1}% ${alignr}${cpubar cpu1 10,60}
${voffset 7}${font StyleBats:size=18}h${font}   ${voffset -5}${font :Bold:size=8}RAM: ${offset 5}${font}$memperc% ${alignr}${membar 10,60}
${voffset 7}${font StyleBats:size=18}j${font}   ${voffset -5}${font :Bold:size=8}SWAP: ${offset 5}${font}$swapperc% ${alignr}${swapbar 10,60}
${voffset 7}${font StyleBats:size=18}p${font}   ${voffset -5}${font :Bold:size=8}Uptime: ${font}${alignr}${uptime}
${voffset 7}${font PizzaDude Bullets:size=16}C${font}   ${voffset -5}${font :Bold:size=8}Updates: ${font}${alignr}${execi 3600 aptitude search "~U" | wc -l | tail}

${voffset 10}${offset -5}${font StyleBats:style=CleanCut:size=12}q ${font}${offset -4}${voffset -3}${font :Bold:size=8}Hard Disks   ${hddtemp /dev/sda}°C${font}  ${hr 2} 
${voffset 7}${font Pie charts for maps:size=16}7${font}   ${voffset -7}${offset 0}${font :Bold:size=8}Root:${font}${offset 10}${fs_used /} / ${fs_size /}  -  ${fs_used_perc /}% ${alignr}${fs_bar 10,60 /}

${voffset 10}${offset -5}${font StyleBats:style=CleanCut:size=12}q ${font}${offset -4}${voffset -3}${font :Bold:size=8}Rete ${font}${hr 2}
${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   ${font :Bold:size=8}Up:${offset 30}${font}     ${upspeed eth0}${alignr}${upspeedgraph eth0 10,60 FFFFFF FFFFFF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   ${font :Bold:size=8}Down:${offset 30}${font}${downspeed eth0}${alignr}${downspeedgraph eth0 10,60 FFFFFF FFFFFF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   ${font :Bold:size=8}Upload: ${font}${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   ${font :Bold:size=8}Download: ${font}${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   ${font :Bold:size=8}Public Ip: ${font}${alignr}${addr eth0}
${texeci 600 feh --bg-scale '/home/nik/Sfondi/grungerainbowwall_alt_hires.png'}




${endif}
Modifica questa riga ( che la riga dell'update )
${voffset 7}${font PizzaDude Bullets:size=16}C${font}  ${voffset -5}${font :Bold:size=8}Updates: ${font}${alignr}${execi 3600 aptitude search "~U" | wc -l | tail}
devi modificare il valore in grassetto

ad esempio in

Codice: Seleziona tutto

${voffset -4}