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.

#901 Le 09/02/2008, à 13:12

kokim

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

@Bois-Laire

  merci, j'avais le même script mais j'avais oublié de mettre une couleur dans son exécution roll

Hors ligne

#902 Le 09/02/2008, à 13:34

DomS

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Bonjour, quelqu'un pourrait-il m'expliquer comment faire pour mettre une partie du texte en haut  gauche et une autre en haut à  droite par exemple. Merci big_smile


PC fixe :  xubuntu 14.10
Portable : ubuntu 14.04

Hors ligne

#903 Le 11/02/2008, à 15:56

bilbo-le-hobbit

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut
Je découvre depuis peu les joies de Conky. J'ai picoré ici et là des conkyrc et effectué quelques ajustements. Je suis loin de maîtriser le code... Cependant, je suis arrivé à un conky à peu près fonctionnel, sauf sur certains points:

- Je n'arrive pas à configurer pour afficher la température du CPU entre autres. La variable commençant par i2c ne donne rien.

quand je fais sensors, ça donne ceci:

eric@Isildur:~$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
             +56°C

w83627thf-isa-0290
Adapter: ISA adapter
VCore:     +1.49 V  (min =  +0.00 V, max =  +3.84 V)              
+12V:     +11.43 V  (min =  +8.88 V, max =  +0.24 V)       ALARM  
+3.3V:     +3.34 V  (min =  +1.54 V, max =  +1.55 V)       ALARM  
+5V:       +5.04 V  (min =  +4.05 V, max =  +3.52 V)       ALARM  
-12V:      +6.06 V  (min = -13.51 V, max =  -9.65 V)       ALARM  
V5SB:      +5.00 V  (min =  +0.03 V, max =  +2.37 V)       ALARM  
VBat:      +3.12 V  (min =  +0.77 V, max =  +0.14 V)       ALARM  
fan1:        0 RPM  (min = 13917 RPM, div = 1)              ALARM  
CPU Fan:  2636 RPM  (min =   -1 RPM, div = 4)              ALARM  
fan3:        0 RPM  (min = 21093 RPM, div = 1)              ALARM  
M/B Temp:    +26°C  (high =   -23°C, hyst =    +0°C)   sensor = thermistor   ALARM   
CPU Temp:  +54.5°C  (high =   +80°C, hyst =   +75°C)   sensor = thermistor           
temp3:     +24.0°C  (high =   +80°C, hyst =   +75°C)   sensor = thermistor           
vid:      +1.475 V  (VRM Version 2.4)
alarms:   
beep_enable:
          Sound alarm enabled

Et le résultat de sensors-detect:

Driver `to-be-written' (should be inserted):
  Detects correctly:
  * Bus `NVIDIA i2c adapter '
    Busdriver `UNKNOWN', I2C address 0x2e
    Chip `Fintek F75375S/SP' (confidence: 7)

Driver `w83627hf' (should be inserted):
  Detects correctly:
  * ISA bus, address 0x290
    Chip `Winbond W83627THF Super IO Sensors' (confidence: 9)

Driver `k8temp' (should be inserted):
  Detects correctly:
  * Chip `AMD K8 thermal sensors' (confidence: 9)

(...)

#----cut here----
# I2C adapter drivers
# modprobe unknown adapter NVIDIA i2c adapter 
# modprobe unknown adapter NVIDIA i2c adapter 
# modprobe unknown adapter NVIDIA i2c adapter 
# Chip drivers
# no driver for Fintek F75375S/SP yet
w83627hf
k8temp
#----cut here----

Quelle variable choisir? ou alors un script? Ca dépasse alors mes compétences...


Sterenn, l'association d'astronomie du pays de Lorient

Mes photos Astro

Hors ligne

#904 Le 14/02/2008, à 17:42

MclarenProject

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Petite question :

Conky n'arrive pas a demarrer lorsque je ne suis pas connecte a Internet. Normal, il essaye de wget mon ip publique sur le net.

Comment faire pour que :

if (je suis connecte)
    wget ip
else
    j'affiche rien

Merci wink

#905 Le 14/02/2008, à 20:31

cam

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

si tu fais un script que tu appelles de ton conky, mets un truc dans ce genre dedans:

