- Modifié
Bon, j'ai réussi à me démerder pour lancer une session vide à chaque démarrage . Le problème c'est qu'à chaque fois je dois donner un nom à ma session à et me prend 3 clics de plus ... Donc faudra que j'essayes de trouver le fichier de conf qui s'occupe de ça ^^

En attendant, je vous file mes conkyrc :
Mon ~/.conkyScript.sh :

En attendant, je vous file mes conkyrc :
Mon ~/.conkyScript.sh :
#!/bin/bash
killall conky
sleep 20
conky
conky -c /home/Arkezis/.conky/conkyrc2
Mon ~/.conkyrc (le conky du haut) :
# set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
short_units yes
out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont monospace-8
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window_transparent yes
own_window_colour black
own_window yes
own_window_type root
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 300 5
maximum_width 450
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 0
# drawn 1 pixel border around graphs or not
draw_graph_borders yes
# 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_right
# Gap between borders of screen and text
gap_x 490
gap_y 10
# Add spaces to keep things from moving about? This only affects certain objects.
#use_spacer right
# Subtract file system buffers from used memory?
no_buffers no
# set to yes if you want all text to be in uppercase
uppercase no
#A lot of text in Conky ?
text_buffer_size 1024
####################################
####################################
####################################
####################################
TEXT
${font Verdana:size=11}$alignc${color #DBAA82}${Time %A %d %B %Y}
$alignc${color #FFFB00}${time %H:%M:%S}${font Sans:size=8.5}
${color #565868}${hr 2}
${color #DBAA82}$sysname : ${color #565868}$kernel ${color #DBAA82}on ${color #565868}$machine
${color #DBAA82}Uptime : ${color #B6A291}$uptime | ${color #DBAA82}Temp : ${color #B6A291}${acpitemp}°C
${color #DBAA82}Adaptateur : ${color #FFFB00}${acpiacadapter}
${color #DBAA82}Autonomie batterie : ${color #FFFB00}${battery_percent BAT0}%
${color #FFFB00}${battery_bar BAT0}
${color #DBAA82}Charge cpu : (${color #FFFB00}${freq} MHz${color #DBAA82}) cpu 1: ${color #FFFB00}${cpu cpu1}% ${color #DBAA82}cpu 2: ${color #FFFB00}${cpu cpu2}%
$alignc${color #FFFFFF}${cpugraph cpu1 32,100 0000ff ff4500} ${color #FFFFFF} ${cpugraph cpu2 32,100 0000ff ff4500}
${color #DBAA82}ram : ${color #3652FF}$mem ${color #DBAA82}/ $memmax - ${color #FFFB00}$memperc% ${alignr 140}${color #344299}$membar
${color #DBAA82}swap : ${color #3652FF}$swap ${color #DBAA82}/ $swapmax - ${color #FFFB00}$swapperc% ${alignr 140}${color #344299}$swapbar
${color #565868}${hr 2}
${color #DBAA82}Disques (${color #FFFB00}${execi 10 hddtemp -n /dev/sda}°C${color #DBAA82}) :
${color #DBAA82}racine : ${color #3652FF}${fs_used /} ${color #DBAA82}/ ${fs_size /} (${color #FFFB00}${fs_free_perc /}% ${color #DBAA82}libre)
${color #344299}${fs_bar /}
${color #DBAA82}home : ${color #3652FF}${fs_used /home/Arkezis} ${color #DBAA82}/ ${fs_size /home/Arkezis} (${color #FFFB00}${fs_free_perc /home/Arkezis}% ${color #DBAA82}libre)
${color #344299}${fs_bar /home/Arkezis}
${color #DBAA82}data : ${color #3652FF}${fs_used /mnt/data} ${color #DBAA82}/ ${fs_size /mnt/data} (${color #FFFB00}${fs_free_perc /mnt/data}% ${color #DBAA82}libre)
${color #344299}${fs_bar /mnt/data}
${if_mounted /media/disk}${color #DBAA82}clé(ext) : ${color #3652FF}${fs_used /media/disk} ${color #DBAA82}/ ${fs_size /media/disk} (${color #FFFB00}${fs_free_perc /media/disk}% ${color #DBAA82}libre)
${color #344299}${fs_bar /media/disk}${else}${color #DBAA82}${alignc}clé non montée$endif
Et mon ~/.conky/conkyrc2 (celui du bas) :
# set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
short_units yes
out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont monospace-8
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window_transparent yes
own_window_colour black
own_window yes
own_window_type root
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 200 255
maximum_width 500
maximum_height 500
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 0
# border width
border_width 0
# drawn 1 pixel border around graphs or not
draw_graph_borders yes
# 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 bottom_right
# Gap between borders of screen and text
gap_x 515
gap_y 150
# Add spaces to keep things from moving about? This only affects certain objects.
#use_spacer right
# Subtract file system buffers from used memory?
no_buffers no
# set to yes if you want all text to be in uppercase
uppercase no
#A lot of text in Conky ?
text_buffer_size 1024
####################################
####################################
####################################
####################################
TEXT
${color #DBAA82}Processus${alignr 52}PID ${alignr 20} %cpu
${color #FFFB00}${top name 1}${alignr 38}${top pid 1} ${alignr 20} ${top cpu 1}
${color #565868}${top name 2}${alignr 38}${top pid 2} ${alignr 20} ${top cpu 2}
${color #565868}${top name 3}${alignr 38}${top pid 3} ${alignr 20} ${top cpu 3}
${color #565868}${top name 4}${alignr 38}${top pid 4} ${alignr 20} ${top cpu 4}
${color #565868}${top name 5}${alignr 38}${top pid 5} ${alignr 20} ${top cpu 5}
${color #565868}${hr 2}
${color #DBAA82}Processus$color ${alignr 52}PID ${alignr 20} %mem
${color #FFFB00}${top_mem name 1}${alignr 26}${top_mem pid 1} ${alignr 14} ${top_mem mem 1}${color #ffc11f}
${color #565868}${top_mem name 2}${alignr 26}${top_mem pid 2} ${alignr 14} ${top_mem mem 2}${color #ffc11f}
${color #565868}${top_mem name 3}${alignr 26}${top_mem pid 3} ${alignr 14} ${top_mem mem 3}${color #ffc11f}
${color #565868}${top_mem name 4}${alignr 26}${top_mem pid 4} ${alignr 14} ${top_mem mem 4}${color #ffc11f}
${color #565868}${top_mem name 5}${alignr 26}${top_mem pid 5} ${alignr 14} ${top_mem mem 5}${color #ffc11f}
${color #565868}${hr 2}
${if_existing /proc/net/route eth0}${color #DBAA82}Ethernet : $color${addr eth0}
${color #DBAA82}Download : $color${downspeed eth0} kiB/s ${alignr}${color #DBAA82}Upload : $color${upspeed eth0} kiB/s
${color #DBAA82}Total : $color${totaldown eth0} ${alignr}${color #DBAA82}Total : $color${totalup eth0}
$endif${if_existing /proc/net/route wlan0}${color #DBAA82}Wi-Fi : $color${wireless_bitrate wlan0} ${alignr}${color #DBAA82}IP Locale : $color${addr wlan0}
${color #DBAA82}Signal : $color${wireless_link_qual wlan0} % ${color2}${wireless_link_bar wlan0}
${color #DBAA82}SSID : $color${wireless_essid wlan0} ${alignr}${color #DBAA82}MAC : $color${wireless_ap wlan0}
${color #DBAA82}Download : $color${downspeed wlan0} kiB/s ${alignr}${color #DBAA82}Upload : $color${upspeed wlan0} kiB/s
${color #DBAA82}Total : $color${totaldown wlan0} ${alignr}${color #DBAA82}Total : $color${totalup wlan0}
$endif