歡迎您光臨本站 註冊首頁

conky畫面問題

←手機掃碼閱讀     火星人 @ 2014-03-22 , reply:0


我用conky重新做了一個,因為之前一直無法在effection下打開效果,一打開就會覆蓋conky,所以只好取消效果功能,現在試試改變conkyrc里的設置,我想問那個圖片右邊怎麼少一塊阿,缺一點。我增加了width,還是沒用,下面是我的conkyrc配置,希望高手解答,至於圖片,大家希望不要炮轟我,小妖其實不是猥瑣的人。。。。。

# ~/.conkyrc - Conky configuration file
#edited by [email protected]
#edited by whore,2010-5-3

# do not fork to background
background no

# font settings
use_xft yes
font sans-9:style bold
uppercase no

# update every 0.7 secs
update_interval 0.7

# stay running forever
total_run_times 0

# draw to root window yes
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# avoid flickering
double_buffer yes

# size
minimum_size 600 0
maximum_width 1500

# position
alignment top_left
gap_x 0
gap_y 0

# colors
default_color white
default_shade_color black
default_outline_color black
color0 000000
color1 000000
color2 FFFFFF

# borders
draw_borders no
stippled_borders 9
border_margin 4
border_width 1

# shades
draw_shades no

# outline
draw_outline no

# spacer
use_spacer none

# buffers
no_buffers yes

# sampling
cpu_avg_samples 2
net_avg_samples 2

# configuration
TEXT
${voffset 30}${offset 20}${color1}System ${exec whoami} macine: $machine
${voffset 4}${offset 50}$color1 CPU: $color1 ${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}
${voffset 4}${offset 50}$color1 System: $color1 ${execi 99999 lsb_release -d -s -c | tr -s "\n" " "} $kernel
${voffset 4}${offset 50}$color1 Uptime:$color1 $uptime $color1 Updates: ${color1}${execi 360 aptitude search "~U" | wc -l | tail}${color1}${font} ${color1}Packages${color}

${voffset 6}${offset 35}${color1}CPU 1
${offset 37}$color1 Usage: $color1${cpu cpu1}% $color1 Temperature:$color1$acpitemp ${font sans:size=7}℃
${offset 37}${font}$color1 Load: $color1$cpu% ${color1}${cpubar cpu0 6,200}
#${offset 40}$color1 ${cpugraph cpu0 12,170 000000 33b0dc}
${voffset 6}${offset 35}${color1}CPU 2
${offset 37}$color1 Usage: $color1${cpu cpu2}% $color1 Temperature:$color1$acpitemp ${font sans:size=7}℃
${offset 37}${font}$color1 Load: $color1$cpu% ${color1}${cpubar cpu1 6,200}
#${offset 37}$color1 ${cpugraph cpu1 12,170 000000 33b0dc}

${voffset 5}${offset 30}${color1}${font sans:size=9}Memory $color1--$memmax
${offset 30}${color1}RAM: $color1$mem($memperc%) $color1${membar 6,200}

${voffset 0}${offset 25}${color1}threads:$threads
${voffset 0}${offset 25}${color1}${font sans:size=12}Processes
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 1}
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 2}
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 3}
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 4}
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 5}
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 6}
${voffset 0}${offset 25}${font sans:size=10}${color1}${top name 7}
${voffset -136}${offset 160}${color1}CPU
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 1}
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 2}
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 3}
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 4}
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 5}
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 6}
${voffset 0}${offset 150}${font sans:size=10.4}${color1}${top cpu 7}
${voffset -136}${offset 230}${color1}PID
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 1}
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 2}
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 3}
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 4}
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 5}
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 6}
${voffset 0}${offset 220}${font sans:size=10.4}${color1}${top pid 7}

${voffset 5}${offset 30}${desktop_name}

${voffset 5}${offset 30}

${voffset 5}${offset 30}buffers:${buffers} cached:${cached} swap:${swapperc}%

${voffset -540}${offset 870}${color2}Time&Date
${offset 870}${color2}${font sans:pixelsize=25}${time %H:%M}${color1}${font sans:pixelsize=20}${time :%S}
${offset 850}${color2}${font sans:size=12} ${time %y/%m/%d }${color1}${font sans:size=10}${time %A}

${offset 835}${color2}${font sans:size=25}Gmail${color2}(${color1}${texeci 1800 perl ~/.check_gmail.sh}${color1})

${voffset -15}${offset 800}${color1}${font sans:size=18}black-moon
${offset 835}${color1}${font sans:size=18}whore
${offset 800}${color1}${font sans:size=20}Crack-hacking

${voffset 50}${offset 810}${color1}${font sans:size=9}Network
${offset 790}${color1}Ip address: $color1${addr eth0}
${offset 790}${color1}Total: $color1${totaldown eth0} ${color1}DownSpeed: $color1${downspeed eth0}/s
${offset 790}${color1}${downspeedgraph eth0 16,190 000000 000000}
${offset 790}${color1}Total: $color1${totalup eth0} ${color1}UpSpeed: $color1${upspeed eth0}/s
${offset 790}${color1}${upspeedgraph eth0 16,190 000000 000000}

${voffset 3}${offset 810}${color1}TCP
${offset 790}${color1}${tcp_portmon 1 10024 rhost 0}

${voffset -25}${offset 810}${color1}${font sans:size=9}Battery
${offset 790}${color1}${battery BAT0} ${apcupsd_charge}
${offset 790}${color1}${battery_bar 10,195 BAT0}


[火星人 ] conky畫面問題已經有235次圍觀

http://coctec.com/docs/linux/show-post-104320.html