一个简单Conky的配置步骤,可显示天气和Gmail邮箱
-
- 帖子: 24
- 注册时间: 2008-01-12 15:42
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
To perryfa:
你不必谢我,conkyForecast.py也不是我写的。我只是总结和修改了一下而已。我们一起学习哈。
To jarryson:
启动确实慢,不过还好了。期待牛人能有更强的修改。
你不必谢我,conkyForecast.py也不是我写的。我只是总结和修改了一下而已。我们一起学习哈。
To jarryson:
启动确实慢,不过还好了。期待牛人能有更强的修改。
- jznhljg
- 帖子: 36
- 注册时间: 2008-08-21 3:42
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
我的不能随机启动。。。不知道怎么 搞的。
- 仙奴第一粉
- 帖子: 39
- 注册时间: 2009-03-23 12:25
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
mark!!!
- yinqiyang
- 帖子: 23
- 注册时间: 2008-04-19 19:56
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
太长了,我的显示器17的,下面天气预报都看不见
-
- 帖子: 20
- 注册时间: 2007-06-25 22:52
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
请问搂住 我想暂时关掉conkyrc 要怎么做?
-
- 帖子: 20
- 注册时间: 2007-06-25 22:52
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
楼主 有没有办法改下那个email 使那个email变为实事的
-
- 帖子: 55
- 注册时间: 2008-06-09 15:40
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
谢谢楼主,照你的方法,试里下,很好看,谢谢。
-
- 帖子: 55
- 注册时间: 2008-06-09 15:40
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
我的也出现和你说的情况,我在.conkyrc文件中将空行删除了一些,就可以看见全部的内容了。yinqiyang 写了:太长了,我的显示器17的,下面天气预报都看不见
-
- 帖子: 4
- 注册时间: 2009-03-07 12:54
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
我的屏幕不够大,显示不全,下面显示不出来怎么办?
-
- 帖子: 17
- 注册时间: 2009-04-04 9:12
-
- 帖子: 17
- 注册时间: 2009-04-04 9:12
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
我也是个新手,这两天找了好多,也刚弄了一个,跟大家学习下,
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
# font 5×7
# font 6×10
# font 7×13
# font 8×13
# font 9×15
# font *mintsmild.se*
# font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
font WenQuanYi Bitmap Song:size=11
Xftfont WenQuanYi Bitmap Song:size=11
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host http://www.paoto.com
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
# own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
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 400 5
maximum_width 308
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 40
# 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 no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)
# 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
# stuff after ‘TEXT’ will be formatted on screen
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
# font 5×7
# font 6×10
# font 7×13
# font 8×13
# font 9×15
# font *mintsmild.se*
# font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
font WenQuanYi Bitmap Song:size=11
Xftfont WenQuanYi Bitmap Song:size=11
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host http://www.paoto.com
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
# own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
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 400 5
maximum_width 308
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 40
# 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 no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)
# 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
# stuff after ‘TEXT’ will be formatted on screen
上次由 cxw8604 在 2009-04-12 12:31,总共编辑 1 次。
-
- 帖子: 17
- 注册时间: 2009-04-04 9:12
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
TEXT
${color #ff0017}${font DotMatrix:size=16}${alignc}${time %H:%M:%S}
${font size=13}${color #00fff9}${alignc}${time %b%d日 星期%a}
${font}${color #00fff9}本机已运行:$color$uptime${color #00fff9}-Load:$color $loadavg
${color #88aadd}$stippled_hr
${color #ddaa00}OS:$alignr${color #00fff9}${execi 99999 uname -o}
${color #ddaa00}Kernel:$alignr${color #00fff9}$kernel
${color #ddaa00}User: ${alignr}${color #00fff9}${execi 9999 whoami} ${color #00fff9}on $nodename${color #00fff9}
${color #88aadd}$stippled_hr
${color #00fff9}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- }
${color #00fff9}CPU Temp:${offset 50}${color #ff001e}${alignr}${acpitemp}°C
${color #00fff9}CPU 使用率:${offset 50}
${color #ff0017} ${cpu}% ${cpubar}
${color db7093}${cpugraph 10 00ff00 2f4f4f}
${color #00fff9}硬盘 R/W:${color}${alignr}${diskio}/s
$color${diskiograph 10 00ff00 2f4f4f}
${voffset -25}${color #ffd700} Reading: $color$diskio_read$alignr${color #ffd700}Writing: $color$diskio_write ${voffset 10}
${color #00fff9}内存 使用率:$color $mem/$memmax
${color #00c3ff}$memperc% ${color #00c3ff}$membar
${color #00fff9}交换空间使用率:$color $swap/$swapmax - $swapperc% ${color #db7093}${swapbar}
${color #88aadd}$stippled_hr
${color #00fff9}网络:$alignr${color snow}${addr eth0}
${color #00fff9}Download: ${color white}${downspeed eth0}k/s ${alignr}${color #00fff9}Upload: ${color white}${upspeed eth0}k/s ${voffset 10}
${downspeedgraph eth0 25,150 00ff00 2f4f4f}${alignr}${upspeedgraph eth0 25,150 00ff00 2f4f4f}
${color #00fff9}Total: ${color #000fff}${totaldown eth0}${color #00fff9} $alignr Total: ${color #000fff}${totalup eth0}
${color #88aadd}$stippled_hr
${color #00ff18}文件系统:
/ $color ${fs_used /}/${fs_size /} ${color #db7093}${fs_bar /}
${color #00ff18}/home $color${fs_used /home}/${fs_size /home} ${color #db7093}${fs_bar /home}
${color #88aadd}$stippled_hr
${color #00fff9}进程:$color $processes ${color #00fff9}当前活动:$color $running_processes
${color}CPU usage$alignr PID CPU% MEM%
${color #ddaa00} ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
${color #ddaa00} ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
${color #ddaa00} ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
${color #88aadd}$stippled_hr
${voffset -6}${font Weather:size=30}${color #ffa500}I ${voffset -8}${font WenQuanYi Bitmap Song:size=12}${color #00fff9}漳州天气${font WenQuanYi Bitmap Song:size=8}
${voffset 5}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=CN}
${color #88aadd}$stippled_hr
${font Weather:size=44}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WF}${font WenQuanYi Bitmap Song:size=8}${color #ffa500}
${voffset -50}${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HT}
${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BR}
${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WS}km/h ${font Arrows:size=10}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF}${font WenQuanYi Bitmap Song:size=8}
${voffset -70}${offset 140}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=DW --startday=1 --endday=3 --spaces=8 --shortweekday}
${offset 135}${voffset 5}${color white}${font Weather:size=30}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WF --startday=1 --endday=3 --spaces=1}${font WenQuanYi Bitmap Song:size=8}${color}
${offset 125}${color white}${font Weather:size=16}i${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=PC --startday=1 --endday=3 --spaces=6}
${offset 130}${color white}${font Weather:size=16}v${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WS --startday=1 --endday=3 --spaces=6}
${font Arrows:size=10}${offset 180}${voffset -15}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=1 --endday=1 --spaces=0}${font WenQuanYi Bitmap Song:size=8}${offset 45}${voffset -2}${font Arrows:size=10}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=2 --endday=2 --spaces=0}${font WenQuanYi Bitmap Song:size=8}${offset 45}${font Arrows:size=10}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=3 --endday=3 --spaces=0}${font WenQuanYi Bitmap Song:size=8}
${offset 130}${color white}${font Weather:size=16}z${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HT --startday=1 --endday=3 --spaces=6}
${voffset -40}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=CC}
Humedad: ${color}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HM}
${voffset 5}${color white}Sol: ${color}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=SR}-${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=SS}
${color #88aadd}$stippled_hr
${color #ff0017}${font DotMatrix:size=16}${alignc}${time %H:%M:%S}
${font size=13}${color #00fff9}${alignc}${time %b%d日 星期%a}
${font}${color #00fff9}本机已运行:$color$uptime${color #00fff9}-Load:$color $loadavg
${color #88aadd}$stippled_hr
${color #ddaa00}OS:$alignr${color #00fff9}${execi 99999 uname -o}
${color #ddaa00}Kernel:$alignr${color #00fff9}$kernel
${color #ddaa00}User: ${alignr}${color #00fff9}${execi 9999 whoami} ${color #00fff9}on $nodename${color #00fff9}
${color #88aadd}$stippled_hr
${color #00fff9}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- }
${color #00fff9}CPU Temp:${offset 50}${color #ff001e}${alignr}${acpitemp}°C
${color #00fff9}CPU 使用率:${offset 50}
${color #ff0017} ${cpu}% ${cpubar}
${color db7093}${cpugraph 10 00ff00 2f4f4f}
${color #00fff9}硬盘 R/W:${color}${alignr}${diskio}/s
$color${diskiograph 10 00ff00 2f4f4f}
${voffset -25}${color #ffd700} Reading: $color$diskio_read$alignr${color #ffd700}Writing: $color$diskio_write ${voffset 10}
${color #00fff9}内存 使用率:$color $mem/$memmax
${color #00c3ff}$memperc% ${color #00c3ff}$membar
${color #00fff9}交换空间使用率:$color $swap/$swapmax - $swapperc% ${color #db7093}${swapbar}
${color #88aadd}$stippled_hr
${color #00fff9}网络:$alignr${color snow}${addr eth0}
${color #00fff9}Download: ${color white}${downspeed eth0}k/s ${alignr}${color #00fff9}Upload: ${color white}${upspeed eth0}k/s ${voffset 10}
${downspeedgraph eth0 25,150 00ff00 2f4f4f}${alignr}${upspeedgraph eth0 25,150 00ff00 2f4f4f}
${color #00fff9}Total: ${color #000fff}${totaldown eth0}${color #00fff9} $alignr Total: ${color #000fff}${totalup eth0}
${color #88aadd}$stippled_hr
${color #00ff18}文件系统:
/ $color ${fs_used /}/${fs_size /} ${color #db7093}${fs_bar /}
${color #00ff18}/home $color${fs_used /home}/${fs_size /home} ${color #db7093}${fs_bar /home}
${color #88aadd}$stippled_hr
${color #00fff9}进程:$color $processes ${color #00fff9}当前活动:$color $running_processes
${color}CPU usage$alignr PID CPU% MEM%
${color #ddaa00} ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
${color #ddaa00} ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
${color #ddaa00} ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
${color #88aadd}$stippled_hr
${voffset -6}${font Weather:size=30}${color #ffa500}I ${voffset -8}${font WenQuanYi Bitmap Song:size=12}${color #00fff9}漳州天气${font WenQuanYi Bitmap Song:size=8}
${voffset 5}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=CN}
${color #88aadd}$stippled_hr
${font Weather:size=44}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WF}${font WenQuanYi Bitmap Song:size=8}${color #ffa500}
${voffset -50}${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HT}
${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BR}
${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WS}km/h ${font Arrows:size=10}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF}${font WenQuanYi Bitmap Song:size=8}
${voffset -70}${offset 140}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=DW --startday=1 --endday=3 --spaces=8 --shortweekday}
${offset 135}${voffset 5}${color white}${font Weather:size=30}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WF --startday=1 --endday=3 --spaces=1}${font WenQuanYi Bitmap Song:size=8}${color}
${offset 125}${color white}${font Weather:size=16}i${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=PC --startday=1 --endday=3 --spaces=6}
${offset 130}${color white}${font Weather:size=16}v${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WS --startday=1 --endday=3 --spaces=6}
${font Arrows:size=10}${offset 180}${voffset -15}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=1 --endday=1 --spaces=0}${font WenQuanYi Bitmap Song:size=8}${offset 45}${voffset -2}${font Arrows:size=10}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=2 --endday=2 --spaces=0}${font WenQuanYi Bitmap Song:size=8}${offset 45}${font Arrows:size=10}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=3 --endday=3 --spaces=0}${font WenQuanYi Bitmap Song:size=8}
${offset 130}${color white}${font Weather:size=16}z${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HT --startday=1 --endday=3 --spaces=6}
${voffset -40}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=CC}
Humedad: ${color}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HM}
${voffset 5}${color white}Sol: ${color}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=SR}-${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=SS}
${color #88aadd}$stippled_hr
上次由 cxw8604 在 2009-04-12 12:32,总共编辑 1 次。
-
- 帖子: 17
- 注册时间: 2009-04-04 9:12
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
有没有谁知道显示出硬盘温度怎么弄啊,我之前添加了${hddtemp /dev/sda} 显示不出来出错,后来查了下,命令hddtemp 要加sudo 的,可要加再里面怎么弄啊,直接加肯定不行的,谁会啊,
- evenque
- 帖子: 3
- 注册时间: 2009-04-12 19:30
Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱
我想把所有显示的字都为黑色,该在哪边修改一下?
我的桌面背景为浅色,现在字的颜色为白色,看的不太清楚。
谢谢了
我的桌面背景为浅色,现在字的颜色为白色,看的不太清楚。
谢谢了
- aia123321aia
- 帖子: 13
- 注册时间: 2009-03-25 22:17