LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: jarryson

比较通用字体配置文件,有PKGUILD,方便安装使用[更新]

[复制链接]
发表于 2008-11-28 18:09:33 | 显示全部楼层
Post by qiang_liu8183;1915215
我什么也没配置,效果也不赖~~~

贴个证据



能贴下你的conky配置吗?
回复 支持 反对

使用道具 举报

发表于 2008-11-28 21:28:25 | 显示全部楼层
在 ubuntu论坛上有,需要另外加装字体。。。

[color="Red"][color="Blue"]字体下载

自己按照自己的需要再改动就可以了
有人还搞了天气预报,从weather.com  yahoo.com 还有 从265.com获取天气数据
  1. background no
  2. override_utf8_locale yes
  3. font DejaVu Sans:size=8
  4. xftfont DejaVu Sans:size=8
  5. use_xft yes
  6. xftalpha 0.1
  7. update_interval 1.0
  8. total_run_times 0
  9. own_window yes
  10. own_window_type normal
  11. own_window_transparent yes
  12. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  13. double_buffer yes
  14. draw_shades no
  15. draw_outline no
  16. draw_borders no
  17. draw_graph_borders no
  18. minimum_size 165 5
  19. maximum_width 165
  20. #alignment top_left
  21. #alignment top_right
  22. #alignment bottom_left
  23. alignment bottom_right
  24. #alignment none
  25. gap_x 5
  26. gap_y 45
  27. no_buffers yes
  28. cpu_avg_samples 2
  29. override_utf8_locale yes
  30. uppercase no # set to yes if you want all text to be in uppercase
  31. use_spacer none
  32. out_to_console no
  33. default_color white
  34. default_shade_color black
  35. default_outline_color grey90
  36. TEXT
  37. ${color}${font Monaco:pixelsize=22}${time %H:%M}${font DejaVu Sans:size=8}${time %m.%d/%Y} ${font OpenLogos:size=18}A
  38. ${voffset -20}${color}${font StyleBats:size=12}O ${font}${color slate grey}UpTime:$alignr${color }$uptime
  39. ${color}${font StyleBats:size=12}Q ${font}${color slate grey}Kern:$alignr${color }$kernel
  40. ${color}${font StyleBats:size=12}A ${font}${color slate grey}CPU:$alignr${color } $cpu% ${acpitemp}C
  41. ${cpugraph 20,160 000000 ffffff}
  42. ${color slate grey}Processes:$alignr${color }$processes  ($running_processes running)
  43. ${color}${font Webdings:size=12}i${font}${color slate grey}Highest CPU:$alignr -PID-  CPU%
  44. ${color #ddaa00}${top name 1}$alignr${top pid 1}${top cpu 1}
  45. ${color lightgrey}${top name 2}$alignr${top pid 2}${top cpu 2}
  46. ${color lightgrey}${top name 3}$alignr${top pid 3}${top cpu 3}
  47. ${color}${font Webdings:size=12}i${font}${color slate grey}Highest MEM:$alignr -PID-  MEM%
  48. ${color #ddaa00}${top_mem name 1}$alignr${top_mem pid 1}${top_mem mem 1}
  49. ${color lightgrey}${top_mem name 2}$alignr${top_mem pid 2}${top_mem mem 2}
  50. ${color lightgrey}${top_mem name 3}$alignr${top_mem pid 3}${top_mem mem 3}
  51. ${color slate grey}MEM:${color} $memperc%$alignr$mem/$memmax
  52. ${membar 3,160}
  53. ${color slate grey}SWAP:${color} $swapperc%$alignr$swap/$swapmax
  54. ${swapbar 3,160}
  55. ${color slate grey}ROOT:$alignr${color}${fs_free /}/${fs_size /}
  56. ${fs_bar 3,160 /}
  57. ${color slate grey}HOME:$alignr${color}${fs_free /home}/${fs_size /home}
  58. ${fs_bar 3,160 /home}
  59. ${color slate grey}Disk Read:${alignr}${color}$diskio_read
  60. ${color}${diskiograph_read /dev/sda 10,160 000000 ffffff}
  61. ${color slate grey}Disk Write:${alignr}${color}$diskio_write
  62. ${color}${diskiograph_write /dev/sda 10,160 000000 ffffff}
  63. ${color slate grey}Internet:
  64. ${color}${font PizzaDude Bullets:size=12}M${font} Tot.up. ${totalup eth0} Kb/s
  65. ${voffset 1}${color}${font PizzaDude Bullets:size=12}v${font} Up: ${color }${upspeed eth0}k/s
  66. ${upspeedgraph eth0 20,160 000000 ffffff}
  67. ${voffset 6}${color}${font PizzaDude Bullets:size=12}S${font} Tot.dow. ${totaldown eth0} Kb/s
  68. ${voffset 1}${color}${font PizzaDude Bullets:size=12}r${font} Down: ${color }${downspeed eth0}k/s
  69. ${downspeedgraph eth0 20,160 000000 ffffff}
  70. ${color}${font weather:size=22}${execi 600 ~/.conky/conditions.sh}${color slate grey}${font} Weather:
  71. ${color}      ${font}${execi 1800 ~/.conky/pogodynka.sh}
  72. ${voffset -14}${color}${font Martin Vogel's Symbols:size=22}B${font}${color slate grey}Mail:
  73. ${color}      You have ${color3}${texeci 1800 perl ~/.conky/check_gmail.sh} ${color}new mail(s)
  74. ${color}${font SimpMusic Base:size=22}~${color slate grey}${font}  Music:
  75. ${color slate grey}State:${alignr}${color}Now $mpd_status
  76. ${color slate grey}Title:${color}${font DejaVu Sans YuanTi:size=8}${alignr}$mpd_title
  77. ${color slate grey}${font}Artist:${color}${font DejaVu Sans YuanTi:size=8}${alignr}$mpd_artist
  78. ${color slate grey}${font}Volume:${color}$mpd_vol%${alignr}${color slate grey}Bitrate:${color}$mpd_bitrate kbps
  79. ${color}${mpd_bar 3,160}
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2008-11-29 00:50:38 | 显示全部楼层
Post by carbonjiao;1915852
在 ubuntu论坛上有,需要另外加装字体。。。

字体下载

自己按照自己的需要再改动就可以了
有人还搞了天气预报,从weather.com  yahoo.com 还有 从265.com获取天气数据
  1. background no
  2. override_utf8_locale yes
  3. font DejaVu Sans:size=8
  4. xftfont DejaVu Sans:size=8
  5. use_xft yes
  6. xftalpha 0.1
  7. update_interval 1.0
  8. total_run_times 0
  9. own_window yes
  10. own_window_type normal
  11. own_window_transparent yes
  12. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  13. double_buffer yes
  14. draw_shades no
  15. draw_outline no
  16. draw_borders no
  17. draw_graph_borders no
  18. minimum_size 165 5
  19. maximum_width 165
  20. #alignment top_left
  21. #alignment top_right
  22. #alignment bottom_left
  23. alignment bottom_right
  24. #alignment none
  25. gap_x 5
  26. gap_y 45
  27. no_buffers yes
  28. cpu_avg_samples 2
  29. override_utf8_locale yes
  30. uppercase no # set to yes if you want all text to be in uppercase
  31. use_spacer none
  32. out_to_console no
  33. default_color white
  34. default_shade_color black
  35. default_outline_color grey90
  36. TEXT
  37. ${color}${font Monaco:pixelsize=22}${time %H:%M}${font DejaVu Sans:size=8}${time %m.%d/%Y} ${font OpenLogos:size=18}A
  38. ${voffset -20}${color}${font StyleBats:size=12}O ${font}${color slate grey}UpTime:$alignr${color }$uptime
  39. ${color}${font StyleBats:size=12}Q ${font}${color slate grey}Kern:$alignr${color }$kernel
  40. ${color}${font StyleBats:size=12}A ${font}${color slate grey}CPU:$alignr${color } $cpu% ${acpitemp}C
  41. ${cpugraph 20,160 000000 ffffff}
  42. ${color slate grey}Processes:$alignr${color }$processes  ($running_processes running)
  43. ${color}${font Webdings:size=12}i${font}${color slate grey}Highest CPU:$alignr -PID-  CPU%
  44. ${color #ddaa00}${top name 1}$alignr${top pid 1}${top cpu 1}
  45. ${color lightgrey}${top name 2}$alignr${top pid 2}${top cpu 2}
  46. ${color lightgrey}${top name 3}$alignr${top pid 3}${top cpu 3}
  47. ${color}${font Webdings:size=12}i${font}${color slate grey}Highest MEM:$alignr -PID-  MEM%
  48. ${color #ddaa00}${top_mem name 1}$alignr${top_mem pid 1}${top_mem mem 1}
  49. ${color lightgrey}${top_mem name 2}$alignr${top_mem pid 2}${top_mem mem 2}
  50. ${color lightgrey}${top_mem name 3}$alignr${top_mem pid 3}${top_mem mem 3}
  51. ${color slate grey}MEM:${color} $memperc%$alignr$mem/$memmax
  52. ${membar 3,160}
  53. ${color slate grey}SWAP:${color} $swapperc%$alignr$swap/$swapmax
  54. ${swapbar 3,160}
  55. ${color slate grey}ROOT:$alignr${color}${fs_free /}/${fs_size /}
  56. ${fs_bar 3,160 /}
  57. ${color slate grey}HOME:$alignr${color}${fs_free /home}/${fs_size /home}
  58. ${fs_bar 3,160 /home}
  59. ${color slate grey}Disk Read:${alignr}${color}$diskio_read
  60. ${color}${diskiograph_read /dev/sda 10,160 000000 ffffff}
  61. ${color slate grey}Disk Write:${alignr}${color}$diskio_write
  62. ${color}${diskiograph_write /dev/sda 10,160 000000 ffffff}
  63. ${color slate grey}Internet:
  64. ${color}${font PizzaDude Bullets:size=12}M${font} Tot.up. ${totalup eth0} Kb/s
  65. ${voffset 1}${color}${font PizzaDude Bullets:size=12}v${font} Up: ${color }${upspeed eth0}k/s
  66. ${upspeedgraph eth0 20,160 000000 ffffff}
  67. ${voffset 6}${color}${font PizzaDude Bullets:size=12}S${font} Tot.dow. ${totaldown eth0} Kb/s
  68. ${voffset 1}${color}${font PizzaDude Bullets:size=12}r${font} Down: ${color }${downspeed eth0}k/s
  69. ${downspeedgraph eth0 20,160 000000 ffffff}
  70. ${color}${font weather:size=22}${execi 600 ~/.conky/conditions.sh}${color slate grey}${font} Weather:
  71. ${color}      ${font}${execi 1800 ~/.conky/pogodynka.sh}
  72. ${voffset -14}${color}${font Martin Vogel's Symbols:size=22}B${font}${color slate grey}Mail:
  73. ${color}      You have ${color3}${texeci 1800 perl ~/.conky/check_gmail.sh} ${color}new mail(s)
  74. ${color}${font SimpMusic Base:size=22}~${color slate grey}${font}  Music:
  75. ${color slate grey}State:${alignr}${color}Now $mpd_status
  76. ${color slate grey}Title:${color}${font DejaVu Sans YuanTi:size=8}${alignr}$mpd_title
  77. ${color slate grey}${font}Artist:${color}${font DejaVu Sans YuanTi:size=8}${alignr}$mpd_artist
  78. ${color slate grey}${font}Volume:${color}$mpd_vol%${alignr}${color slate grey}Bitrate:${color}$mpd_bitrate kbps
  79. ${color}${mpd_bar 3,160}
复制代码

265.com会准些么,他们的数据是人肉的还是直接去国家气象总局网站读的 yahoo那个害了我三四次了
回复 支持 反对

使用道具 举报

发表于 2008-11-29 09:31:52 | 显示全部楼层
所有的天气预报都只是预报的阿,不可能100%的!

楼主真是快手阿,这么快就把所有的bug搞定了,现在基本是一个很完美的工具了。

楼主基于什么协议发布阿? Custom?
如果放到俺将要”出品“的archlive cd中是否不尊重版权呢?


  1. pkgname=fontsconf
  2. pkgver=3
  3. pkgrel=1
  4. pkgdesc="Normal font configuration"
  5. url="http://www.archlinux.org/"
  6. arch=('i686' 'x86_64')
  7. license=('custom')
  8. depends=('fontconfig')
  9. optdepends=()
  10. makedepends=('tar')
  11. provides=()
  12. conflicts=()
  13. source=(43-common.conf 42-{mac\_{english,cjk},ms_{vista_{cjk,english},xp_cjk},msttcorefonts}.conf 52-local{mac,xp,vista}.conf)
  14. install=fontsconf.install
  15. backup=(/etc/local.conf)
  16. options=('!libtool')
  17. md5sums=('')
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-29 11:18:30 | 显示全部楼层
当然可以,这个东西本来就不注意版权的东西,当然这个没有版权,不过是根据以前的字体微调设置的更方便一点。呵呵。大家还喜欢什么字体的搭配,可以提出来,还是可以加入
回复 支持 反对

使用道具 举报

发表于 2008-11-29 15:13:34 | 显示全部楼层
你给出的字体我都没有,我把他们通通改了一遍~~~:)
回复 支持 反对

使用道具 举报

发表于 2008-11-30 11:35:35 | 显示全部楼层
你设置里的字体我都没安装,改成我已经安装的字体后,莫名其妙的系统成了点阵的天下,干脆删除了,用69-language-selector-zh-cn.conf调整

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-30 11:40:45 | 显示全部楼层
我还就是弄不出点阵。。。
回复 支持 反对

使用道具 举报

发表于 2008-11-30 11:46:40 | 显示全部楼层
可能是俺rp的问题了?

你能不能把你涉及到的字体列个表啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-30 11:54:29 | 显示全部楼层
ok,添加到1楼去
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表