Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites". Attention, le forum rencontre actuellement quelques difficultés. En cas d'erreur 502, il ne faut pas re-valider l'envoi d'un message ou l'ouverture d'une discussion, au risque de créer un doublon.

La section divers se réorganise ! De nouvelles sous-sections à venir. (plus d'infos + donner son avis)

#1 Le 03/02/2007, à 18:37

Lenezir

[Résolu] Conky : problème de fond

Salut ^^
Je viens de découvrir Conky -qui est génial- mais quand après avoir modifié le script pour éviter qu'il clignote (cf doc) le font de l'applet est noir. Alors j'ai essayé de jongler avec les yes et les no dans les options à modifier (pour le clignotement) mais parfois le résultat est bien pire.
Alors comment avoir un fond transparent sans clignotement ?
Merci ^^

Mon script Conky :

#use_xft yes

double_buffer yes
on_bottom yes
update_interval 1.0
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
draw_borders 0
draw_shades 0
gap_x 8
gap_y 200
alignment bottom_right
total_run_times 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
metar_station yes
default_color #4582B6
default_shade_color black
default_outline_color black
stippled_borders 8
border_margin 4
border_width 1
minimum_size 280 5
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

TEXT
${color #666600}        $nodename - $sysname $kernel on $machine ${color #FFFFFF}
$stippled_hr
${color #666600}Uptime:$color $uptime ${color #FFFFFF}- Load:$color $loadavg
${color #666600}Usage CPU:$color $cpu%  ${color #FFFFFF} ${cpubar}
$color ${cpugraph FFFFFFF FFFFFFF}
${color #666600}Usage RAM:${color #FFFFFF} $mem / $memmax - $memperc% ${membar}
${color #666600}Usage Swap:${color #FFFFFF} $swap / $swapmax - $swapperc% ${swapbar}
${color #666600}Processus:$color $processes ${color #4582B5}Running:$color ${color #FFFFFF} $running_processes
$color$stippled_hr
${color #666600}Reseau:
IP Locale ${addr wlan0} - Publique ${execi 600 /home/imoreion/.conkyscripts/mon_ip}
${color #4582B5}Down:${color #FFFFFF}${downspeed wlan0} kb/s${color #4582B5} ${offset 80}Up:${color #FFFFFF} ${upspeed wlan0} kb/s
$color$stippled_hr
${color #666600}Espace Disque Utilise:
${color #4582B5}/            ${color #FFFFFF}${fs_used /} / ${fs_size /}${alignr}${color #FFFFFF}${fs_bar 5,120 /}
${color #4582B5}/IMLADRIS            ${color #FFFFFF}${fs_used /media/IMLADRIS} / ${fs_size /media/IMLADRIS}${alignr}${color #FFFFFF}${fs_bar 5,120 /media/IMLADRIS}
${color #4582B5}/windows            ${color #FFFFFF}${fs_used /media/windows} / ${fs_size /media/windows}${alignr}${color #FFFFFF}${fs_bar 5,120 /media/windows}
$color$stippled_hr
${color #666600}CPU usage${color #4582B5}           PID     CPU%   MEM%
${color #4582B5} ${top name 1}         ${color #FFFFFF}${top pid 1} ${top cpu 1} ${top mem 1}
${color #4582B5} ${top name 2}         ${color #FFFFFF}${top pid 2} ${top cpu 2} ${top mem 2}
${color #4582B5} ${top name 3}         ${color #FFFFFF}${top pid 3} ${top cpu 3} ${top mem 3}
${color #4582B5} ${top name 4}         ${color #FFFFFF}${top pid 4} ${top cpu 4} ${top mem 4}
${color #666600}Mem usage
${color #4582B5} ${top_mem name 1}         ${color #FFFFFF}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #4582B5} ${top_mem name 2}         ${color #FFFFFF}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #4582B5} ${top_mem name 3}         ${color #FFFFFF}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #4582B5} ${top_mem name 4}         ${color #FFFFFF}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${if_running amarok}
${color #666600}Now Playing${color #4582B5}
${alignc}${execi 10 ~/.conkyscripts/amarok artist}
${alignc}${execi 10 ~/.conkyscripts/amarok title}
${color white}
${execibar 1 ~/.conkyscripts/amarok progress}
${alignc}"${execi 10 ~/.conkyscripts/amarok album}"
${alignc}${execi 10 ~/.conkyscripts/amarok year} - ${color white}${alignc}${execi 10 ~/.conkyscripts/amarok genre}$endif

et mon xorg.conf :

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"dbe"
#	Load	"extmod"
	SubSection "extmod"
	Option	"omit xfree86-dga"
	EndSubSection
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. RV350 AS [Radeon 9600]"
	Driver		"fglrx"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"BX3814UT"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. RV350 AS [Radeon 9600]"
	Monitor		"BX3814UT"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
    Option "Composite" "disable"
EndSection

Voilà merci ^^

Dernière modification par Imoreion (Le 17/06/2008, à 08:41)

Hors ligne

#2 Le 03/02/2007, à 18:48

Michel38

Re : [Résolu] Conky : problème de fond

Bonsoir,
Comme çà ?
a5fb0cccc36e74455c9ead3a5665t.jpg


Every day is a school day ... Your Ubuntu User number is # 572
Portable ASUS Dual Core T2130 de chez Iventive - 1.86 GHz - RAM:2 Go - DD 160 Go - Hardy Heron 8.04.4 LTS - Noyau 2.6.24.24 Generic - LiveBox Sagem 4 Mo
Mon Blog http://mdoucet.wordpress.com/

Hors ligne

#3 Le 03/02/2007, à 18:50

Lenezir

Re : [Résolu] Conky : problème de fond

Oui ^^
Et peux-tu me donner ton script stp ? J'ai bien envie de l'utiliser big_smile
Merci ^^

Hors ligne

#4 Le 03/02/2007, à 18:57

Michel38

Re : [Résolu] Conky : problème de fond

ok mais il faudra changer pour les espaces disques et le t°

use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
##own_window_hints undecorated,below,skip_taskbar
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 0
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment top-right
gap_x 10
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no
min_port_monitors            0
min_port_monitor_connections        0

TEXT

${color white}Bonjour Michel
${time %A %d %B %Y} - ${time %H:%M:%S}
IP Locale ${addr eth0} - IP Publique ${execi 1800 ~/Perso/monip.sh}
$sysname $kernel sur $machine $freq_g GHz
${color #040404}$stippled_hr
${color white}Uptime:$color $uptime ${color white}- Load:$color $loadavg
${color white}CPU Usage:${color white} $cpu% ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color white}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color white}Processes:$color $processes ${color white}Running:$color $running_processes
${color #040404}$stippled_hr
${color white}Reseau
Down:${color white} ${downspeed eth0} k/s${color white} ${offset 80}Up:${color white} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
${color #040404}$stippled_hr
${color #FFFF00}/root    ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
/home   ${fs_used /home}/${fs_size /home}${alignr}${fs_used_perc /home}%
${fs_bar 8 /home}
/hdb1  ${fs_used /media/disque2}/${fs_size /media/disque2}${alignr}${fs_used_perc /media/disque2}%
${fs_bar 8 /media/disque2}
${color #040404}$stippled_hr
${color black}Process            PID    %CPU   %MEM
${color yellow} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color white} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color black}Memoire
${color yellow} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color white} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color white} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color white} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color white} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${color #040404}$stippled_hr
${color white}Temperature systeme
${color yellow}M/B: ${exec expr `cat /sys/bus/i2c/devices/9191-0290/temp1_input` / 1000} C  
${color green}CPU: ${exec expr `cat /sys/bus/i2c/devices/9191-0290/temp2_input` / 1000} C
${color #040404}$stippled_hr
${color black}Port(s) ouvert(s): ${color black}${tcp_portmon 1 65535 count}
${color white} ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
${tcp_portmon 1 65535 rhost 6} $alignr${tcp_portmon 1 65535 lservice 6}
${tcp_portmon 1 65535 rhost 7} $alignr${tcp_portmon 1 65535 lservice 7}
${tcp_portmon 1 65535 rhost 8} $alignr${tcp_portmon 1 65535 lservice 8}
${tcp_portmon 1 65535 rhost 9} $alignr${tcp_portmon 1 65535 lservice 9}
${tcp_portmon 1 65535 rhost 10} $alignr${tcp_portmon 1 65535 lservice 10}
${color #040404}$stippled_hr

Every day is a school day ... Your Ubuntu User number is # 572
Portable ASUS Dual Core T2130 de chez Iventive - 1.86 GHz - RAM:2 Go - DD 160 Go - Hardy Heron 8.04.4 LTS - Noyau 2.6.24.24 Generic - LiveBox Sagem 4 Mo
Mon Blog http://mdoucet.wordpress.com/

Hors ligne

#5 Le 03/02/2007, à 18:57

Lenezir

Re : [Résolu] Conky : problème de fond

Merci big_smile

Hors ligne

#6 Le 03/02/2007, à 19:15

Lenezir

Re : [Résolu] Conky : problème de fond

Bon bah ça me fait pareil hmm
Tant pis merci pour ton aide et je vais réessayer SuperKaramba...
@+ wink

Hors ligne

#7 Le 03/02/2007, à 22:57

Struddel

Re : [Résolu] Conky : problème de fond

Moarf meuh non abandonne pas, on va trouver wink

Enleve ca (ou mets un # devant si tu veux le garder au cas ou)

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

Et mets ça à la place :

own_window_type override

Ratpoison

Hors ligne

#8 Le 04/02/2007, à 09:47

Lenezir

Re : [Résolu] Conky : problème de fond

Merci Struddel mais ça ne change rien smile
Mais par contre ça marche quand je change de fond d'écran mais ça redevient noir quand je kill le processus et quand je le remet...
Et aussi dans les paramètres j'ai bien mis top_right pour que la fenêtre soit à droite de l'écran mais elle se trouve à gauche... hmm

Hors ligne

#9 Le 04/02/2007, à 09:59

badzil

Re : [Résolu] Conky : problème de fond

Il y a des infos sur le sujet ici : http://debuntu.free.fr/index.php?2005/11/20/487-conky-m-a-conquis-

Aprés consultation du site de conky, j'ai appris qu'il y avait un conflit entre conky et nautilus ce qui entrainait ce clignotement génant...

    * 1ere solution:

Allez dans Applications>>Outils systèmes>>Editeur de configuration GCONF et décochez "show_desktop" dans Apps>>Nautilus>>Preferences.

Ceci aura pour conséquence d'empêcher nautilus de dessiner votre bureau ce qui est finalement assez gênant car vous ne pourrez plus faire de click droit sur votre bureau ni voir vos icones...

    * 2eme solution:

Editez le fichier .conkyrc et passez à "yes" les options suivantes:

own_window
double_buffer

Relancez ensuite conky de la façon suivante:

golgoth@laptop:~$ killall conky
golgoth@laptop:~$ conky

Les clignotements devraient disparaitre car conky a maintenant sa propre fenêtre.
Le problème, c'est que maintenant vous avez dans la liste des applications une fenêtre "conky" ce qui est assez génant quand on veut être un vrai "geek" et "tuner" au maximum son bureau! ;-)

La solution consiste à installer devilspie via synaptic et à placer ces lignes dans un fichier nommé ".devilspie.xml" que vous placerez dans votre home comme le .conkyrc.

Démarrez devilspie:

golgoth@laptop:~$ devilspie &

Conky devrait rester sur votre bureau mais devrait disparaitre de la liste de vos applications! :-)

Pour automatiser tout ça, vous pouvez ajouter à vos programmes au démarrage devilspie suivi de conky. (Système >> Préférences >> Session )

J'espère que ça va régler ton problème.

Hors ligne

#10 Le 04/02/2007, à 10:06

Lenezir

Re : [Résolu] Conky : problème de fond

Merci badzil mais ça ne marche pas sad

root@siteduzero:~# devilspie &
[1] 14396
root@siteduzero:~# No s-expressions loaded, quiting

Mais merci wink

Hors ligne

#11 Le 04/02/2007, à 10:13

random

Re : [Résolu] Conky : problème de fond

salut,

voici mes réglages (sous gnome) :
.conkyrc
background no
use_xft yes
own_window yes
own_window_transparent yes
own_window_type override
double_buffer yes

xorg.conf
dans Section "Module"
ajouter Load "dbe"

cool

Hors ligne

#12 Le 04/02/2007, à 10:15

Michel38

Re : [Résolu] Conky : problème de fond

random a écrit :

salut,
xorg.conf
dans Section "Module"
ajouter Load "dbe"
cool

.... grillé mais c'est primordial


Every day is a school day ... Your Ubuntu User number is # 572
Portable ASUS Dual Core T2130 de chez Iventive - 1.86 GHz - RAM:2 Go - DD 160 Go - Hardy Heron 8.04.4 LTS - Noyau 2.6.24.24 Generic - LiveBox Sagem 4 Mo
Mon Blog http://mdoucet.wordpress.com/

Hors ligne

#13 Le 04/02/2007, à 10:21

Lenezir

Re : [Résolu] Conky : problème de fond

J'ai mis background sur no mais ça ne fait rien. Et j'avais déjà mis le Load "dbe" dans xorg.conf smile

Hors ligne

#14 Le 04/02/2007, à 10:32

random

Re : [Résolu] Conky : problème de fond

sauvegarde ton .conkyrc et mets le mien à la place, pour voir

# conky configuration
# edited by darcon@gmail.com

# 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

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8

# Text alpha when using Xft
xftalpha 0.8

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 3.0

# 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

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

# Minimum size of text area
minimum_size 240 5
maximum_width 240

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 2

# border margins
border_margin 6

# border width
border_width 1

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

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

# 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 yes
#Note: doesn't work in conky 1.2 =(

#   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
#   mldonkey_port         Mldonkey port, 4001 default
#   mldonkey_login        Mldonkey login, default none
#   mldonkey_password     Mldonkey password, default none


# Possible variables to be used:
#
#      Variable         Arguments                  Description                

# 	addr              (interface)   IP address for an interface
# 	acpiacadapter                   ACPI ac adapter state.                   
# 	acpifan                         ACPI fan state                           
# 	acpitemp                        ACPI temperature.                        
# 	adt746xcpu                      CPU temperature from therm_adt746x       
# 	adt746xfan                      Fan speed from therm_adt746x             
# 	alignr            (num)         Right-justify text, with space of N
# 	alignc                          Align text to centre
# 	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                 
# 	cpugraph          (height),(width) (gradient colour 1) (gradient colour 2)
# 					CPU usage graph, with optional colours in hex,
# 					minus the #.
# 	downspeed         net           Download speed in kilobytes              
# 	downspeedf        net           Download speed in kilobytes with one     
# 					decimal                                  
# 	downspeedgraph    net (height),(width) (gradient colour 1) (gradient colour 2)
# 					Download speed graph, colours defined in
# 					hex, minus the #.
# 	exec              shell command Executes a shell command and displays    
# 					the output in conky. warning: this      
# 					takes a lot more resources than other    
# 					variables. I'd recommend coding wanted   
# 					behaviour in C and posting a patch :-).  
# 	execbar           shell command Same as exec, except if the first value
# 					return is a value between 0-100, it
# 					will use that number for a bar.
# 					The size for the bar is currently fixed,
# 					but that may change in the future.
# 	execgraph         shell command Same as execbar, but graphs values
# 	execi             interval, shell command
#  					Same as exec but with specific interval. 
# 					Interval can't be less than              
# 					update_interval in configuration.        
#	font		  font		Specify a different font.  Only applies
#					to one line.
# 	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/tempf (first in C, second in F)
# 					meaning temperature. n is number of the  
# 					sensor. See /sys/bus/i2c/devices/ on     
# 					your local computer.                     
# 	if_running        (process)     if PROCESS is running, display
# 					everything if_running and the matching $endif
# 	if_existing       (file)        if FILE exists, display everything between
# 					if_existing and the matching $endif
# 	if_mounted        (mountpoint)  if MOUNTPOINT is mounted, display everything between
# 					if_mounted and the matching $endif
# 	else                            Text to show if any of the above are not true
# 	kernel                          Kernel version                          
# 	linkstatus        (interface)   Get the link status for wireless connections
# 	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
# 	
# 	metar_ob_time
# 	metar_temp
# 	metar_tempf                     Temp in F
# 	metar_windchill
# 	metar_dew_point                 There are a bunch of these
# 	metar_rh                        and they are self-explanatory
# 	metar_windspeed
# 	metar_winddir
# 	metar_swinddir
# 	metar_cloud
# 	metar_u2d_time
# 	
# 	ml_upload_counter               total session upload in mb
# 	ml_download_counter             total session download in mb
# 	ml_nshared_files                number of shared files
# 	ml_shared_counter               total session shared in mb, buggy
# 					in some mldonkey versions
# 	ml_tcp_upload_rate              tcp upload rate in kb/s
# 	ml_tcp_download_rate            tcp download rate in kb/s
# 	ml_udp_upload_rate              udp upload rate in kb/s
# 	ml_udp_download_rate            udp download rate in kb/s
# 	ml_ndownloaded_files            number of completed files
# 	ml_ndownloading_files           number of downloading files
# 	
# 	mpd_artist			Artist in current MPD song
# 					(must be enabled at compile)
# 	mpd_album			Album in current MPD song
# 	mpd_bar           (height)      Bar of mpd's progress
# 	mpd_bitrate                     Bitrate of current song
# 	mpd_status                      Playing, stopped, et cetera.
# 	mpd_title			Title of current MPD song
# 	mpd_vol				MPD's volume
# 	mpd_elapsed                     Song's elapsed time
# 	mpd_length                      Song's length
# 	mpd_percent                     Percent of song's progress
# 	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 
# 					conky 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           
# 	offset            pixels        Move text over by N pixels
# 	tail              logfile, lines (interval)
# 					Displays last N lines of supplied text
# 					text file.  If interval is not supplied,
# 					Conky assumes 2x Conky's interval.
# 					Max of 30 lines.
# 					Max of 30 lines can be displayed.
# 	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 conky   
# 					has started.                            
# 	top               type, num     This takes arguments in the form:
# 					top <name> <number>
# 					Basically, processes are ranked from 
# 					highest to lowest in terms of cpu
# 					usage, which is what <num> represents.
# 					The types are: "name", "pid", "cpu", and
# 					"mem".
# 					There can be a max of 10 processes listed.
# 	top_mem           type, num     Same as top, except sorted by mem usage
# 					instead of cpu
# 	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                                  
# 	upspeedgraph      net (height),(width)  (gradient colour 1) (gradient colour 2)
# 					Upload speed graph, colours defined in
# 					hex, minus the #.
# 	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

# stuff after 'TEXT' will be formatted on screen

TEXT
${font Terminus:size=12}${alignc}${color #ddaa00}${time %A %e %B %G}
${alignc}${color }${time %H:%M:%S}
${font Terminus:size=8}${alignc}${color slate grey}UpTime : ${color }$uptime
${hr 1}
${offset 5}${color slate grey}Local Weather:
${color }${execi 1800 /home/benj/divers_linux/scripts_conky/weather.sh}
${hr 1}
${offset 5}${color slate grey}Cpu : ${color }${i2c 9191-0a10 temp 1} °C   ${color slate grey}Fan : ${color }${i2c 9191-0a10 fan 1}
${offset 5}${color slate grey}Case : ${color }${i2c 9191-0a10 temp 2} °C
${offset 5}${color slate grey}Gpu : ${color }${i2c 9191-0a10 temp 3} °C
${hr 1}
${offset 5}${color slate grey}CPU :${color } ${freq_dyn_g}Ghz ${color slate grey}- ${color }${cpu}%
${alignc}${cpugraph 20,180 000000 ffffff}

${offset 5}${color slate grey}Load : ${color }$loadavg
${offset 5}${color slate grey}Processes : ${color }$processes ${color slate grey}( ${color }$running_processes${color slate grey})

${offset 5}${color slate grey}Highest CPU :
${offset 10}${color #ddaa00}${top name 1} ${tab 90} ${top cpu 1}%
${offset 10}${color lightgrey}${top name 2} ${tab 90} ${top cpu 2}%
${offset 10}${top name 3} ${tab 90} ${top cpu 3}%
${offset 10}${top name 4} ${tab 90} ${top cpu 4}%
${offset 10}${top name 5} ${tab 90} ${top cpu 5}%
${offset 10}${top name 6} ${tab 90} ${top cpu 6}%

${offset 5}${color slate grey}Highest MEM :
${offset 10}${color #ddaa00}${top_mem name 1} ${tab 90} ${top_mem mem 1}%
${offset 10}${color lightgrey}${top_mem name 2} ${tab 90} ${top_mem mem 2}%
${offset 10}${top_mem name 3} ${tab 90} ${top_mem mem 3}%
${offset 10}${top_mem name 4} ${tab 90} ${top_mem mem 4}%
${offset 10}${top_mem name 5} ${tab 90} ${top_mem mem 5}%
${offset 10}${top_mem name 6} ${tab 90} ${top_mem mem 6}%
${hr 1}
${offset 5}${color slate grey}Mem : ${tab 30}${color lightgrey}${membar 3,120}${color }  $memperc%
${offset 5}${color slate grey}Swap : ${tab 30}${color lightgrey}${swapbar 3,120}${color }  $swapperc%
${offset 5}${color slate grey}Root : ${tab 30}${color lightgrey}${fs_bar 3,120 /}${color }  ${fs_free_perc /} %
${offset 5}${color slate grey}Home : ${tab 30}${color lightgrey}${fs_bar 3,120 /home}${color }  ${fs_free_perc /home} %
${offset 5}${color slate grey}Medias : ${tab 30}${color lightgrey}${fs_bar 3,120 /mnt/multimedia}${color }  ${fs_free_perc /mnt/multimedia} 
${hr 1}
${offset 5}${color slate grey}Net Up : ${color }${upspeedf eth0}k/s
${alignc}${upspeedgraph eth0 20,180 000000 ffffff}
${offset 5}${color slate grey}Net Down : ${color }${downspeedf eth0}k/s${color}
${alignc}${downspeedgraph eth0 20,180 000000 ffffff}

${offset 5}${color slate grey}Connexions :
${offset 10}${color lightgrey}${tcp_portmon 1 65535 rip 0} ${tcp_portmon 1 65535 rport 0} ${tcp_portmon 1 65535 lport 0}
${offset 10}${tcp_portmon 1 65535 rip 1} ${tcp_portmon 1 65535 rport 1} ${tcp_portmon 1 65535 lport 1}
${offset 10}${tcp_portmon 1 65535 rip 2} ${tcp_portmon 1 65535 rport 2} ${tcp_portmon 1 65535 lport 2}
${offset 10}${tcp_portmon 1 65535 rip 3} ${tcp_portmon 1 65535 rport 3} ${tcp_portmon 1 65535 lport 3}
${offset 10}${tcp_portmon 1 65535 rip 4} ${tcp_portmon 1 65535 rport 4} ${tcp_portmon 1 65535 lport 4}
${offset 10}${tcp_portmon 1 65535 rip 5} ${tcp_portmon 1 65535 rport 5} ${tcp_portmon 1 65535 lport 5}
${offset 10}${tcp_portmon 1 65535 rip 6} ${tcp_portmon 1 65535 rport 6} ${tcp_portmon 1 65535 lport 6}
${offset 10}${tcp_portmon 1 65535 rip 7} ${tcp_portmon 1 65535 rport 7} ${tcp_portmon 1 65535 lport 7}
${offset 10}${tcp_portmon 1 65535 rip 8} ${tcp_portmon 1 65535 rport 8} ${tcp_portmon 1 65535 lport 8}
${offset 10}${tcp_portmon 1 65535 rip 9} ${tcp_portmon 1 65535 rport 9} ${tcp_portmon 1 65535 lport 9}

cool

Hors ligne

#15 Le 04/02/2007, à 10:37

Lenezir

Re : [Résolu] Conky : problème de fond

Merci random mais le tien m'affiche rien du tout ! lol

Hors ligne

#16 Le 04/02/2007, à 10:37

random

Re : [Résolu] Conky : problème de fond

Michel38 a écrit :
random a écrit :

salut,
xorg.conf
dans Section "Module"
ajouter Load "dbe"
cool

.... grillé mais c'est primordial

J'adore ce forum sur le quel le gagnant sera celui qui aide plus vite que les autres big_smile

Hors ligne

#17 Le 04/02/2007, à 10:40

random

Re : [Résolu] Conky : problème de fond

Imoreion a écrit :

Merci random mais le tien m'affiche rien du tout ! lol

ah ouais, ca doit être les sondes de température ou les partitions, je te le modifie, essaye celui là :

# conky configuration
# edited by darcon@gmail.com

# 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

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8

# Text alpha when using Xft
xftalpha 0.8

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 3.0

# 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

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

# Minimum size of text area
minimum_size 240 5
maximum_width 240

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 2

# border margins
border_margin 6

# border width
border_width 1

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

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

# 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 yes
#Note: doesn't work in conky 1.2 =(

#   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
#   mldonkey_port         Mldonkey port, 4001 default
#   mldonkey_login        Mldonkey login, default none
#   mldonkey_password     Mldonkey password, default none


TEXT
${font Terminus:size=12}${alignc}${color #ddaa00}${time %A %e %B %G}
${alignc}${color }${time %H:%M:%S}
${font Terminus:size=8}${alignc}${color slate grey}UpTime : ${color }$uptime
${hr 1}
${offset 5}${color slate grey}CPU :${color } ${freq_dyn_g}Ghz ${color slate grey}- ${color }${cpu}%
${alignc}${cpugraph 20,180 000000 ffffff}

${offset 5}${color slate grey}Load : ${color }$loadavg
${offset 5}${color slate grey}Processes : ${color }$processes ${color slate grey}( ${color }$running_processes${color slate grey})

${offset 5}${color slate grey}Highest CPU :
${offset 10}${color #ddaa00}${top name 1} ${tab 90} ${top cpu 1}%
${offset 10}${color lightgrey}${top name 2} ${tab 90} ${top cpu 2}%
${offset 10}${top name 3} ${tab 90} ${top cpu 3}%
${offset 10}${top name 4} ${tab 90} ${top cpu 4}%
${offset 10}${top name 5} ${tab 90} ${top cpu 5}%
${offset 10}${top name 6} ${tab 90} ${top cpu 6}%

${offset 5}${color slate grey}Highest MEM :
${offset 10}${color #ddaa00}${top_mem name 1} ${tab 90} ${top_mem mem 1}%
${offset 10}${color lightgrey}${top_mem name 2} ${tab 90} ${top_mem mem 2}%
${offset 10}${top_mem name 3} ${tab 90} ${top_mem mem 3}%
${offset 10}${top_mem name 4} ${tab 90} ${top_mem mem 4}%
${offset 10}${top_mem name 5} ${tab 90} ${top_mem mem 5}%
${offset 10}${top_mem name 6} ${tab 90} ${top_mem mem 6}%
${hr 1}
${offset 5}${color slate grey}Mem : ${tab 30}${color lightgrey}${membar 3,120}${color }  $memperc%
${offset 5}${color slate grey}Swap : ${tab 30}${color lightgrey}${swapbar 3,120}${color }  $swapperc%

${offset 5}${color slate grey}Connexions :
${offset 10}${color lightgrey}${tcp_portmon 1 65535 rip 0} ${tcp_portmon 1 65535 rport 0} ${tcp_portmon 1 65535 lport 0}
${offset 10}${tcp_portmon 1 65535 rip 1} ${tcp_portmon 1 65535 rport 1} ${tcp_portmon 1 65535 lport 1}
${offset 10}${tcp_portmon 1 65535 rip 2} ${tcp_portmon 1 65535 rport 2} ${tcp_portmon 1 65535 lport 2}
${offset 10}${tcp_portmon 1 65535 rip 3} ${tcp_portmon 1 65535 rport 3} ${tcp_portmon 1 65535 lport 3}
${offset 10}${tcp_portmon 1 65535 rip 4} ${tcp_portmon 1 65535 rport 4} ${tcp_portmon 1 65535 lport 4}
${offset 10}${tcp_portmon 1 65535 rip 5} ${tcp_portmon 1 65535 rport 5} ${tcp_portmon 1 65535 lport 5}
${offset 10}${tcp_portmon 1 65535 rip 6} ${tcp_portmon 1 65535 rport 6} ${tcp_portmon 1 65535 lport 6}
${offset 10}${tcp_portmon 1 65535 rip 7} ${tcp_portmon 1 65535 rport 7} ${tcp_portmon 1 65535 lport 7}
${offset 10}${tcp_portmon 1 65535 rip 8} ${tcp_portmon 1 65535 rport 8} ${tcp_portmon 1 65535 lport 8}
${offset 10}${tcp_portmon 1 65535 rip 9} ${tcp_portmon 1 65535 rport 9} ${tcp_portmon 1 65535 lport 9}

big_smile

Hors ligne

#18 Le 04/02/2007, à 10:43

Lenezir

Re : [Résolu] Conky : problème de fond

Merci il est pas mal mais toujours ce fichu fond noir big_smile

Hors ligne

#19 Le 04/02/2007, à 11:09

Struddel

Re : [Résolu] Conky : problème de fond

à la place de own_window_type override essaie maintenant :

own_window_type desktop

Laisse bien background sur no


Ratpoison

Hors ligne

#20 Le 04/02/2007, à 11:26

Lenezir

Re : [Résolu] Conky : problème de fond

Non toujours noir :'(

Hors ligne

#21 Le 16/11/2007, à 23:50

bmar

Re : [Résolu] Conky : problème de fond

Bonsoir,

J'ai aussi un fond noir depuis que je suis passé sur Fluxbuntu sur mon portable Dell C600.
As-tu trouvé une solution depuis ?

Merci


Soyez vous-même le changement que vous voulez voir dans le Monde - Gandhi

Hors ligne

#22 Le 02/12/2007, à 00:08

Torajio

Re : [Résolu] Conky : problème de fond

Bonsoir smile

Si tu n'as pas Compiz (ou un autre gestionnaire de fenêtre composite), essaies d'installer le paquet xcompmgr si tu ne l'as pas déjà .

En espérant résoudre ton problème smile .

#23 Le 02/12/2007, à 01:36

quentin_

Re : [Résolu] Conky : problème de fond

Normalement avec compiz ya pas besoin de xcompmgr. Sous Feisty, Compiz passe pas et xcompmgr générait des bugs d'affichage et des ralentissements.
Donc du coup c'était du metacity pur et dur, et pourtant conky marche nickel. J'ai juste du ajouter le chargement du module dbe ds la section Module de mon Xorg.conf pour eviter les clignotement.

Là sous suse j'arrive pas à obtenir l'accélération graphique (:s on va aller voir du côté de Fedora WereWolf). et conky marche très bien. 

Imorelon t'as essayer ce petit script qui retarde le lancement de conky au démarrage de la session? Je dois passer par lui pour le lancer automatiquement sinon ça bug

#!/bin/bash
sleep 15;
conky;

Sinon voici mon conkyrc:

#emplacement
alignment top_right

#pour que corky tourne en arriere plan
background yes
#background no #pour les tests

#nombre d'echantillons a utiliser pour calculer la moyenne d'utilisation
cpu_avg_samples 4
net_avg_samples 4

#affiche le texte sur la sortie standard
out_to_console no

# Utiliser Xft (polices lissées etc)
use_xft yes

#police a utiliser : use_xft doit etre a "yes"
xftfont Terminal Bitstream Vera Sans Mono:size=8

# utiliser sa propre fenetre ?
own_window yes

#type de fenetre : normal(avec le cadre) / override / desktop
own_window_type override

#pseudo transparence?
own_window_transparent yes

# taux de raffraichissement de la fenetre (en secondes)
update_interval 2

# pour eviter le clignotement de la semaine (fonctionne pas chez moi)
double_buffer yes

# afficher les ombres?
draw_shades no

# afficher des contours ?
draw_outline no

#contours autour des blocs de texte?
draw_borders no

# contour en trait-tillés, longueur d'un trait en pixels
stippled_borders 10

#largeur des marges (n'a pas l'air de fonctionner)
border_margin 40

# largeur du contour
border_width 1

# couleur par defaut du texte, de l'ombre et du contour
default_color white
default_shade_color white
default_outline_color white

# ecart avec le bord x=gauche ou droit y= haut ou bas
gap_x 30
gap_y 30

# Ajoute des espaces apres certains objets pour eviter de les faire bouger.
# Fonctionne uniquement avec la police Monospace
use_spacer no

# Soustraire les mémoires tampons de la mémoire utiliser ?
no_buffers yes

# Tout le texte en majuscule ?
uppercase no

TEXT
${font Dungeon:style=Bold:pixelsize=12}
${color #ddaa00}$nodename - $sysname $kernel on $machine
${color lightgrey}Allumé depuis:$color $uptime ${color lightgrey}
${color white}${hr 2}
${color lightgrey}Réseau

${font Dungeon:style=Bold:pixelsize=12}${alignc}IP Publique : ${execi 1800 ~/.conky/monip.sh}

${color lightgrey}Ethernet (eth0) :${alignr}DL :${color #8844ee} ${totaldown eth0} ${color lightgrey}/ UP :${color #22ccff} ${totalup eth0} 
Adresse IP : ${color #ddaa00}${addr eth0}
${color lightgrey}Down :${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 100}Up:${color #22ccff} ${upspeed eth0} k/s
${color lightgrey}${downspeedgraph eth0 25,150 ff0000 0000ff} $alignr${color lightgrey}${upspeedgraph eth0 25,150 0000ff ff0000}

${color lightgrey}Wifi (wlan0) :${alignr}DL :${color #8844ee} ${totaldown wlan0} ${color lightgrey}/ UP :${color #22ccff} ${totalup wlan0} 
Adresse IP : ${color #ddaa00}${addr wlan0}
${color lightgrey}Down :${color #8844ee} ${downspeed wlan0} k/s${color lightgrey} ${offset 100}Up:${color #22ccff} ${upspeed wlan0} k/s
${color lightgrey}${downspeedgraph wlan0 25,150 ff0000 0000ff} $alignr${color lightgrey}${upspeedgraph wlan0 25,150 0000ff ff0000}
${color white}${hr 2}
${color lightgrey}Moniteur système

${offset 5}${color slate grey}CPU :${color lightgrey} ${freq_dyn_g}Ghz - ${color white}${cpu}%
${color lightgrey}${cpugraph 25 ff0000 ff00ff}

${color #ffccaa}Utilisation du Processeur.
${color white}		Noms           		PID     	CPU%   		MEM%
${color #ddaa00} ${top name 1} 		${top pid 1} 	${top cpu 1} 	${top mem 1}
${color #888888} ${top name 2} 		${top pid 2} 	${top cpu 2} 	${top mem 2}
${color #888888} ${top name 3} 		${top pid 3} 	${top cpu 3} 	${top mem 3}
${color #888888} ${top name 4} 		${top pid 4} 	${top cpu 4} 	${top mem 4}
${color #888888} ${top name 5} 		${top pid 5} 	${top cpu 5} 	${top mem 5}

${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processus:$color $processes  ${color grey}Running:$color $running_processes
${color white}${hr 2}
${color lightgrey}Utilisation du disque: 

${color #FFFF00}Home     ${fs_used /home}/${fs_size /home}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
${color #FFFF00}Suse	 ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
${color white}${hr 2}

Cordialement


Le père noël existe-t-il ?
Airis N1105C core 2 duo T7500, 2 Go de RAM, GeForce 8400M GS
Pour un laptop linux allez chez Novatux
Ubuntu 9.10

Hors ligne

#24 Le 17/01/2008, à 15:45

S2S

Re : [Résolu] Conky : problème de fond

et pourtant conky marche nickel. J'ai juste du ajouter le chargement du module dbe ds la section Module de mon Xorg.conf pour eviter les clignotement.

salut,
alors je voi ca (dbe =>Xorg.conf) mais moi y a pas la section "module"
doit-je la creer, ou activer(desactiver) une option ou je ne sais quoi.

xorg.conf:

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
	Option		"XkbVariant"	"oss"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizEdgeScroll"	"0"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Intel Corporation 82852/855GM Integrated Graphics Device"
	Driver		"intel"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"à‰cran générique"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82852/855GM Integrated Graphics Device"
	Monitor		"à‰cran générique"
	DefaultDepth	24
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

pas de clignotement mais le shot du wallpaper qui ce decale et ce recale plusieur foit par minute, pas tres propre tout ca.

egalement si quelqu'un a reussi a le lancer au demerage de sa session gnome, je prend.
en effet j'ai tester tout ce que j'ai trouver et pas de conky au demarage:

menu/session:
xterm -e sleep 5 && conky
ou
xterm -e sleep 5 && conky &
ou
gnome-terminal -e conky
ou
gnome-terminal -e sleep 5 && conky
.... ect ...

et avec ce scipt(~/.startconky):
#!/bin/bash
sleep 5;
conky;
en lancant dans menu/session:
~/.startconky

pourtant tout ca ca marche si utiliser dans un shell ou atl+F2 ...
comprend pas (j'ai bien rendue le scipt executable)
...


portable: Toshiba Qosmio x500 12Q
fixe: P5N72-T Premium//Core2Quad-Q9550//7950GT//2048DDR2
OS: 10.04 - 10.10 - 11.04, 7
... qui croit tout savoir, n'en saura jamais plus ...

Hors ligne

#25 Le 17/01/2008, à 16:10

S2S

Re : [Résolu] Conky : problème de fond

bien ca a ete tres vite:
j'ai creer la section "module" :

Section "Module"
    Load           "dbe"
EndSection

puis dans menu/session:
commande = conky

sans rien et surprise cairo-dock compiz emerald wallpapoz et conky s'affiche sans bug

seul bug (deja avant tout ca) les tableau de bord gnome qui parfoit ne ce rafraichie pas au changement de wallpaper (wallpapoz)
je doit: clk droit sur le tableau de bord, propriete: je monte la taille d'1 pixel, je la remet, et ca remarche jusqua la prochaine fois.
surtout  quand firefox + terminal sont ouvert (je passe au shell en fon maintenant, on vera si utiliser autre chose que gnome-terminal marche mieux)

voiloo

Dernière modification par S2S (Le 17/01/2008, à 16:15)


portable: Toshiba Qosmio x500 12Q
fixe: P5N72-T Premium//Core2Quad-Q9550//7950GT//2048DDR2
OS: 10.04 - 10.10 - 11.04, 7
... qui croit tout savoir, n'en saura jamais plus ...

Hors ligne

Haut de page ↑