Bonjour à tous
voilà je viens de découvrir conky, je suis en train de me mettre en place le mien, dans l'ensemble je m'en sors, mais j'ai un problème de "mise en page"
les colonnes ne sont pas centrées alors que je copie les exemples des autres qui sont centrés
(les 2 bargraphs aussi sont pas propres alors qu'ils le sont avec vous sans autre variable :-\ )
EDIT je sais pas vraiment mettre d image, voici le lien:
http://imgur.com/OP6LhQ1
j'ai du faire une erreur à force de copier coller plein de choses... sûrement avant la zone TEXT
voici mon conky en cours d'élaboration:
# conky configuration
# set to yes if you want Conky to be forked in the background
background no
# 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
# 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 yes
own_window_type desktop
own_window_transparent yes
#own_window_colour 0000ff
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 1000
maximum_width 300
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 2
# border margins
border_margin 6
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
alignment top_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
#Note: doesn't work in conky 1.2 =(
TEXT
${font Terminus:size=12}${alignc}${color #ddaa00}${time %A %e %B %G}
${alignc}${color }${time %H:%M:%S}
${color #0077ff}${hr 1}
${color white}${font Terminus:size=8}${execi 86400 lsb_release -si} : ${execi 86400 lsb_release -sr} ${execi 86400 lsb_release -sc}
${font Terminus:size=8}$sysname : $kernel $machine $freq_dyn_g GHz
${font Terminus:size=8}${color slate grey}UpTime : ${color }$uptime
${color #0077ff}${hr 1}
${color grey}| sda: ${color1}${hddtemp /dev/sda}°C
${color grey}| sdb: ${color1}${hddtemp /dev/sdb}°C
${color grey}| sdc: ${color1}${hddtemp /dev/sdc}°C
hwmon 1 temp 1 : ${hwmon 1 temp 1}°C
hwmon 2 temp 2 : ${hwmon 2 temp 2}°C
hwmon 2 temp 3 : ${hwmon 2 temp 3}°C
#CPU Temp: ${acpitemp}°C yes !!! (plus lent en mise à jour ???)
CPU Temp: ${hwmon 0 temp 1}°C
${color #0077ff}${hr 1}
${offset 5}${color grey}CPU :${color } ${freq_g}Ghz ${color slate grey}- ${color }${cpu}%
${alignc}${cpugraph 20,180 000000 ffffff}
${voffset -24}${alignc}${cpu cpu1}%
${offset 5}${color grey}Load : ${color }$loadavg
${offset 5}${color grey}Processes : ${color }$processes ${color grey}( ${color }$running_processes${color slate grey})
${color #0077ff}${hr 1}
${color #454a4f}| ${color #dbe7ff}Process PID %CPU %MEM${alignr}${color #454a4f} |
${color #0077ff}${hr}
${color #e09495} ${top name 1} ${top pid 1} ${alignc}${top cpu 1} ${top mem 1}
${color #e0d094} ${top name 2} ${top pid 2} ${alignc}${top cpu 2} ${top mem 2}
${color1} ${top name 3} ${top pid 3} ${alignc}${top cpu 3} ${top mem 3}
${color1} ${top name 4} ${top pid 4} ${alignc}${top cpu 4} ${top mem 4}
${color1} ${top name 5} ${top pid 5} ${alignc}${top cpu 5} ${top mem 5}
${color2}RAM : ${color1}$memperc% $mem /$memmax $membar
${color2}Swap : ${color1}$swapperc% $swap /$swapmax $swapbar
${color2}Process : ${color1}$processes Running : $running_processes
${hr 1}
${color grey}IP locale: ${color white}${addr wlan0}
${color grey}IP ext: ${color white}${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${offset 5}${color grey}Net Up : ${color }${upspeedf wlan0}k/s
${alignc}${upspeedgraph wlan0 20,180 000000 ffffff}
${offset 5}${color grey}Net Down : ${color }${downspeedf wlan0}k/s${color}
${alignc}${downspeedgraph wlan0 20,180 000000 ffffff}
${color #e49c16}Nom du CPU :${alignr}${color white}${execi 1000 cat /proc/cpuinfo | grep « model name » -m1 | cut -d »: » -f2 | cut -d » » -f1-6}
#
${color #e49c16}Fréquence actuelle du CPU : ${alignr}${color white} $freq_g GHz
#
${color #e49c16}Vitesse du ventilateur CPU : ${alignr}${color white} ${execi 10 sensors | grep ‘fan1′ | sed ‘s/.*://;’ | sed ‘s/M .*/M/;’ | sed ‘s/^[[:blank:]]*//’}
#
${color #e49c16}Température carte mère : !!a verifier!! $alignr${color white}${hwmon 0 temp 1}°C
${color #e49c16}Utilisation cœur 1: ${alignc}${#67AB70}${cpugraph cpu1 10,100 0000ff 00ff00} ${alignr}${color white}${cpu cpu1}%
${color #e49c16}Utilisation cœur 2: ${alignc}${#DC3930}${cpugraph cpu2 10,100 0000ff 00ff00} ${alignr}${color white}${cpu cpu2}%
${color #98c2c7}Batt:$color ${battery}
Info batterie : $battery_time
Et une autre question: je suis sur KDE, et j'arrive pas à le rendre transparent, j'ai essayé ce que j'ai trouvé mais apparement sur chaque version les manips changent.
Y a une manip actuelle qui fonctionne ?
sinon je voudrais au moins pouvoir mettre un fond uni (à défaut, bleu proche de mon fond d'écran), faisable ?
Merci d'avance à tous.