conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

桌面秀,不同桌面、不同风格。
canxu6645
帖子: 3
注册时间: 2010-07-17 17:24

conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#1

帖子 canxu6645 » 2010-07-20 18:15

新手.刚学UBUTNTU,网上找了几个搭成自己用.请各位兄弟指点指点.
:em06


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

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Sans:size=8

own_window_transparent no
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8

# on_bottom yes

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override

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

# Minimum size of text area
minimum_size 260 5
maximum_width 260

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders no

# border margins
border_margin 4

# border width
border_width 1

# 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_left
#minimum_size 10 10
gap_x 5
gap_y 35
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# none, xmms, bmp, audacious, infopipe (default is none)
# xmms_player bmp

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# 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
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# 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
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# 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
# 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
# torsmo 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
# 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 torsmo
# has started.
# 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
# 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
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}


TEXT
${font iYaHei:size=24}${time %H:%M}${font iYaHei:size=9}${alignr}${time %B} ${time %Y}
${color}${font DejaVu Sans Mono:size=10}${execpi 300 export LC_TIME=C; DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color EE6363}'"$DJS"'${color}'" "/}${font}
${font iYaHei:size=10}${color green}天气状况 ${hr 1}${color}
${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=CN}
${font Weather:size=44}${color gold}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=WF}${font}${color}${voffset -20}${offset 18}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=CC}${offset 10}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=HT}${offset 10}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=WS} ${font Arrows:size=10}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=BF}$font
${offset 60}Sol: ${color}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=SR}-${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=SS}
${font Weather:size=26}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0493 --datatype=HT --startday=1 --endday=4 --spaces=11}
${font iYaHei:size=10}${color green}系统信息 ${hr 1}${color}
${color}内核: ${alignr}$kernel
${color}运行时间: ${color #dcff82}${alignr}$uptime
${color}温度: ${color #dcff82}${alignr}${acpitemp}°C
CPU I ${cpu cpu1}% CPU II ${cpu cpu2}%
${color #dcff82}${cpubar 4,98 cpu1} ${color #dcff82}${cpubar 4,98 cpu2}
${color white}内存使用:${alignr}$mem /$memmax
${color #dcff82}${membar 4,200}
${color white}进程: ${color #dcff82}${alignr}$processes ($running_processes running)
${color white}最大内存使用${alignr} CPU% MEM%
${color #dcff82}${top_mem name 1}${alignr}${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem cpu 3}${top_mem mem 3}
${color green}网络信息 ${hr 1}${color}
${color white}IP地址: ${color #dcff82}${addr wlan0}${color}
${voffset 1}${color white}上传:${color #dcff82} ${upspeedf wlan0} KB/s ${voffset 1}${color white}下载:${color dcff82} ${downspeedf wlan0} KB/s
${upspeedgraph wlan0 16,95 dcff82 ffffff} ${downspeedgraph wlan0 16,95 dcff82 ffffff}
${color white}统计:${color #dcff82}${totalup wlan0} ${color white}统计:${color #dcff82}${totaldown wlan0}
${color white}无线网络:${color #dcff82}${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}/${wireless_link_qual_max wlan0} ${color #dcff82}${wireless_link_bar wlan0}
${color green}文件系统 ${hr 1}${color}
${color white}跟分区: ${color}${alignr}${fs_free /} 可用/总 ${fs_size /}
${color #dcff82}${fs_bar 4 /}
${color white}用户分区: ${color}${alignr}${fs_free /home} 可用/总 ${fs_size /home}
${color #dcff82}${fs_bar 4 /home}
附件
snapshot4.png
头像
whr_9046
帖子: 434
注册时间: 2009-08-09 17:09

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#2

帖子 whr_9046 » 2010-07-20 18:20

恩,看起来不错,搭配挺好。
小建议:你的conky似乎可以窄一点,显得紧凑。现在的配置很多空是没用的。
男人因为孤独而优秀,女人因为优秀而孤独。。。
canxu6645
帖子: 3
注册时间: 2010-07-17 17:24

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#3

帖子 canxu6645 » 2010-07-20 18:26

就是天气没有中文的.
那位高手能给个中文天气conky配置搭起来应该更好
头像
黄美姬
帖子: 8428
注册时间: 2009-10-08 11:15
来自: 大城市铁岭

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#4

帖子 黄美姬 » 2010-07-20 19:02

2010-7-20 18-59-20.jpg
我们是命运的妓女,它把我们都嫖了

N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#5

帖子 nmsfan » 2010-07-20 19:10

美肌又来这秀了 :em04 :em04
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#6

帖子 adagio » 2010-07-20 20:48

跟分区
:em05
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
kakashiljf
帖子: 314
注册时间: 2008-10-14 16:36

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#7

帖子 kakashiljf » 2010-07-20 22:45

路过~~~~ :em11
Screenshot.png
学习知识本身其实是个痛苦的过程,但运用知识的过程,一般都很有趣,往往值得忍受当初那些“痛苦的学习过程”。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#8

帖子 eexpress » 2010-07-20 22:52

不错。和我的风格接近。
● 鸣学
头像
Jarson
帖子: 2371
注册时间: 2008-07-21 9:44
来自: 深圳
联系:

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#9

帖子 Jarson » 2010-07-20 23:14

LS的conky不错,最近看到了好几个类似的配置,好像e婶的也类似 :em05
左边的那栏是rss订阅吗?

ps:竟然给e婶发在前面了,^_^
头像
kakashiljf
帖子: 314
注册时间: 2008-10-14 16:36

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#11

帖子 kakashiljf » 2010-07-22 0:09

pocoyo 写了:7#的那个 debian的图标怎么出来的 ?
谢谢楼上各位 :em11

那个debian的图标是openlogos字体上的J,如下图:
Screenshot-拾取字体.png
学习知识本身其实是个痛苦的过程,但运用知识的过程,一般都很有趣,往往值得忍受当初那些“痛苦的学习过程”。
头像
kakashiljf
帖子: 314
注册时间: 2008-10-14 16:36

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#12

帖子 kakashiljf » 2010-07-22 0:11

Jarson 写了:LS的conky不错,最近看到了好几个类似的配置,好像e婶的也类似 :em05
左边的那栏是rss订阅吗?

ps:竟然给e婶发在前面了,^_^

左边的是rss,使用的是snackr阅读器……
学习知识本身其实是个痛苦的过程,但运用知识的过程,一般都很有趣,往往值得忍受当初那些“痛苦的学习过程”。
头像
Vincent Tang
帖子: 7
注册时间: 2010-07-03 3:28

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#13

帖子 Vincent Tang » 2010-07-26 0:41

mark
菜鸟终究要学会飞。
头像
drvicar
帖子: 1285
注册时间: 2007-12-17 18:07
来自: 西安

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#14

帖子 drvicar » 2010-07-27 15:11

:em06 都好漂亮的阿
头像
underline_1
帖子: 63
注册时间: 2010-07-16 0:17

Re: conky的配置(简洁明朗) 刚接触UBUNTU 组合了几个conky 搭个桌面

#15

帖子 underline_1 » 2010-07-27 16:28

记号。
回复