虽然很粗糙,不过我也秀一下.有些没做好.别见怪.

桌面秀,不同桌面、不同风格。
回复
头像
koc3155
帖子: 68
注册时间: 2010-09-07 23:16

虽然很粗糙,不过我也秀一下.有些没做好.别见怪.

#1

帖子 koc3155 » 2014-07-29 17:56

# -*- conf -*-
#
# ~/.conkyrc - Conky configuration file
#
# By Rich kong <koc324@163.com>
#

# do not fork to background
background yes

# font settings
use_xft yes
xftfont Microsoft_YaHei:size=10
xftalpha 0.8
uppercase no

# update every 3 secs
update_interval 3

# stay running forever
total_run_times 0

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

# avoid flickering
double_buffer yes

# size
#minimum_size 400 100
#maximum_width 1366
# position
alignment top_left
gap_x 0
gap_y 0

# colors
default_color white
default_shade_color black
default_outline_color black
color0 FF0000
color1 144556
color2 33CCFF

# borders
draw_borders no
stippled_borders 8
#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
${offset 300}${voffset 10}${color2}System Information:
${offset 300}${color2}Hostname: $nodename
${offset 300}${color2}System: ${execi 999 lsb_release -d -s -c | tr -s "\n" " "} $kernel
${offset 300}${color2}CPU:${execi 999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2-}
${offset 300}${color2}Up Time: $uptime
${offset 300}${color2}HDD Temperature: ${color0}${hddtemp /dev/sda}°C
${offset 300}${color2}CPU FAN:${color0}${execi 999 cat /proc/acpi/ibm/fan | grep "speed" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}

${voffset 15}${offset 30}${color2}CPU 1
${offset 30}$color2 Usage: $color2${cpu cpu1}% $color2 Temperature:${color0} $acpitemp ℃
${offset 30}${font}$color2 Load: $color2$cpu% ${cpubar cpu0 6,200}
${offset 30}$color2 ${cpugraph cpu0 20,270}
${offset 30}${color2}CPU 2
${offset 30}$color2 Usage: $color2${cpu cpu2}% $color2 Temperature:${color0} $acpitemp ℃
${offset 30}${font}$color2 Load: $color2$cpu% ${cpubar cpu1 6,200}
${offset 30}$color2 ${cpugraph cpu1 20,270}

${voffset 40}${offset 5}${color2}Network
${offset 5}${color2}Eth0 address:${addr eth0}
${offset 5}${color2}Down ${downspeed eth0} k/s Up ${upspeed eth0} k/s
${offset 5}${downspeedgraph eth0 20,130} ${upspeedgraph eth0 20,130}
${offset 5}${color2}Total_down ${totaldown eth0} Total_up ${totalup eth0}
${offset 5}Wareless address:${addr wlan0}
${offset 5}Down ${downspeed wlan0} k/s Up ${upspeed wlan0} k/s
${offset 5}${downspeedgraph wlan0 20,130} ${upspeedgraph wlan0 20,130}
${offset 5}${color2}Total_down ${totaldown wlan0} Total_up ${totalup wlan0}

${voffset -230}${offset 1100}${color2}RAM ${color0}$mem / $memmax ($memperc%)
${offset 1100}${color2}${membar 4}
${offset 1100}${color2}Processes: $processes ($running_processes running)
${offset 1100}${color2}SWAP ${color0}$swap / $swapmax ($swapperc%)
${offset 1100}${color2}${swapbar 4}

${voffset 70}${offset 1100}${color #33CCFF}Mem Usage $alignr PID CPU% MEM%
${offset 1100}${top_mem name 1}$alignr${top pid 1}${top_mem cpu 1} ${top_mem mem 1}
${offset 1100}${top_mem name 2}$alignr${top pid 2}${top_mem cpu 2} ${top_mem mem 2}
${offset 1100}${top_mem name 3}$alignr${top pid 3}${top_mem cpu 3} ${top_mem mem 3}
${offset 1100}${top_mem name 4}$alignr${top pid 4}${top_mem cpu 4} ${top_mem mem 4}
${offset 1100}${top_mem name 5}$alignr${top pid 5}${top_mem cpu 5} ${top_mem mem 5}

${voffset -50}${offset 40}${color2}File System (${fs_type /})
${offset 40}${color2}/: (${fs_type /})
${offset 40}$color2 Total:${fs_size /} $color2 Free: ${fs_free /} ${fs_used_perc /}%
${offset 40}$color2 Usage:$color2 ${fs_bar 5,170 /}
${offset 40}${color2}/media/File: (${fs_type /media/File})
${offset 40}$color2 Total:${fs_size /media/File} $color2 Free: ${fs_free /media/File} ${fs_used_perc /media/File}%
${offset 40}$color2 Usage:$color2 ${fs_bar 5,170 /media/File}

${voffset -60}${offset 400}${color2}Display IBM Thinkpad LCD (1366*768)


最后一行屏幕亮度好像不行.所以就随便应付了一下.不过在找屏幕亮度的同时.不小心发现了CPU风扇的信息.哈哈.
之前一直在纠结没有风扇信息.这下CPU,硬盘温度,风扇转速全齐了. :em11
不过说真的,感觉在屏幕中的位置真心不怎么会.
附件
2014的屏幕截图.png
上次由 koc3155 在 2014-07-30 8:56,总共编辑 1 次。
一辈子都在学习,一辈子都是学生。唉。。。!
恒河沙数1
帖子: 295
注册时间: 2013-04-27 19:26
系统: ubuntu+win7

Re: 虽然很粗糙,不过我也秀一下.有些没做好.别见怪.

#2

帖子 恒河沙数1 » 2014-07-29 21:47

对于你这种行为我只想说,太炫酷了!!!!
恒河沙数1
帖子: 295
注册时间: 2013-04-27 19:26
系统: ubuntu+win7

Re: 虽然很粗糙,不过我也秀一下.有些没做好.别见怪.

#3

帖子 恒河沙数1 » 2014-07-29 21:51

求图包和配置文件 :em01
头像
koc3155
帖子: 68
注册时间: 2010-09-07 23:16

Re: 虽然很粗糙,不过我也秀一下.有些没做好.别见怪.

#4

帖子 koc3155 » 2014-07-30 7:39

恒河沙数1 写了:求图包和配置文件 :em01
附件
桌面图片
桌面图片
一辈子都在学习,一辈子都是学生。唉。。。!
回复