#!/bin/bash
if eth0 up
wget ip
else
fi

mais je suis une brêle en scripts donc faut confirmer lol

Hors ligne

#906 Le 15/02/2008, à 11:23

i M@N

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Hello.

bilbo-le-hobbit a écrit :

Je n'arrive pas à  configurer pour afficher la température du CPU entre autres
....
Quelle variable choisir? ou alors un script? Ca dépasse alors mes compétences...

Essaye ça dans ton .conkyrc :
Pour la température de ton CPU :

CPU Temp : ${execi 60 sensors | grep "CPU Temp" | awk -F "+" '{print $2}'| awk -F "(" '{print $1}'| cut -c 1-4}C

Pour la vitesse du ventilo :

${execi 60 sensors | grep "CPU Fan" | awk -F "(" '{print $1}'}

@+...

Dernière modification par i M@N (Le 15/02/2008, à 11:24)


1 x Intel(R) Core i7 2600K CPU 3.4GHz Debian sid = roxX !
1 x MSi Wind U100 Debian sid = roxX !!
Read The F***in' Manual or die tryin' !
webmaster @ http://www.rastavibes.net reggae shop

Hors ligne

#907 Le 15/02/2008, à 16:26

arpbook

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

salut à  tous,
alors voilà , j'ai juste un petit blèm d'affichage.
le rc (la partie qui décon* c'est la température)

TEXT
Host:$alignr$nodename
System:$alignr$sysname
Arch:$alignr$machine
Kernel:$alignr$kernel
Uptime:$alignr$uptime
Power: $alignc$acpiacadapter$alignr$battery_percent%
$hr
#!:$alignr${fs_used /}/${fs_size /}
${fs_bar /}
Ram:$alignr$mem/$memmax
$membar
Swap:$alignr$swap/$swapmax
$swapbar
Hardy:$alignr${fs_used /media/sda5}/${fs_size /media/sda5}
${fs_bar /media/sda5}
Mac:$alignr${fs_used /media/mac-osx}/${fs_size /media/mac-osx}
${fs_bar /media/mac-osx}
intel-core1: ${execi 20 sensors | grep -A 2 '^coretemp-isa-0000' | cut -c15-18 | grep '°'}C$alignr${cpu cpu1}%
${cpubar cpu1}
intel-core2: ${execi 20 sensors | grep -A 2 '^coretemp-isa-0001' | cut -c15-18 | grep '°'}C$alignr${cpu cpu2}%
${cpubar cpu2}
${cpugraph 10,200}
$hr
$alignr process $running_processes/$processes  
 % cpu    $alignc name
${top cpu 1}  $alignr${top name 1}
${top cpu 2}  $alignr${top name 2}
${top cpu 3}  $alignr${top name 3}
$hr
 wifi quality level$alignr${wireless_link_qual ath0}/${wireless_link_qual_max ath0}
 Download$alignr${downspeed ath0} k/s
$alignr${downspeedgraph ath0 10,200 black grey}
 Upload$alignr${upspeed ath0} k/s
$alignr${upspeedgraph ath0 10,200 black grey}
$hr
Shortcut keys:
Apple+t$alignr Terminal
Apple+e$alignr Editor
Apple+m$alignr Media Player
Apple+w$alignr Web Browser
Apple+g$alignr Graphics Editor
Apple+o$alignr OpenOffice.org
Apple+v$alignr Volume Control
$hr

et voilà  ce que ça donne:
107721687820080215151225.jpg

et pourtant quand je lance la commande en term :

arp@SpeedBook-Arp:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +58°C  (high =  +100°C)                   

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +59°C  (high =  +100°C)

je n'ai pas de défaut d'affichage. mon conky est en monospace, comprend pas ?? sad
merci de votre aide
-
-
je me répond : éditer :
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no >>remplace par override_utf8_locale yes smile:)

ps: ce conky est sous gutsy/openbox  discover >> crunchbang linux
http://crunchbang.org/projects/linux/

Dernière modification par arpbook (Le 17/02/2008, à 00:13)

#908 Le 15/02/2008, à 17:40

mikaweb

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Ce conky sert à faire ceci : http://upload.wikimedia.org/wikipedia/fr/thumb/3/3b/Kde-35-fr.png/800px-Kde-35-fr.png
Mais sans utiliser KDE...bien sûr:lol:

