Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 08/11/2006, à 22:42

Arkezis

[résolu][Conky] Probleme divers (transparence, amarok ...)

Bonsoir bonsoir smile (sous Kubuntu pas Ubuntu wink )

Je viens d'install conky (génial au passage wink ) et j'ai quelques problemes au niveau de la config !

Premierement, je n'arrive pas a mettre l'affichage de la lecture d'amarok sad !!
Pourtant, je fais comme dans le tuto et quand je lance conky en ligne de commande :

Conky: on_bottom is deprecated.  use own_window_hints below
Conky: /home/arkezis/.conkyrc: 17: config file error
sh: /home/arkezis/.conky/amarok: Permission denied

Deuxiement, je voudrais bien qu'il soit transparent, mais rien n'y fait, je ne sais comment faire sad ! Je post mon .conkyrc un peu plus bas !

Troisiemement, je voudrais l'autolancer au démarrage mais impossible car je ne sais ou se trouve l'icone du programme (d'habitude, je met les icones dans ~/.kde/autorun ou un truc comme ca et la j'en ai pas pour conky sad )

merci de m'aider smile

Le conkyrc :

use_xft yes
on_bottom 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
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color #4582B5
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 8
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no


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:
${color #4582B5}Down:${color #FFFFFF}${downspeed eth0} k/s${color #4582B5} ${offset 80}Up:${color #FFFFFF} ${upspeed eth0} k/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}/home            ${color #FFFFFF}${fs_used /home} / ${fs_size /home}${alignr}${color #FFFFFF}${fs_bar 5,120 /home}
${color #4582B5}/change            ${color #FFFFFF}${fs_used /media/change} / ${fs_size /media/change}${alignr}${color #FFFFFF}${fs_bar 5,120 /media/change}
$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}Now Playing${color white}
${alignc}${execi 10 ~/.conky/amarok artist}
${alignc}${execi 10 ~/.conky/amarok title}
${execibar 1 ~/.conky/amarok progress}
${alignc}"${execi 10 ~/.conky/amarok album}"
${alignc}${execi 10 ~/.conky/amarok year} - ${color white}${alignc}${execi 10 ~/.conky/amarok genre}$endif

Dernière modification par Arkezis (Le 06/12/2006, à 12:08)


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#2 Le 09/11/2006, à 03:56

dogawaf

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Hello

Conky: on_bottom is deprecated.  use own_window_hints below
Conky: /home/arkezis/.conkyrc: 17: config file error
sh: /home/arkezis/.conky/amarok: Permission denied

Visiblement, conky te signale qu'il vaut mieux utiliser own_window_hints plutôt que on_bottom. Ce n'est pas le cas partout dans ton .conkyrc. Mais c'est pas grave, c'est juste un warning.

Ensuite, apriori une erreur en ligne 17 ?
et je m'intérroge sur le chemin " ~/.conky/amarok ". Amarok écris les tag du fichier lu dans .conky ? Si c'est pas le cas, alors l'erreur peut venir de ce chemin...

Peux-tu donner le chemin du tuto que tu as suivi ?

Bye smile

Hors ligne

#3 Le 09/11/2006, à 07:03

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Le tuto de la doc !

http://doc.ubuntu-fr.org/applications/conky


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#4 Le 09/11/2006, à 20:44

dogawaf

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

ok.

je le vois que maintenant, mais l'erreur

sh: /home/arkezis/.conky/amarok: Permission denied

dit que conky n'a pas les droits pour executer (sh) le fichier .conky/amarok.

peux-tu vérifier que le script est accessible en exécution par conky ?

Hors ligne

#5 Le 09/11/2006, à 22:17

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Bon j'ai changé le CHMOD mais j'ai toujours ca comme erreur :

Conky: on_bottom is deprecated.  use own_window_hints below
Conky: /home/arkezis/.conkyrc: 17: config file error
Conky: desktop window (1400010) is subwindow of root window (4d)
Conky: window type - normal
Conky: hint - undecorated
Conky: hint - below
Conky: hint - sticky
Conky: hint - skip_taskbar
Conky: hint - skip_pager
Conky: drawing to created window (2e00002)
Conky: failed to set up double buffer
Conky: drawing to single buffer

Pour on_bottom, j'ai changé mais j'ai remis normal aprés juste pour que ca bug pas au cas ou wink
Et le reste ?


Par contre ... CA MARCHE NIKEL POUR AMAROK ! Merci beaucoup wink
Enfin, presque,il y a juste la barre de progression qui ne marche pas, elle reste vide sad

Dernière modification par Arkezis (Le 09/11/2006, à 22:39)


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#6 Le 11/11/2006, à 20:07

dogawaf

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Hello,

jete un coup d'oeil sur le site officiel (http://conky.sourceforge.net),
il y a pas mal de .conkyrc, moi j'ai pioché dans plusieurs afin d'avoir une config stable et simple.
Je te conseille aussi de conserver les commentaires dans le .conkyrc, cela aide beaucoup pour résoudre les erreurs.

il y a aussi une liste de toutes les variables utilisables.
en tout cas, prifite de ce soft bien terrible et ultra léger !

A bientot wink

Hors ligne

#7 Le 12/11/2006, à 13:20

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Ok pour la transparence je vais essayer !
Pour amarok, au pire c'est po grave !

Par contre pour l'auto démarrer j'ai fait un script .sh et j'ai mis tout mes logiciels dedans sauf qu'au démarrage, au lieu d'éxécuter le script, il me l'affiche avec kate sad

Et les commentaires dans le script de conky c'est comment ?
avec # ?
Car quand je fais ca, il me les affiche sad

Dernière modification par Arkezis (Le 12/11/2006, à 16:14)


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#8 Le 12/11/2006, à 16:51

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Hum ... j'ai un probleme ! J'avais enfin réussi a le mettre transparent big_smile sauf que malheureusement ca cligotait !
Donc j'ai suvi le tuto en modifiant xorg :  http://doc.ubuntu-fr.org/applications/conky
Maintenant, quand conky est transparent, mes icones n'apparaissent pas sur le bureau si ce n'est quand je passe dessus avec ma souris !
Et si je modifie pour qu'ils apparaissent, conky n'es plus transparent ... sad

Help me !!!


#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 500
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:
${color #4582B5}Down:${color #FFFFFF}${downspeed eth0} kb/s${color #4582B5} ${offset 80}Up:${color #FFFFFF} ${upspeed eth0} 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}/home			${color #FFFFFF}${fs_used /home} / ${fs_size /home}${alignr}${color #FFFFFF}${fs_bar 5,120 /home}
${color #4582B5}/change			${color #FFFFFF}${fs_used /media/change} / ${fs_size /media/change}${alignr}${color #FFFFFF}${fs_bar 5,120 /media/change}
$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 ~/.conky/amarok artist}
${alignc}${execi 10 ~/.conky/amarok title}
${color white}
${execibar 1 ~/.conky/amarok progress}
${alignc}"${execi 10 ~/.conky/amarok album}"
${alignc}${execi 10 ~/.conky/amarok year} - ${color white}${alignc}${execi 10 ~/.conky/amarok genre}$endif

[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#9 Le 14/11/2006, à 04:20

dogawaf

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

je n'ai pas mon ordi sur moi. Demain je poste mon conkyrc avec le xorg qui va bien (pour moi wink).
Attention cependant je tourne avec fvwm-crystal, et pas gnome...

A demain

Hors ligne

#10 Le 14/11/2006, à 10:22

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

fvwm-crystal ? c'est quoi ? je suis sous KDE moi !


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#11 Le 19/11/2006, à 01:16

dogawaf

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

ReHello,

fvwm-crystal est un mode de fvwm, qui est un gestionnaire de fenêtre (et pas seulement), comme kde ou gnome. Il est juste personnalisable au max (tellement que des fois c'est dur).

voilà mon .conkyrc

# conky configuration
# edited by dogawaf

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

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

# Minimum size of text area
minimum_size 180 5

# 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 white
default_shade_color white 
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 1
gap_y 40

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

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


# 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@home 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
${color }${time %a} ${time %e %B %G}
${color white}Heure: ${color }${time %H:%M:%S}

${color white}Kern:${color } $kernel
${color white}CPU:${color } ${cpubar 5}
${color white}MEM:${color } ${membar 5}
${color white}SWAP:${color } ${swapbar 5}
${color white}Temperature :${color} ${acpitemp}C
${color white}Processus: ${color }$running_processes/${color } $processes

${color white}Top: 
 ${color }${top name 1}${alignr 50}${top cpu 1}
 ${color }${top name 2}${alignr 50}${top cpu 2}
 ${color }${top name 3}${alignr 50}${top cpu 3}

${color white}/ : ${color }${fs_free /}/${fs_size /}
${color white}/media/d : ${color }${fs_free /media/d}/${fs_size /media/d}
${color white}/media/c : ${color }${fs_free /media/c}/${fs_size /media/c}

${color white}Ethernet : ${addr eth0}
 ${color}Up : ${color}${upspeed eth0}k/s
 ${color}Down : ${color}${downspeed eth0}k/s
${color white}Wifi : ${addr eth1}
 ${color}Up : ${color}${upspeed eth1}k/s
 ${color}Down : ${color}${downspeed eth1}k/s

${color white}Battery: ${color }$battery

Comme je disais, c'est pas mal de laisser les commentaires (ligne commençant par un #), ça permet de bien voir toutes les variables disponibles sans plgin supplémentaires. Je suis parti sur un .conkyrc du site officiel de conky.

Pour tes problèmes de transparence qui fait disparaître les icones du bureau,
je pense que ça vien de la ligne

own_window yes

. Essaye della virer.

a +

Hors ligne

#12 Le 19/11/2006, à 13:41

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Effectivement, la transparence vient bien de la !
Mais, lorsque j'enleve cette ligne, mes icones de bureau n'apparaissent plus et je dois passer dessus pour qu'elles apparaissent ... sad


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#13 Le 21/11/2006, à 02:05

seb79-33

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

J'ai le meme probleme si t'a trouve une soluce depuis je suis preneur saperlipopette!

Hors ligne

#14 Le 29/11/2006, à 16:19

damb

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

pareil pour moi ....plus d'icone sur le bureau....

Merci si quelqu'un a une idée...!!

CHO

#15 Le 29/11/2006, à 17:51

damb

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

La solution etait dans la doc.

rajouter la ligne

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

a la fin de .conkyrc et mettre own-window sur yes....!!!
 
cho

#16 Le 29/11/2006, à 21:31

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Toujours pas de transparence  !!!
Voici mon conkyrc :

#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 500
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:
${color #4582B5}Down:${color #FFFFFF}${downspeed eth0} kb/s${color #4582B5} ${offset 80}Up:${color #FFFFFF} ${upspeed eth0} 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}/home			${color #FFFFFF}${fs_used /home} / ${fs_size /home}${alignr}${color #FFFFFF}${fs_bar 5,120 /home}
${color #4582B5}/change			${color #FFFFFF}${fs_used /media/change} / ${fs_size /media/change}${alignr}${color #FFFFFF}${fs_bar 5,120 /media/change}
$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 ~/.conky/amarok artist}
${alignc}${execi 10 ~/.conky/amarok title}
${color white}
${execibar 1 ~/.conky/amarok progress}
${alignc}"${execi 10 ~/.conky/amarok album}"
${alignc}${execi 10 ~/.conky/amarok year} - ${color white}${alignc}${execi 10 ~/.conky/amarok genre}$endif

[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#17 Le 03/12/2006, à 17:41

shary

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Je n'ai pas lu tous les posts, mais j'ai eu ce souci et trouvé la réponse mais je ne retrouve pas le lien d'origine ou j'ai trouvé l'astuce ...

J'ai créé un fichier script "conky_background" dans /home/sha/.kde/Autostart qui contient ceci :

#! /bin/bash
display -size 1280x1024 -window root /chemin/vers/mon/background.jpg



Hope this helps !

#18 Le 03/12/2006, à 17:45

shary

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

shary a écrit :

Je n'ai pas lu tous les posts, mais j'ai eu ce souci et trouvé la réponse mais je ne retrouve pas le lien d'origine ou j'ai trouvé l'astuce ...

J'ai créé un fichier script "conky_background" dans /home/sha/.kde/Autostart qui contient ceci :

#! /bin/bash
display -size 1280x1024 -window root /chemin/vers/mon/background.jpg



Hope this helps !

oupssss edit !
remplacer /home/sha/.kde/Autostart  par /home/mon_nom_utilisateur/.kde/Autostart
au cas où ...

#19 Le 03/12/2006, à 20:00

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Humph, j'ai fait comme toi (en remplacant tout comme il faut) mais j'ai toujours un fond noir a mon conky sad

Pour info dans Autostart, je n'ai pas l'icone de conky, mais je le lance manuellement via la ligne de commande !

une idée ?


[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#20 Le 06/12/2006, à 12:07

Arkezis

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Hiya !
J'ai trouvé et ca marche !
En fait je n'avais que 2 3 options a modifier :

double_buffer no
own_window no
own_window_transparent no

Bon je met mon conyrc quand meme si ca peut aider quelqu'un wink

#use_xft yes

double_buffer no
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 500
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 no
own_window_transparent no



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:
${color #4582B5}Down:${color #FFFFFF}${downspeed eth0} kb/s${color #4582B5} ${offset 80}Up:${color #FFFFFF} ${upspeed eth0} 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}/arkezis			${color #FFFFFF}${fs_used /home/arkezis} / ${fs_size /home/arkezis}${alignr}${color #FFFFFF}${fs_bar 5,120 /home}
${color #4582B5}/change			${color #FFFFFF}${fs_used /media/change} / ${fs_size /media/change}${alignr}${color #FFFFFF}${fs_bar 5,120 /media/change}
${color #4582B5}/musique			${color #FFFFFF}${fs_used /home/arkezis/musique} / ${fs_size /home/arkezis/musique}${alignr}${color #FFFFFF}${fs_bar 5,120 /home/arkezis/musique}
$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 ~/.conky/amarok artist}
${alignc}${execi 10 ~/.conky/amarok title}
${color white}
${execibar 1 ~/.conky/amarok progress}
${alignc}"${execi 10 ~/.conky/amarok album}"
${alignc}${execi 10 ~/.conky/amarok year} - ${color white}${alignc}${execi 10 ~/.conky/amarok genre}$endif

[img=http://arkezis.free.fr/get_firefox_80x15.png][img=http://arkezis.free.fr/get_konqueror_80x15_2.png]
[img=http://arkezis.free.fr/get_kubuntu_80x15_2.png][img=http://arkezis.free.fr/get_openoffice20_80x15.png]
[img=http://arkezis.free.fr/get_php_80x15_2.png][img=http://arkezis.free.fr/wikipedia.png]

Hors ligne

#21 Le 01/02/2007, à 00:56

bunutu

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

je remonte ce topic car moi sous Kde quoi que je fasse j'ai toujours un conky avec un fond NOIR !!

sous gnome mon conky est parfait ! coller au bureau et transparent.

je suis utilisateur de xgl+beryl.

si quelqu'un a la solution miracle qu'il n'hésite pas a me la donné smile

[Edit] si je change de wallpaper alors conky devient transparent.
strange...

Dernière modification par bunutu (Le 01/02/2007, à 00:57)


The Matrix has you

Hors ligne

#22 Le 22/03/2007, à 23:55

TraxX

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Oui pour moi c'est exactement la même chose en changeant le fond d'écran il devient transparant...

X-files es-tu la?? wink

Hors ligne

#23 Le 11/08/2007, à 08:57

bmar

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Salut,

+1 pour une solution pour ne pas avoir conky sur fond noir avec KDE.
Chez moi aussi le même conky s'affiche a merveille avec gnome.

Merci d'avance wink wink


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

Hors ligne

#24 Le 11/08/2007, à 09:39

kaillau

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

J'avais comme vous un fond noir pour conky et je l'ai résolu en installant feh et en créant un script que je lance au boot.

Pour installer feh:

sudo apt-get install feh

Ensuite la commande à utiliser est :

feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`;

Commande, qui va permettre de définir votre wallpaper actuel en tant que root window. En effet il semblerait que kde utilise le wallpaper de l'utilisateur en tant que sur couche du root window ce qui ferait apparaître un fond noir sur conky. (d'après ce que j'avais compris, c'est peut-être inexact ne me jetez pas la pierre si c'est le cas svp xD )

Ici j'ai utilisé scale car j'ai mis mon wp en "adapté" dans les réglages du bureau mais il y a d'autres options dispo renseignées dans le man de feh.

Pour le script de démarrage, j'ai juste fait ceci :

#!/bin/bash
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`;
conky;

Voila, j'avais trouvé cette astuce sur un site anglais mais malheureusement je n'ai plus le lien. J'espère que  ça marchera chez vous comme ça marche chez moi smile

Hors ligne

#25 Le 13/08/2007, à 15:07

bmar

Re : [résolu][Conky] Probleme divers (transparence, amarok ...)

Bonjour,

Yessss, ça marche !!

Merci kaillau, j'ai enfin mon conky en transparence avec KDE .

Super !


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

Hors ligne