Vous n'êtes pas identifié(e).
Dernière modification par Debian33 (16-05-2009 08:40:06)
Hors ligne
Hors ligne
Hors ligne
Hors ligne
Hors ligne
Hors ligne
# aptitude install -t testing conky
version :
conky | 1.7.0-1 | http://ftp.fr.debian.org testing/main Packages
Mais pour le configurer, ballepot ! Et la recherche sur les sites est vraiment hard pour ce sujet, beaucoup en angliche...
C'est comment la suite ?
Par exemple, j'aimerai surveiller en permanence :
la température carte-mère et processeur
le barregraphe des ressources du processeur utilisées
dans un conky fond transparent et lettre blanches sur le bureau...
qui s'y maintiendrait en permanence
depuis un démarrage automatique à l'allumage...
dans le coin à droite de l'écran, et non à gauche comme par défaut actuellement...
Trop ?
Meu non, j'suis sûr...;)
Amitié, Joel
Dernière modification par smolski (20-06-2009 16:32:02)
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
Dernière modification par Debian33 (20-06-2009 16:47:15)
Hors ligne
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
"L'éducation vise à former des citoyens pas trop tatas et non pas à envoyer le plus de tatas possible à l'université."
Pierre Foglia (Journaliste à la retraite à La Presse)
Note : au Québec, le mot tata a un sens péjoratif qui sert à désigner une personne un peu idiote ou insignifiante. D'où les expressions familières : Espèce de grand, de gros tata! Être, avoir l'air tata.
Hors ligne
Dernière modification par smolski (20-06-2009 21:28:17)
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
Dernière modification par Debian33 (20-06-2009 23:32:06)
Hors ligne
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
own_window_transparent yes
own_window_colour black
# Text alpha when using Xft
xftalpha 0.8
#on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
#Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override # type de fenêtre "maison" (le type desktop convient si on n'a pas d'ombre)
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # définition du type
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 380
maximum_width 380
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 25
gap_y 40
#alignment top_right
alignment top_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
#${execi 300 /home/triode/scripts/conky-rss.sh http://www.foxnews.com/xmlfeed/rss/0,4313,1,00.rss 4 2}
#Tu as ${color3}${texeci 60 perl ~/scripts/gmail.pl n} ${color}Nouveau(x) Message(s).
#${execi 60 perl ~/scripts/gmail.pl s}
TEXT
${color #ffffff}/Swap ${color #ffffff}$swap/$swapmax${alignr} ${color #ffffff}${swapbar 5,115}
${color #ffffff}/root ${color #ffffff}${fs_used /}/${fs_size /}${alignr}${color #ffffff}${fs_bar 5,120 /}
${color #ffffff}/home ${color #ffffff}${fs_used /home}/${fs_size /home}${alignr}${color #ffffff}${fs_bar 5,120 /home}
${color #ffffff}/media ${color #ffffff}${fs_used /media/windows}/${fs_size /media/windows}${alignr}${color #ffffff}${fs_bar 5,120 /media/windows}
${color slate white}Artiste: ${color ffffff}${exec cat ~/.quodlibet/current | grep artist | cut -d "=" -f2 }
${color slate white}Titre: ${color ffffff}${exec cat ~/.quodlibet/current | grep title | cut -d "=" -f2 }${alignr}${color slate white}(${color ffffff}${exec cat ~/.quodlibet/current | grep tracknumber | cut -d "=" -f2 }${color slate white})
${color slate white}Album: ${color ffffff}${exec cat ~/.quodlibet/current | grep album | cut -d "=" -f2 }
${color slate white}genre: ${color ffffff}${exec cat ~/.quodlibet/current | grep genre | cut -d "=" -f2 }${color slate white}${alignr}Format: ${color ffffff}${exec cat ~/.quodlibet/current | grep format | cut -d "=" -f2 }
la partie reseau au milieu
alignment top_left
background yes
border_width 1
cpu_avg_samples 2
default_color ffffff
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 500
gap_y 10
maximum_width 430
max_port_monitor_connections 64
max_specials 512
max_user_text 16384
minimum_size 430
net_avg_samples 2
no_buffers yes
out_to_console no
#wm_class_name Conky
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
own_window yes
stippled_borders 2
update_interval 2
uppercase no
use_spacer yes
use_xft yes
xftalpha 0.8
xftfont Bitstream Vera Sans Mono:size=9
#${color #757891}Port(s)${alignr}#Connections
#${color #757891}Outbound Connection ${alignr} Remote Service/Port$color
TEXT
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}
${tcp_portmon 32768 61000 rhost 7} ${alignr} ${tcp_portmon 32768 61000 rservice 7}
${tcp_portmon 32768 61000 rhost 8} ${alignr} ${tcp_portmon 32768 61000 rservice 8}
${tcp_portmon 32768 61000 rhost 9} ${alignr} ${tcp_portmon 32768 61000 rservice 9}
la partie a droite
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent yes
own_window_colour black
# Text alpha when using Xft
xftalpha 0.8
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override # type de fenêtre "maison" (le type desktop convient si on n'a pas d'ombre)
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # définition du type
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 240
maximum_width 240
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 30
gap_y 30
alignment top_right
#alignment top_left
#alignment bottom_right
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer rigth
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
TEXT
${color #ffffff}$nodename ${alignc}$sysname $kernel ${alignr}
${color #ffffff}Load:${color #ffffff} $loadavg${color #ffffff} CPU:${cpu}%
${cpubar}
${color #ffffff}Processes:${color #ffffff}$processes ${color #ffffff} Running:${color #ffffff} $running_processes
${color #ffffff}NOM PID CPU MEM
${color #ffffff}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #ffffff}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #ffffff}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #ffffff}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #ffffff}RAM Usage:${color #ffffff}$mem/$memmax $memperc%
${color #ffffff}$membar
${color #ffffff}RAM PID CPU MEM
${color #ffffff}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #ffffff}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #ffffff}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #ffffff}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
la partie droite
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent yes
own_window_colour black
# Text alpha when using Xft
xftalpha 0.8
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override # type de fenêtre "maison" (le type desktop convient si on n'a pas d'ombre)
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # définition du type
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 240
maximum_width 240
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 30
gap_y 30
alignment top_right
#alignment top_left
#alignment bottom_right
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer rigth
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
TEXT
${color #ffffff}$nodename ${alignc}$sysname $kernel ${alignr}
${color #ffffff}Load:${color #ffffff} $loadavg${color #ffffff} CPU:${cpu}%
${cpubar}
${color #ffffff}Processes:${color #ffffff}$processes ${color #ffffff} Running:${color #ffffff} $running_processes
${color #ffffff}NOM PID CPU MEM
${color #ffffff}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #ffffff}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #ffffff}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #ffffff}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #ffffff}RAM Usage:${color #ffffff}$mem/$memmax $memperc%
${color #ffffff}$membar
${color #ffffff}RAM PID CPU MEM
${color #ffffff}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #ffffff}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #ffffff}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #ffffff}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
Voila en esperant que tout arrive a bon port
Cordialement
Heinrich Hertz ne vit pas l'application de son dispositif et de sa découverte. Il se contenta de noter que « cela n'a aucune espèce d'application. C'est juste une expérience qui permet de prouver que le maître Maxwell avait raison — nous avons simplement ces ondes électromagnétiques mystérieuses que nous ne pouvons voir à l'œil nu. Mais elles sont là. »
Hors ligne
Dernière modification par smolski (21-06-2009 10:24:49)
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
Dernière modification par Bibou (21-06-2009 11:36:45)
UltraPortable: Hp 2510p ~ Core 2 duo U7700 ~ 4Go DDR2 | Debian Sid
New pc fixe: Hp p6235 ~ Core 2 Quad Q8300 ~ 6Go DDR3 | Debian Sid
Hors ligne
Fichier meteo.sh
Fichier meteo2.sh
Fichier meteo.xslt
Dernière modification par Bibou (21-06-2009 16:21:09)
UltraPortable: Hp 2510p ~ Core 2 duo U7700 ~ 4Go DDR2 | Debian Sid
New pc fixe: Hp p6235 ~ Core 2 Quad Q8300 ~ 6Go DDR3 | Debian Sid
Hors ligne
Dernière modification par smolski (22-06-2009 10:09:22)
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
ou là --> .conkyrc
Donc n'oubliez pas le code et une capture miniature de votre bureau
Hors ligne
A Tchibâââ !
[img align=D]http://nsm01.casimages.com/img/2009/06/24//090624080306538993944752.png[/img]
Dernière modification par smolski (24-06-2009 08:02:29)
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
Fichier weather.sh
fichier .weather.xslt
Hors ligne
lance le premier conky et utilise le fichier de conf .conky-numero-un.
puis pareil pour les autres... Pour automatiser ça au démarrage, il faudrait un script pour gnome, et dans openbox vous rajoutez dans le fichier autostart.sh
exemple :
Par exemple voici mon bureau :
ici en grand
Voilà les fichiers de conf :
.conkyrc
.conkyrc2
double_buffer yes
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
draw_borders no
border_margin 2
draw_shades no
gap_x 60
gap_y 50
alignment bottom_left
update_interval 1
default_color DCDCCC
own_window_colour 121212
use_xft yes
override_utf8_locale yes
font Smash :size=30
text_buffer_size 1024
TEXT
${color 666666}MEM
${color 666666}${voffset -20}${membar 17}
.conkyrc3
double_buffer yes
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
draw_borders no
border_margin 2
draw_shades no
gap_x 560
gap_y 42
alignment bottom_left
update_interval 1
default_color DCDCCC
own_window_colour 121212
use_xft yes
override_utf8_locale yes
font Smash:size=15
text_buffer_size 1024
TEXT
${color 666666} CPU : ${platform coretemp.0 temp 1} C - ${platform coretemp.1 temp 1} C
.conkyrc4
double_buffer yes
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
draw_borders no
border_margin 2
draw_shades no
gap_x 460
gap_y 110
alignment bottom_left
update_interval 1
default_color DCDCCC
own_window_colour 121212
use_xft yes
override_utf8_locale yes
font Smash :size=12
text_buffer_size 1024
TEXT
${color 666666} ${exec rhythmbox-client --print-playing}
(remarquez qu'il vous faut installer la police smash pour un bon rendu)
A+
Dernière modification par llapingachos (31-10-2009 19:48:06)
GNU/Linux is user friendly, it's just selective about who its friends are.
Hors ligne
Hors ligne
"Théo et Adama te rappellent pourquoi Zyed et Bouna couraient…"
"L'utopie ne signifie pas l'irréalisable, mais l'irréalisée." - T Monod (source : La zone de Siné)
"Je peux rire de tout mais pas avec n'importe qui." - P Desproges
"saque eud dun" (patois chtimi : fonce dedans)
Hors ligne
Il me semble parfois que Dieu, en créant l'homme, ait quelque peu surestimé ses capacités. Oscar Wilde.
Hors ligne