Merci de vos réponses.

Hors ligne

#909 Le 15/02/2008, à 17:56

mydoom666

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

mikaweb a écrit :

Ce conky sert à faire ceci : http://upload.wikimedia.org/wikipedia/fr/thumb/3/3b/Kde-35-fr.png/800px-Kde-35-fr.png
Mais sans utiliser KDE...bien sûr:lol:

C'est une question ? roll

mikaweb a écrit :

Ce conky sert-il à faire ceci ? http://upload.wikimedia.org/wikipedia/fr/thumb/3/3b/Kde-35-fr.png/800px-Kde-35-fr.png
Mais sans utiliser KDE...bien sûr:lol:

Non, le moniteur système que tu peux voir sur le screenshot ressemble a SuperKaramba
Après je sais pas si celui ci marche sous Gnome ou autre, mais je pense qu'il devrait pas y avoir de problème.

Dernière modification par mydoom666 (Le 15/02/2008, à 17:57)

Hors ligne

#910 Le 15/02/2008, à 19:20

mikaweb

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Oui c'était une question désolé de ne pas avoir été assez précis.
Je parle du menu à  droite qui affiche les caractéristiques du CPU, Ram, etc..

Hors ligne

#911 Le 15/02/2008, à 19:57

mydoom666

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

mikaweb a écrit :

Je parle du menu à  droite qui affiche les caractéristiques du CPU, Ram, etc..

J'avais bien compris :
http://www.is.kde.org/screenshots/image … aramba.png
http://wiki.linux-aide.org/images/Super … trait2.png
http://kross.dipe.org/skapplet.png
http://www.nixser.com/wp-content/upload … 1/snap.png
http://linux.softpedia.com/screenshots/ … amba_3.png
http://linuxblog.uni-duesseldorf.de/67/ … onitor.png
Par contre ici c'est pas SuperKaramba mais Conky. wink

Dernière modification par mydoom666 (Le 15/02/2008, à 19:58)

Hors ligne

#912 Le 15/02/2008, à 20:13

mikaweb

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

OK merci.

Encore désolé big_smile

Hors ligne

#913 Le 16/02/2008, à 02:02

bilbo-le-hobbit

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

i M@N a écrit :

Hello.

bilbo-le-hobbit a écrit :

Je n'arrive pas à configurer pour afficher la température du CPU entre autres
....
Quelle variable choisir? ou alors un script? Ca dépasse alors mes compétences...

Essaye ça dans ton .conkyrc :
Pour la température de ton CPU :

CPU Temp : ${execi 60 sensors | grep "CPU Temp" | awk -F "+" '{print $2}'| awk -F "(" '{print $1}'| cut -c 1-4}C

Pour la vitesse du ventilo :

${execi 60 sensors | grep "CPU Fan" | awk -F "(" '{print $1}'}

@+...

Ca marche impec'! Merci!

Heu... pour la température de ma carte mère, sans vouloir trop abuser wink , je fais comment?


Sterenn, l'association d'astronomie du pays de Lorient

Mes photos Astro

Hors ligne

#914 Le 16/02/2008, à 09:50

Elvith Gent

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Bonjour
Depuis la mise à  jour d'audacious d'hier, mon conky audacious ne fonctionne plus :

