Kde 桌面的 conky 怎么配置天气啊。还有 kde 邮件,新浪的 rss

弄了半天还没弄好求大神指教

你说的太泛了,详细描述下吧
conky 天气可以参考下 [我的 conky 主题,分享!!)
至于其它的,请在相应的版面重新开贴,详细描述下 :slight_smile:

1赞

我的.conkyrc 代码现在安装 conky 后的配置文件只有这一个,想让它显示城市代码为 CHXX0086 的天气状况该怎么改啊?

# -- Conky settings -- #
# -- Window specifications -- #
 
#own_window_class Conky
own_window yes
own_window_type conky
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
border_inner_margin 0
border_outer_margin 0
border_margin 4
minimum_size 260 5
maximum_width 240
mail_spool $MAIL
alignment tr
gap_x 35
gap_y 45
# -- Window specifications -- #
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
default_color cccccc
draw_graph_borders no
show_graph_scale no
show_graph_range no
# -- Text settings -- #
alignment top_right
use_xft yes
xftfont  wqy-microhei:size=7 DejaVu
xftalpha 0.8
short_units yes
uppercase no
default_color FFFFFF
default_outline_color grey
#alignment top_left
background no
border_width 1
cpu_avg_samples 2
double_buffer yes
imlib_cache_size 0
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 0
update_interval 1.0
use_spacer none
# -- Graphics settings -- #
TEXT
#-------------- 时间日期 --------------#
${color red}${font iYaHei :style=Bold:size=10}${time %b%d 日星期 %a}${alignr}${color blue}${time %p%l:%M:%S}
#-------------- 时间日期 --------------#
${hr 1}
#-------------- 系统信息 ----------------------#
#${scroll 16 $nodename - $sysname $kernel on $machine | }
#$hr
${color red}开机时长:$color $uptime
${color red}cpu 频率 :$color $freq_g (GHz)
${color red}内存使用:$color $mem/$memmax - $memperc% ${membar 4}
${color red}CPU Usage:$color $cpu% ${cpubar 4}
#Core 1: ${freq_g 1}GHz (${cpu cpu1}%) ${alignr 100}${cpubar cpu1}
#Core 2: ${freq_g 2}GHz (${cpu cpu2}%) ${alignr 100}${cpubar cpu2}
#Core 3: ${freq_g 3}GHz (${cpu cpu3}%) ${alignr 100}${cpubar cpu3}
#Core 4: ${freq_g 4}GHz (${cpu cpu4}%) ${alignr 100}${cpubar cpu4}
${hr 1}
#--------------cpu 信息 ----------------------#
${font iYaHei:size=8}${color purple}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}${font iYaHei:size=8}${color}
${color red}CPU1 ${color yellow}${cpu cpu1}%${alignr} ${color red}CPU2 ${color yellow}${cpu cpu2}%${color}
${voffset -6}${cpugraph cpu1 25,115 000000 ff4500 } $alignr${offset -2}${cpugraph cpu2 25,115 000000 436eee}
${color red}CPU3 ${color yellow}${cpu cpu3}%${color yellow}${alignr} ${color red}CPU4 ${color yellow}${cpu cpu4}%
${voffset -6}${cpugraph cpu3 25,115 000000 fe5600 } $alignr${offset -2}${cpugraph cpu4 25,115 000000 360eee}
#--------------cpu 温度 ----------------------#
${color red}总进程数:$color $processes${color red}${alignr}运行进程数:$color $running_processes
${color red}cpu1 温度: ${color pink}${exec sensors | grep 'Core 0' | cut -c13-50}°C
${color red}cpu2 温度: ${color pink}${exec sensors | grep 'Core 1' | cut -c13-50}°C
$hr
${color blue}文件系统:
$color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color red}WIFI:      ${color yellow}上载:${color pink}${upspeed wlp8s0}     ${color yellow}下载:${color pink} ${downspeed wlp8s0}
#Up:${color yellow} ${upspeed eth0} ${color grey} - Down:$color green}${downspeed eth0}
$hr
${color red}Name             PID   CPU%   MEM%
${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
#----------------------------------------- rss 订阅 ----------------------------------#
${font iYaHei:size=8}${color yellow}${rss  http://feed.feedsky.com/my_cnbeta 1 item_titles 10}
#----------------------------------------- rss 订阅 ----------------------------------#
#----------------------------------------- 天气 ---------------------------------------#

#----------------------------------------- 天气 ---------------------------------------#

那你在看看这个: [分享下 conky 配置)