|
|

楼主 |
发表于 2009-5-13 10:40:36
|
显示全部楼层
如果没有office文档之类的使用需求,只装一个中文字体就行了,文泉译正黑很适合LCD显示器,在大号字体显示时效果更好。我的~/.fonts.conf很简单:
- <?xml version="1.0"?>
- <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
- <!-- ~/.font.conf file for user customizations -->
- <fontconfig>
- <match target="font" >
- <edit name="antialias" mode="assign" >
- <bool>true</bool>
- </edit>
- <edit name="autohint" mode="assign" >
- <bool>true</bool>
- </edit>
- <edit name="hinting" mode="assign" >
- <bool>false</bool>
- </edit>
- <edit name="hintstyle" mode="assign" >
- <const>hintfull</const>
- </edit>
- </match>
- </fontconfig>
复制代码
因为只有一个中文字体,我的是雅黑,不用麻烦调整字体优先顺序了。把字体调到12号大小,正好弥补21.5寸LCD点距过小的缺陷。
xfce下使用conky,直接装conky和feh就行了。我的conky配置,第一行代码在KDE4中有效,其它桌面环境可以不要:
- ${exec feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-appletsrc | tail --lines=1 | sed 's/wallpaper=//'`"}
- background no
- override_utf8_locale yes
- font sans:size=8
- xftfont sans:size=8
- use_xft yes
- xftalpha 0.1
- update_interval 1.0
- total_run_times 0
- own_window yes
- own_window_type normal
- own_window_transparent yes
- own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
- double_buffer yes
- draw_shades no
- draw_outline no
- draw_borders no
- draw_graph_borders no
- #alignment top_left
- alignment top_right
- #alignment bottom_left
- #alignment bottom_right
- #alignment none
- gap_x 5
- gap_y 45
- no_buffers yes
- cpu_avg_samples 2
- override_utf8_locale yes
- uppercase no # set to yes if you want all text to be in uppercase
- use_spacer none
- out_to_console no
- default_color white
- default_shade_color black
- default_outline_color grey90
- mpd_host 127.0.0.1
- mpd_port 6600
- maximum_width 160
- TEXT
- ${color}${font Monaco:pixelsize=22}${time %H:%M} ${font sans:size=9}${time %Y/%m/%d %A}
- ${color}${font StyleBats:size=12}O ${font}${color slate grey}UpTime:$alignr${color }$uptime
- ${color}${font StyleBats:size=12}Q ${font}${color slate grey}Kernel:$alignr${color }$kernel
- ${color}${font StyleBats:size=12}A ${font}${color slate grey}CPU:$alignr${color #ddaa00} $cpu%
- ${cpugraph 20,160 808080 ffffff}
- ${color slate grey}Processes:$alignr${color }$processes ($running_processes running)
- ${color}${font Webdings:size=12}i${font}${color slate grey}Highest CPU:$alignr -PID- CPU%
- ${color #ddaa00}${top name 1}$alignr${top pid 1}${top cpu 1}
- ${color lightgrey}${top name 2}$alignr${top pid 2}${top cpu 2}
- ${color lightgrey}${top name 3}$alignr${top pid 3}${top cpu 3}
- ${color}${font Webdings:size=12}i${font}${color slate grey}Highest MEM:$alignr -PID- MEM%
- ${color #ddaa00}${top_mem name 1}$alignr${top_mem pid 1}${top_mem mem 1}
- ${color lightgrey}${top_mem name 2}$alignr${top_mem pid 2}${top_mem mem 2}
- ${color lightgrey}${top_mem name 3}$alignr${top_mem pid 3}${top_mem mem 3}
- ${color slate grey}Memory:
- ${color}$mem / $memmax $alignr${color #ddaa00}$memperc%
- ${color}${membar 3,160}
- ${color slate grey}Swap:
- ${color}$swap / $swapmax $alignr${color #ddaa00}$swapperc%
- ${color}${swapbar 3,160}
- ${color slate grey}Disk Read:${alignr}${color}$diskio_read
- ${color}${diskiograph_read /dev/hda 10,160 808080 ffffff}
- ${color slate grey}Disk Write:${alignr}${color}$diskio_write
- ${color}${diskiograph_write /dev/hda 10,160 808080 ffffff}
- ${color slate grey}Internet:
- ${voffset 6}${color}${font PizzaDude Bullets:size=12}S${font} Tot.D. ${totaldown eth0}$alignr${color #ddaa00}${downspeed eth0}k/s
- ${downspeedgraph eth0 20,160 808080 ffffff}
- ${color}${font PizzaDude Bullets:size=12}M${font} Tot.U. ${totalup eth0}$alignr${color #ddaa00}${upspeed eth0}k/s
- ${upspeedgraph eth0 20,160 808080 ffffff}
- ${color}${font SimpMusic Base:size=22}~${color slate grey}${font} Mpd Music:
- ${color slate grey}Title:${color}${font sans:size=9}${alignr}$mpd_title
- ${color slate grey}${font}Artist:${color}${font sans:size=9}${alignr}$mpd_artist
- ${color slate grey}${font}Volume:${color}$mpd_vol%${alignr}${color slate grey}Bitrate:${color}$mpd_bitrate kbps
- ${color}${mpd_bar 3,160}
复制代码
附上一些conky上使用的图标形字体 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|