Audacious : ${color #FFFFFF}${audacious_status}
${color #FFFFFF}${audacious_title}

${color}${audacious_bar 13}
${voffset -21}${alignc}${color #FFFFFF}${audacious_position}/${audacious_length}
${color}Position dans la playlist : ${color #FFFFFF}${audacious_playlist_position}${color}/${color #FFFFFF}${audacious_playlist_length}
${color}Bitrate du titre : ${color #FFFFFF}${audacious_bitrate}
${color}Nombre de canaux audio du titre : ${color #FFFFFF}${audacious_channels}
${color}Fréquence d'échantillonage du titre : ${color #FFFFFF}${audacious_frequency}

Dans "status", il me met Not running. Visiblement, il ne détecte pas le "nouveau" audacious o_O
Quelqu'un a une solution ?


Linux Counter user #458259
Mon site de jeu de rôles : http://www.niil.fr

Hors ligne

#915 Le 16/02/2008, à 10:38

i M@N

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Hello.

bilbo-le-hobbit a écrit :
i M@N a écrit :

Hello.

bilbo-le-hobbit a écrit :

Je n'arrive pas à configurer pour afficher la température du CPU entre autres
....
Quelle variable choisir? ou alors un script? Ca dépasse alors mes compétences...

Essaye ça dans ton .conkyrc :
Pour la température de ton CPU :

CPU Temp : ${execi 60 sensors | grep "CPU Temp" | awk -F "+" '{print $2}'| awk -F "(" '{print $1}'| cut -c 1-4}C

Pour la vitesse du ventilo :

${execi 60 sensors | grep "CPU Fan" | awk -F "(" '{print $1}'}

@+...

Ca marche impec'! Merci!

Heu... pour la température de ma carte mère, sans vouloir trop abuser wink , je fais comment?

Pour la carte mère c'est cette ligne qui nous intéresse :

M/B Temp:    +26°C  (high =   -23°C, hyst =    +0°C)   sensor = thermistor   ALARM

Donc il faut faire :

${execi 60 sensors | grep "M/B Temp" | awk -F "+" '{print $2}'| awk -F "(" '{print $1}'| cut -c 1-4}C

ça te retourne 26°C.

@+...


1 x Intel(R) Core i7 2600K CPU 3.4GHz Debian sid = roxX !
1 x MSi Wind U100 Debian sid = roxX !!
Read The F***in' Manual or die tryin' !
webmaster @ http://www.rastavibes.net reggae shop

Hors ligne

#916 Le 16/02/2008, à 13:30

maxiounet

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut ^^
après avoir lu ces 37 pages *___* j'arrive enfin a avoir quelque chose qui me conviens smile
voila le résultat :
[img=http://img100.imageshack.us/img100/5223/conky6oe6.th.png]

Et le .conkyrc (j'ai pris celui de je sais plus qui au tout début et j'ai modifié a ma guise big_smile)

use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
#own_window_colour black
own_window yes
#own_window_type normal
background no
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 10
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no
## Enlevé parce que ça faisait ramer le script :) je regrette parce que je m'etais appliqué pour colorer google :p
#${color #ffcb48}Ping$color ${color #0000FF}G${color #FF0000}o${color #FFFF00}o${color #0000FF}g${color #008000}l${color #FF0000}e$color
#${color}${texeci 50 sh -c "ping -q -c5 google.fr | tail -n 2" }

TEXT

${color #ffcb48}Bonjour$color Maxime
${color #ffcb48}Nous somme le $color${time %A %d %B %Y}$color - ${color #ffcb48}Il est$color ${time %H:%M:%S}
${color #ffcb48}IP Locale$color ${addr eth0} 
${color #ffcb48}Ip Publique$color ${execi 1800 ~/Scripts/monip.sh}
$sysname $kernel ${color #ffcb48}sur$color $machine $freq_g ${color #ffcb48}GHz$color

${color #ffcb48}Batterie : ${color}$battery
${color #ffcb48}Secteur : ${color}$acpiacadapter
${color #ffcb48}Uptime:$color $uptime ${color white}- Load:$color $loadavg
${color #ffcb48}CPU Usage:${color white} $cpu% ${cpubar}
${color white}${cpugraph 000000 000000}
${color #ffcb48}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color #ffcb48}Processes:$color $processes ${color white}Running:$color $running_processes

${color white}.::.$color ${color #ffcb48}Reseau$color ${color white}.::.$color
${color #ffcb48}Down:${color white} ${downspeed eth0} k/s${color white} ${offset 80}${color #ffcb48}Up:${color white} ${upspeed eth0} k/s
${downspeedgraph eth0 32,150 000000 000000} ${upspeedgraph eth0 32,150 000000 000000}

${color #FFFF00}Partitions$color
${color #FFFF00}/root$color  	${hddtemp /dev/sda}	  ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}

${color #ffcb48}Processus            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 #ffcb48}Connexions Actuelles: ${color white}${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}
${color white}.::.$color ${color #ffcb48}E-Mail$color ${color white}.::.$color
${execi 5 ~/Scripts/checkmail.sh}
${if_running audacious}
${color white}.::.$color ${color #ffcb48}Lecture en Cours$color ${color white}.::.$color
${color white} ${exec audtool --current-song | cut -b-60}
${color white} ${exec audtool --current-song-bitrate-kbps} kbps * ${exec audtool --current-song-length} ${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}
$endif
${color #ffcb48}${rss http://planet.ubuntu-fr.org/feed/tag/Accueil/rss2 10 feed_title} 
${color white}${rss http://planet.ubuntu-fr.org/feed/tag/Accueil/rss2 10 item_titles 3}

checkmail.sh

#!/bin/bash

gmail_login="" #login sans le @gmail.com
gmail_password="" #password

dane="$(wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O - \
https://${gmail_login}:${gmail_password}@mail.google.com/mail/feed/atom \
--no-check-certificate | grep 'fullcount' \
| sed -e 's/.*<fullcount>//;s/<\/fullcount>.*//' 2>/dev/null)"

if [ -z "$dane" ]; then
echo "Connection Error !"
else
echo "votrelogin@Gmail.Com : $dane message(s)"
fi

Voilà  ^^ a+

Hors ligne

#917 Le 16/02/2008, à 14:13

sakul

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

voila merci a tous? car c'est grace a vous que je me suis lancé dans conky..

et voici donc le mien

très inspiré de certains déja présentés :

1203172901_bla.jpeg


et voila le conkyrc

#avoid flicker
double_buffer yes
out_to_console no

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders yes
border_margin 4
exit
#shades
draw_shades no

#positionacpitemp
gap_x 300
gap_y 10
alignment top

#behaviour
update_interval 1

#colour
default_color  8f8f8f
#default_shade_color 000000
own_window_colour 262626

#font
use_xft yes
xftfont bauhaus:pixelsize=10

#to prevent window from moving
use_spacer no
minimum_size 850
TEXT
${alignc}${color} batterie : ${color e0e0e0} ${battery_time BAT0}${color} ; ${color e0e0e0}${battery_percent BAT0}% ${color a40101}|${voffset -1}${color} Cpu 1: ${color e0e0e0}${font}${cpu cpu1}% ${voffset -1}${color} Cpu 2: ${color e0e0e0}${font}${cpu cpu2}% ${color} ${color} proc :  ${color e0e0e0}${font}${acpitemp} C°${color a40101} | ${color}Mem: ${color e0e0e0}${font}${mem}/${memmax} ${color}Swap : ${color e0e0e0}${font}${swapperc}% ${color a40101}| ${color} Down: ${color e0e0e0}${font}${downspeed wlan0} Kb/s ${color} ${color}Up: ${color e0e0e0}${upspeed wlan0} Kb/s${color a40101} |  ${color}Root: ${color e0e0e0}${font}${fs_free /} ${color} Home: ${color e0e0e0}${font}${fs_free /home} ${color} ${color} Diskul: ${color e0e0e0}${font}${fs_free /diskul} ${color}

commandes de bases ||  Debian testing 64bit - xfce / Intel-Core-2 Quad @ 2.33GHz / 9600 GT

Hors ligne

#918 Le 16/02/2008, à 15:00

Elvith Gent

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Elvith Gent a écrit :

Bonjour
Depuis la mise à  jour d'audacious d'hier, mon conky audacious ne fonctionne plus :

Audacious : ${color #FFFFFF}${audacious_status}
${color #FFFFFF}${audacious_title}

${color}${audacious_bar 13}
${voffset -21}${alignc}${color #FFFFFF}${audacious_position}/${audacious_length}
${color}Position dans la playlist : ${color #FFFFFF}${audacious_playlist_position}${color}/${color #FFFFFF}${audacious_playlist_length}
${color}Bitrate du titre : ${color #FFFFFF}${audacious_bitrate}
${color}Nombre de canaux audio du titre : ${color #FFFFFF}${audacious_channels}
${color}Fréquence d'échantillonage du titre : ${color #FFFFFF}${audacious_frequency}

Dans "status", il me met Not running. Visiblement, il ne détecte pas le "nouveau" audacious o_O
Quelqu'un a une solution ?

Personne n'a une idée ?


Linux Counter user #458259
Mon site de jeu de rôles : http://www.niil.fr

Hors ligne

#919 Le 18/02/2008, à 19:08

sakul

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

salut
je viens de me faire un conky rien que pour la date et l'heure , le problème c'est que j'ai mis la police "purisa" qui ne gère apparement pas les accens...

si quelqu'un a une idée pour que mon conky accepte ces accents tout en gardant la police...
merci


commandes de bases ||  Debian testing 64bit - xfce / Intel-Core-2 Quad @ 2.33GHz / 9600 GT

Hors ligne

#920 Le 18/02/2008, à 21:15

DomS

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Euh... si ta police n'a pas d'accent, c'est pas possible d'après moi.


PC fixe :  xubuntu 14.10
Portable : ubuntu 14.04

Hors ligne

#921 Le 18/02/2008, à 21:44

sakul

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

en fait si la police gère les accents, j'en ai dans mes barres de titres...


commandes de bases ||  Debian testing 64bit - xfce / Intel-Core-2 Quad @ 2.33GHz / 9600 GT

Hors ligne

#922 Le 19/02/2008, à 22:52

Rogan77

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Bonsoir, je viens récemment de découvrir Conky ( en fait hier soir tongue ) grà¢ce à  un post sur l'environnement d'un autre Ubunteros et j'ai donc voulu essayé, je lui ai repris son conky parce qu'il a une configuration proche de la mienne donc pas grand chose à  bidouiller pour moi au début ^^'

Le problème c'est que quand j'active conky toutes les icà´nes du bureau disparaissent et n'apparaissent que si je passe le curseur de la souris dessus :s
Je suis obligé de fermé conky ( je le lance par le terminal c'est moins dur comme ça smile ) pour que les icà´nes soient de nouveau visible de base hmm

J'ai fait plusieurs recherche dans la documentation et sur le le forum mais je ne trouve pas de résultat pertinent, je me suis demandé si c'était le même problème que le clignotement dans la doc mais après avoir fait la manip' ça n'a rien changé donc je suppose que ce n'est pas ça, mais je n'ai pas encore lu toutes les pages du topic je l'avoue ( pardon les vacances c'est pour bientà´t mais pas tout de suite T_T )

Si jamais quelqu'un pouvait bien m'aider s'il vous plaà®t ?
Je met le conky que j'ai si jamais vous en avez besoin :

use_xft yes
xftfont Tahoma Mono:size=8
update_interval 1.0
total_run_times 0
own_window no
own_window_transparent yes
##own_window_hints undecorated,below,skip_taskbar
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no
double_buffer yes
minimum_size 100 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 0
border_width 2
default_color black
default_shade_color black
default_outline_color black
alignment top_left
gap_x 20
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no
 
##${color white}Port(s) ouvert(s):$alignr${color white} ${tcp_portmon 1 65535 count}
##${color white} ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
##${color white} ${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
##${color white} ${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
##${color white} ${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
##${color white} ${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}


TEXT
${font Tahoma :size=10}$alignc${color white}Antoine
${font Tahoma :size=8}$stippled_hr
$alignc${color white}Aujourd'hui,${color white} ${time %A %d %B %Y} ${color white}- ${color white}${time %H:%M:%S}
${color white}IP Wifi${color white} $alignc${addr eth2}
$alignc$sysname $kernel sur $machine ${color white} [${color white}$nodename${color white}]
$alignc${color white}Uptime:${color white} $uptime ${color white}-${color white} Load:${color white} $loadavg
$stippled_hr
Processeur AMD Athlon 64 Core 2 Duo 5000+ $alignr${freq cpu} MHz
Utilisation processeur:$alignr${color white} $cpu% ${color white}
${color white}Coeur 1:$alignr${color white} ${cpu cpu1}% ${color white}
${color white}${cpubar cpu1 5,350 white white}
${color white}${cpugraph cpu1 15,350 white white} 
${color white}Coeur 2:$alignr${color white} ${cpu cpu2}% ${color white}
${color white}${cpubar cpu2 5,350 white white}
${color white}${cpugraph cpu2 15,350 white white}
$alignc${color white}---------------
${color white}Ram utilisée:$alignc${color white} $mem / $memmax $alignr${color white}$memperc%
${color white}${membar}
${color white}Swap:$alignc${color white}$swap${color white}/${color white}$swapmax ${color white} $alignr${color white}$swapperc%
${color white}${swapbar}
$stippled_hr
${color white}CPU Temp: ${execi 60 sensors | grep "CPU Temp" | awk -F "+" '{print $2}'| awk -F "(" '{print $1}'| cut -c 1-4}°C $alignr${color white}${execi 60 sensors | grep "CPU Fan" | awk -F "(" '{print $1}'}
${color white}GPU Temp: ${exec nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}'}°C $alignr${color white}${execi 60 sensors | grep "Case Fan" | awk -F "(" '{print $1}'}
$stippled_hr
${color white}Réseau:
${color white}Reception:$alignr${color white}${downspeed eth1} k/s
${color white}${downspeedgraph eth1 15,350 white white}
${color white}Emission:$alignr${color white}${upspeed eth1} k/s
${color white}${upspeedgraph eth1 15,350 white white}
${color white}Total réception: ${color white}${totaldown eth1}  $alignr${color white}Total émission: ${color white}${totalup eth1}
$stippled_hr
${color white}Espace disques:
${color white}/:$alignr${color white}${fs_used /}${color white}/${color white}${fs_size /} ${color white}(${color white}${fs_free /} ${fs_free_perc /}% ${color white} libre)
       ${fs_bar /}
${color white}/home:$alignr${color white}${fs_used /home/antoine}${color white}/${color white}${fs_size /home/antoine} ${color white}(${color white}${fs_free /home/antoine} ${fs_free_perc /home/antoine}% ${color white} libre)
       ${fs_bar /home/antoine}
${color white}Windows:$alignr${color white}${fs_used /media/sda2}${color white}/${color white}${fs_size /media/sda2} ${color white}(${color white}${fs_free /media/sda2} ${fs_free_perc /media/sda1}% ${color white} libre)
       ${fs_bar /media/sda2}
${color white}Personnel:$alignr${color white}${fs_used /media/sdb2}${color white}/${color white}${fs_size /media/sdb2} ${color white}(${color white}${fs_free /media/sdb2} ${fs_free_perc /media/sdb2}% ${color white} libre)
       ${fs_bar /media/sdb2}
${color white}Divers:$alignr${color white}${fs_used /media/sda5}${color white}/${color white}${fs_size /media/sda5} ${color white}(${color white}${fs_free /media/sda5} ${fs_free_perc /media/sda5}% ${color white} libre)
       ${fs_bar /media/sda5}
$stippled_hr
${color white}Processus: ${color white} $processes ${color white}$alignr${color white}En cour: ${color white} $running_processes
${color white} ${color white}Nom  $alignc${color white}Processeur $alignr${color white}Ram
${color white} ${top name 1} $alignc${top cpu 1} $alignr${top mem 1}
${color white} ${top name 2} $alignc${top cpu 2} $alignr${top mem 2}
${color white} ${top name 3} $alignc${top cpu 3} $alignr${top mem 3}
${color white} ${top name 4} $alignc${top cpu 4} $alignr${top mem 4}
${color white} ${top name 5} $alignc${top cpu 5} $alignr${top mem 5}

Bonne nuit smile

Dernière modification par Rogan77 (Le 19/02/2008, à 22:53)


Ubuntu Maverick Meerkat 64 bits

Hors ligne

#923 Le 19/02/2008, à 23:22

sakul

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

le mieux est de rien avoir sur le bureau c'est plus classe cool

edit: hormis les conky bien sur

Dernière modification par sakul (Le 19/02/2008, à 23:23)


commandes de bases ||  Debian testing 64bit - xfce / Intel-Core-2 Quad @ 2.33GHz / 9600 GT

Hors ligne

#924 Le 20/02/2008, à 20:12

cam

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut,

Ca fait longtemps que j'ai pas mis mon dernier conky en date donc je répare de suite l'injustice lol

2903a12e0858e1863b23bac78a22ftt.jpg

Et les fichiers correspondants, d'abord le script de lancement de conky:

#!/bin/bash
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`;   #transparence conky pour kde
sleep 5 && killall conky;    #attente de 5 secondes avant de lancer conky
sleep 1 && conky -u 1 -d -c ~/.conky/conkyrc
sleep 1 && conky -u 2 -d -c ~/.conky/conkyrc_drives
sleep 1 && conky -u 5 -d -c ~/.conky/conkyrc_amarok
exit

Le conkyrc:

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# 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 URW Gothic L:size=8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1

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

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Draw borders around graphs
draw_graph_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 000000
default_shade_color 000000
default_outline_color 000000

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

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

# Subtract file system buffers from used memory?
no_buffers no

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

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# 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

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

${alignr}${color #FFFFDD}Uptime ${color #5CBAD3}${uptime_short}
${alignr}${color #FFFFDD}Kubuntu Gutsy Gibbon ${color #5CBAD3}$kernel
${alignr}${color #FFFFDD}Intel Core2Duo @ $freq_dyn_g GHz ${color #5CBAD3}${cpu cpu} % ${color #FFFFDD}  |  Ram $mem / $memmax ${color #5CBAD3}$memperc% ${color #FFFFDD}
${alignr}Download ${color #5CBAD3}${downspeed eth0} k/s ${color #FFFFDD} |  Upload ${color #5CBAD3}${upspeed eth0} k/s

Le conkyrc_drives:

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# 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 URW Gothic L:size=8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1

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

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_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 000000
default_shade_color 000000
default_outline_color 000000

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

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

# Subtract file system buffers from used memory?
no_buffers no

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

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# stuff after 'TEXT' will be formatted on screen
TEXT
${alignc}${color #FFFFDD}/ ${fs_used /} / ${fs_size /}${color #5CBAD3} ${fs_free_perc /} % free${color #FFFFDD}  |  /home ${fs_used /home} / ${fs_size /home}${color #5CBAD3} ${fs_free_perc /home} % free${color #FFFFDD} | Etch ${fs_used /media/etch} / ${fs_size /media/etch}${color #5CBAD3} ${fs_free_perc /media/etch} % free  ${color #FFFFDD} |  Etch home ${fs_used /media/etch_home} / ${fs_size /media/etch_home}${color #5CBAD3} ${fs_free_perc /media/etch_home} % free  ${color #FFFFDD}| Janbeuhnoix ${fs_used /media/janbeuhnoix} / ${fs_size /media/janbeuhnoix}${color #5CBAD3} ${fs_free_perc /media/janbeuhnoix} % free${color #FFFFDD} | Share ${fs_used /media/share} / ${fs_size /media/share}${color #5CBAD3} ${fs_free_perc /media/share} % free${color #FFFFDD} | Windows ${fs_used /media/windows} / ${fs_size /media/windows}${color #5CBAD3} ${fs_free_perc /media/windows} % free  ${color #FFFFDD}

Et le conky_amarok pour finir:

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# 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 URW Gothic L:size=8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1

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

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_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 000000
default_shade_color 000000
default_outline_color 000000

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

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

# Subtract file system buffers from used memory?
no_buffers no

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

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# stuff after 'TEXT' will be formatted on screen
TEXT
${alignr}${color #FFFFDD}${if_running amarokapp} Amarok
${alignr}${execi 5 ~/.conky/amarok artist}  |  ${execi 5 ~/.conky/amarok album}  |  ${execi 5 ~/.conky/amarok title}
${color #5CBAD3}${execibar 1 ~/.conky/amarok progress}$endif

Dernière modification par cam (Le 20/02/2008, à 20:18)

Hors ligne

#925 Le 20/02/2008, à 21:31

cam

Re : Conky : Postez vos conkyrc ou certaines parties intéressantes

@ Rogan77: il n'est pas possible (en tout cas à  ma connaissance) de faire ce que tu demandes. C'est simple, conky est une fenetre sans bords et avec un fond transparent mais c'est une fenetre donc il recouvre les icones qui sont dessous. C'est comme avec une console transparente, on voit le fond d'écran mais pas les icones.

Tu as 2 solutions, soit tu fais un conky plus petit ou tu le déplace à  un endroit o๠tu mets pas d'icones, soit tu ne mets pas d'icones sur le bureau.

Ou alors tu accèdes à  tes icones avec ton navigateur de fichier mais pas avec le bureau.
J'ai pas mieux à  te proposer.

Dernière modification par cam (Le 20/02/2008, à 21:31)

Hors ligne