Deepin安装conky在桌面上显示系统运行状况,设置开机自动启动conky
Tofloor
poster avatar
Iczelion
deepin
2015-03-29 01:16
Author
1.安装conky  
   sudo apt-get install conky 或者打开新立得(synaptic)搜索conky安装  
   安装完成后可以测试下效果,终端下输入/usr/bin/conky,可以看到桌面已经出现conky了,不   过效果不怎么好,所以就需要调整conky默认设置了。

2.复制以下代码到家目录下~/,文件名存为.conkyrc ,重新在终端下输入/usr/bin/conky测试,效果就变好了,以下conky文件属于简洁版。
  1. # set to yes if you want Conky to be forked in the background
  2. background no
  3. cpu_avg_samples 2
  4. net_avg_samples 2
  5. out_to_console no
  6. # X font when Xft is disabled, you can pick one with program xfontsel
  7. #font 7x12
  8. #font 6x10
  9. #font 7x13
  10. #font 8x13
  11. #font 7x12
  12. #font *mintsmild.se*
  13. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  14. #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
  15. # Use Xft?
  16. use_xft yes
  17. # Xft font when Xft is enabled
  18. xftfont Sans:size=8  
  19. own_window_argb_visual yes
  20. #own_window_colour hotpink
  21. # Text alpha when using Xft
  22. xftalpha 0.8
  23. # on_bottom yes
  24. # mail spool
  25. mail_spool $MAIL
  26. # Update interval in seconds
  27. update_interval 1
  28. # Create own window instead of using desktop (required in nautilus)
  29. own_window yes
  30. own_window_transparent yes
  31. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  32. #own_window_type override
  33. own_window_type normal
  34. # Use double buffering (reduces flicker, may not work for everyone)
  35. double_buffer yes
  36. # Minimum size of text area
  37. minimum_size 260 5
  38. maximum_width 400
  39. # Draw shades?
  40. draw_shades no
  41. # Draw outlines?
  42. draw_outline no
  43. # Draw borders around text
  44. draw_borders no
  45. # Stippled borders?
  46. stippled_borders no
  47. # border margins
  48. border_margin 4
  49. # border width
  50. border_width 1
  51. # Default colors and also border colors
  52. default_color white
  53. default_shade_color white
  54. default_outline_color white
  55. # Text alignment, other possible values are commented
  56. #alignment top_left
  57. #minimum_size 10 10
  58. gap_x 15
  59. gap_y 20
  60. alignment top_right
  61. #alignment bottom_left
  62. #alignment bottom_right
  63. # Gap between borders of screen and text
  64. # Add spaces to keep things from moving about?  This only affects
  65. # certain objects.
  66. use_spacer none
  67. # Subtract file system buffers from used memory?
  68. no_buffers yes
  69. # set to yes if you want all text to be in uppercase
  70. uppercase no
  71. # none, xmms, bmp, audacious, infopipe (default is none)
  72. # xmms_player bmp
  73. TEXT
  74. ${color white}SYSTEM ${hr 1}${color}
  75. Time:$alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   Week:${time %w}
  76. Hostname: $alignr$nodename
  77. Kernel: $alignr$kernel
  78. Machine:$alignr$machine
  79. Uptime: $alignr$uptime
  80. Temp: ${alignr}${acpitemp} °C
  81. Battery:$alignr${battery BAT0}
  82. #Battery:$alignr${battery_percent BAT0}%  
  83. CPU: ${alignr}${freq dyn} MHz
  84. Processes: ${alignr}$processes ($running_processes running)
  85. Load: ${alignr}$loadavg
  86. CPU1 ${alignr}${cpu cpu1}%
  87. ${cpubar 4 cpu1}
  88. CPU2 ${alignr}${cpu cpu2}%
  89. ${cpubar 4 cpu2}
  90. Ram ${alignr}$mem / $memmax ($memperc%)
  91. ${membar 4}
  92. swap ${alignr}$swap / $swapmax ($swapperc%)
  93. ${swapbar 4}
  94. Highest CPU $alignr CPU% MEM%
  95. ${top name 1}$alignr${top cpu 1} ${top mem 1}
  96. ${top name 2}$alignr${top cpu 2} ${top mem 2}
  97. ${top name 3}$alignr${top cpu 3} ${top mem 3}
  98. Highest MEM $alignr CPU% MEM%
  99. ${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1}
  100. ${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2}
  101. ${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3}
  102. ${color white}FILE SYSTEM ${hr 1}${color}
  103. Root: ${alignr}${fs_free /} / ${fs_size /}
  104. ${fs_bar 4 /}
  105. Home: ${alignr}${fs_free /home} / ${fs_size /home}
  106. ${fs_bar 4 /home}
  107. ${color white}NETWORK ${hr 1}${color}
  108. Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
  109. ${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
  110. Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}
  111. #${color white}NEWS $color
  112. #${rss http://www.linuxeden.com/plus/rss.php?tid=1 5 item_titles 2}
Copy the Code
3.Deepin 2014.2 上设置开机启动  
  在家目录下即~/.config/autostart/文件夹下新建conky.desktop文件,输入以下内容
  1. [Desktop Entry]
  2. Type=Application
  3. Version=1.0
  4. Name=Conky  
  5. Comment= Desktop monitor Manager  
  6. Icon= Conky  
  7. Exec=/usr/bin/conky  
  8. Categories=Application;Graphics;
  9. StartupNotify=true
  10. Hidden=false
  11. NoDisplay=false
Copy the Code

3.修改conky.desktop 文件权限  
  sudo chmod 777 conky.desktop

4.重启电脑sudo reboot
以下是安装好conky之后的效果:
Reply Favorite View the author
All Replies
oaker
deepin
2015-03-30 18:12
#1
密密麻麻的英文
Reply View the author
Iczelion
deepin
2015-03-30 20:44
#2
看个人喜好啦,如果偏爱中文的话,也可以在.conkyrc中修改相应配置,然后重启conky就可以在桌面看到中文的
Reply View the author
晨旭~
deepin
2015-03-31 01:42
#3
本帖最后由 chenxuuu 于 2016-4-9 17:12 编辑

我壁纸不一样~用你的配置会看不清
所以我改了改配置,加了边框和阴影
  1. # set to yes if you want Conky to be forked in the background

  2. background yes
  3. cpu_avg_samples 2
  4. net_avg_samples 2
  5. out_to_console no

  6. # X font when Xft is disabled, you can pick one with program xfontsel

  7. #font 7x12
  8. #font 6x10
  9. #font 7x13
  10. #font 8x13
  11. #font 7x12
  12. #font *mintsmild.se*
  13. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  14. #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

  15. # Use Xft?
  16. use_xft yes

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

  19. own_window_argb_visual yes
  20. #own_window_colour hotpink

  21. # Text alpha when using Xft
  22. xftalpha 0.8

  23. # on_bottom yes
  24. # mail spool
  25. mail_spool $MAIL

  26. # Update interval in seconds
  27. update_interval 1

  28. # Create own window instead of using desktop (required in nautilus)
  29. own_window yes
  30. own_window_transparent yes
  31. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  32. #own_window_type override
  33. own_window_type normal

  34. # Use double buffering (reduces flicker, may not work for everyone)

  35. double_buffer yes

  36. # Minimum size of text area
  37. minimum_size 260 5

  38. maximum_width 400

  39. # Draw shades?

  40. draw_shades no

  41. # Draw outlines?

  42. draw_outline yes

  43. # Draw borders around text

  44. draw_borders no

  45. # Stippled borders?

  46. stippled_borders yes

  47. # border margins

  48. border_margin 4

  49. # border width

  50. border_width 1

  51. # Default colors and also border colors

  52. default_color white

  53. default_shade_color black

  54. default_outline_color black

  55. # Text alignment, other possible values are commented

  56. #alignment top_left

  57. #minimum_size 10 10

  58. gap_x 15

  59. gap_y 20

  60. alignment top_right

  61. #alignment bottom_left

  62. #alignment bottom_right

  63. # Gap between borders of screen and text

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

  66. use_spacer none

  67. # Subtract file system buffers from used memory?

  68. no_buffers yes

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

  70. uppercase no

  71. # none, xmms, bmp, audacious, infopipe (default is none)

  72. # xmms_player bmp

  73. TEXT

  74. ${color white}SYSTEM ${hr 1}${color}

  75. Time:$alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   Week:${time %w}
  76. Hostname: $alignr$nodename
  77. Kernel: $alignr$kernel
  78. Machine:$alignr$machine
  79. Uptime: $alignr$uptime
  80. Temp: ${alignr}${acpitemp} °C
  81. Battery:$alignr${battery BAT0}
  82. #Battery:$alignr${battery_percent BAT0}%  
  83. CPU: ${alignr}${freq dyn} MHz
  84. Processes: ${alignr}$processes ($running_processes running)
  85. Load: ${alignr}$loadavg

  86. CPU1 ${alignr}${cpu cpu1}%
  87. ${cpubar 4 cpu1}
  88. CPU2 ${alignr}${cpu cpu2}%
  89. ${cpubar 4 cpu2}

  90. Ram ${alignr}$mem / $memmax ($memperc%)
  91. ${membar 4}

  92. swap ${alignr}$swap / $swapmax ($swapperc%)
  93. ${swapbar 4}

  94. Highest CPU $alignr CPU% MEM%
  95. ${top name 1}$alignr${top cpu 1} ${top mem 1}
  96. ${top name 2}$alignr${top cpu 2} ${top mem 2}
  97. ${top name 3}$alignr${top cpu 3} ${top mem 3}

  98. Highest MEM $alignr CPU% MEM%
  99. ${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1}
  100. ${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2}
  101. ${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3}

  102. ${color white}FILE SYSTEM ${hr 1}${color}
  103. Root: ${alignr}${fs_free /} / ${fs_size /}
  104. ${fs_bar 4 /}
  105. Home: ${alignr}${fs_free /home} / ${fs_size /home}
  106. ${fs_bar 4 /home}

  107. ${color white}NETWORK ${hr 1}${color}
  108. Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
  109. ${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
  110. Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}

  111. #${color white}NEWS $color
  112. #${rss http://www.linuxeden.com/plus/rss.php?tid=1 5 item_titles 2}
Copy the Code


\(^o^)/~

Reply View the author
Iczelion
deepin
2015-03-31 07:25
#4
我壁纸不一样~用你的配置会看不清
所以我改了改配置,加了边框和阴影
  1. # set to yes if you want Conky to be forked in the background
  2. background yes
  3. cpu_avg_samples 2
  4. net_avg_samples 2
  5. out_to_console no
  6. # X font when Xft is disabled, you can pick one with program xfontsel
  7. #font 7x12
  8. #font 6x10
  9. #font 7x13
  10. #font 8x13
  11. #font 7x12
  12. #font *mintsmild.se*
  13. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  14. #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
  15. # Use Xft?
  16. use_xft yes
  17. # Xft font when Xft is enabled
  18. xftfont Sans:size=8 
  19. own_window_argb_visual yes
  20. #own_window_colour hotpink
  21. # Text alpha when using Xft
  22. xftalpha 0.8
  23. # on_bottom yes
  24. # mail spool
  25. mail_spool $MAIL
  26. # Update interval in seconds
  27. update_interval 1
  28. # Create own window instead of using desktop (required in nautilus)
  29. own_window yes
  30. own_window_transparent yes
  31. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  32. #own_window_type override
  33. own_window_type normal
  34. # Use double buffering (reduces flicker, may not work for everyone)
  35. double_buffer yes
  36. # Minimum size of text area
  37. minimum_size 260 5
  38. maximum_width 400
  39. # Draw shades?
  40. draw_shades no
  41. # Draw outlines?
  42. draw_outline yes
  43. # Draw borders around text
  44. draw_borders no
  45. # Stippled borders?
  46. stippled_borders yes
  47. # border margins
  48. border_margin 4
  49. # border width
  50. border_width 1
  51. # Default colors and also border colors
  52. default_color white
  53. default_shade_color black
  54. default_outline_color black
  55. # Text alignment, other possible values are commented
  56. #alignment top_left
  57. #minimum_size 10 10
  58. gap_x 15
  59. gap_y 20
  60. alignment top_right
  61. #alignment bottom_left
  62. #alignment bottom_right
  63. # Gap between borders of screen and text
  64. # Add spaces to keep things from moving about?  This only affects
  65. # certain objects.
  66. use_spacer none
  67. # Subtract file system buffers from used memory?
  68. no_buffers yes
  69. # set to yes if you want all text to be in uppercase
  70. uppercase no
  71. # none, xmms, bmp, audacious, infopipe (default is none)
  72. # xmms_player bmp
  73. TEXT
  74. ${color white}SYSTEM ${hr 1}${color}
  75. Time:$alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   Week:${time %w}
  76. Hostname: $alignr$nodename
  77. Kernel: $alignr$kernel
  78. Machine:$alignr$machine
  79. Uptime: $alignr$uptime
  80. Temp: ${alignr}${acpitemp} °C
  81. Battery:$alignr${battery BAT0}
  82. #Battery:$alignr${battery_percent BAT0}% 
  83. CPU: ${alignr}${freq dyn} MHz
  84. Processes: ${alignr}$processes ($running_processes running)
  85. Load: ${alignr}$loadavg
  86. CPU1 ${alignr}${cpu cpu1}%
  87. ${cpubar 4 cpu1}
  88. CPU2 ${alignr}${cpu cpu2}%
  89. ${cpubar 4 cpu2}
  90. Ram ${alignr}$mem / $memmax ($memperc%)
  91. ${membar 4}
  92. swap ${alignr}$swap / $swapmax ($swapperc%)
  93. ${swapbar 4}
  94. Highest CPU $alignr CPU% MEM%
  95. ${top name 1}$alignr${top cpu 1} ${top mem 1}
  96. ${top name 2}$alignr${top cpu 2} ${top mem 2}
  97. ${top name 3}$alignr${top cpu 3} ${top mem 3}
  98. Highest MEM $alignr CPU% MEM%
  99. ${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1}
  100. ${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2}
  101. ${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3}
  102. ${color white}FILE SYSTEM ${hr 1}${color}
  103. Root: ${alignr}${fs_free /} / ${fs_size /}
  104. ${fs_bar 4 /}
  105. Home: ${alignr}${fs_free /home} / ${fs_size /home}
  106. ${fs_bar 4 /home}
  107. ${color white}NETWORK ${hr 1}${color}
  108. Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
  109. ${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
  110. Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}
  111. #${color white}NEWS $color
  112. #${rss http://www.linuxeden.com/plus/rss.php?tid=1 5 item_titles 2}
Copy the Code

\(^o^)/~


挺好的,conky有个不错的特性就是可定制性,适合自己就好
Reply View the author
晨旭~
deepin
2015-03-31 07:34
#5
[quote]我壁纸不一样~用你的配置会看不清
所以我改了改配置,加了边框和阴影
  1. # set to yes if you want Conky to be forked in the background
  2. background yes
  3. cpu_avg_samples 2
  4. net_avg_samples 2
  5. out_to_console no
  6. # X font when Xft is disabled, you can pick one with program xfontsel
  7. #font 7x12
  8. #font 6x10
  9. #font 7x13
  10. #font 8x13
  11. #font 7x12
  12. #font *mintsmild.se*
  13. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  14. #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
  15. # Use Xft?
  16. use_xft yes
  17. # Xft font when Xft is enabled
  18. xftfont Sans:size=8 
  19. own_window_argb_visual yes
  20. #own_window_colour hotpink
  21. # Text alpha when using Xft
  22. xftalpha 0.8
  23. # on_bottom yes
  24. # mail spool
  25. mail_spool $MAIL
  26. # Update interval in seconds
  27. update_interval 1
  28. # Create own window instead of using desktop (required in nautilus)
  29. own_window yes
  30. own_window_transparent yes
  31. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  32. #own_window_type override
  33. own_window_type normal
  34. # Use double buffering (reduces flicker, may not work for everyone)
  35. double_buffer yes
  36. # Minimum size of text area
  37. minimum_size 260 5
  38. maximum_width 400
  39. # Draw shades?
  40. draw_shades no
  41. # Draw outlines?
  42. draw_outline yes
  43. # Draw borders around text
  44. draw_borders no
  45. # Stippled borders?
  46. stippled_borders yes
  47. # border margins
  48. border_margin 4
  49. # border width
  50. border_width 1
  51. # Default colors and also border colors
  52. default_color white
  53. default_shade_color black
  54. default_outline_color black
  55. # Text alignment, other possible values are commented
  56. #alignment top_left
  57. #minimum_size 10 10
  58. gap_x 15
  59. gap_y 20
  60. alignment top_right
  61. #alignment bottom_left
  62. #alignment bottom_right
  63. # Gap between borders of screen and text
  64. # Add spaces to keep things from moving about?  This only affects
  65. # certain objects.
  66. use_spacer none
  67. # Subtract file system buffers from used memory?
  68. no_buffers yes
  69. # set to yes if you want all text to be in uppercase
  70. uppercase no
  71. # none, xmms, bmp, audacious, infopipe (default is none)
  72. # xmms_player bmp
  73. TEXT
  74. ${color white}SYSTEM ${hr 1}${color}
  75. Time:$alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   Week:${time %w}
  76. Hostname: $alignr$nodename
  77. Kernel: $alignr$kernel
  78. Machine:$alignr$machine
  79. Uptime: $alignr$uptime
  80. Temp: ${alignr}${acpitemp} °C
  81. Battery:$alignr${battery BAT0}
  82. #Battery:$alignr${battery_percent BAT0}% 
  83. CPU: ${alignr}${freq dyn} MHz
  84. Processes: ${alignr}$processes ($running_processes running)
  85. Load: ${alignr}$loadavg
  86. CPU1 ${alignr}${cpu cpu1}%
  87. ${cpubar 4 cpu1}
  88. CPU2 ${alignr}${cpu cpu2}%
  89. ${cpubar 4 cpu2}
  90. Ram ${alignr}$mem / $memmax ($memperc%)
  91. ${membar 4}
  92. swap ${alignr}$swap / $swapmax ($swapperc%)
  93. ${swapbar 4}
  94. Highest CPU $alignr CPU% MEM%
  95. ${top name 1}$alignr${top cpu 1} ${top mem 1}
  96. ${top name 2}$alignr${top cpu 2} ${top mem 2}
  97. ${top name 3}$alignr${top cpu 3} ${top mem 3}
  98. Highest MEM $alignr CPU% MEM%
  99. ${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1}
  100. ${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2}
  101. ${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3}
  102. ${color white}FILE SYSTEM ${hr 1}${color}
  103. Root: ${alignr}${fs_free /} / ${fs_size /}
  104. ${fs_bar 4 /}
  105. Home: ${alignr}${fs_free /home} / ${fs_size /home}
  106. ${fs_bar 4 /home}
  107. ${color white}NETWORK ${hr 1}${color}
  108. Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
  109. ${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
  110. Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}
  111. #${color white}NEWS $color
  112. #${rss http://www.linuxeden.com/plus/rss.php?tid=1 5 item_titles 2}
Copy the Code

\(^o^)/~


挺好的,conky有个不错的特性就是可定制性,适合自己就好[/quote]
就是开机没启动←_←
Reply View the author
LouieVV
deepin
2015-10-16 23:34
#6

我的是这样的

但是有一个问题

可能还是因为尝试桌面的问题

ctrl+D 会把conky的界面隐藏了
再用ctrl+D才能调出来

改了很多次窗口参数都不行

怎么破?
Reply View the author
SnDream
deepin
2015-10-17 06:13
#7
据说conky某些插件可能导致内存泄漏?
Reply View the author
立青
deepin
2016-08-28 19:54
#8
感谢楼主分享,但我用后,为什么网速不显示,Totoa都是0
Reply View the author
liyujiang
deepin
2016-08-29 14:13
#9
本帖最后由 liyujiang 于 2016-8-29 06:24 编辑

汉化,加大字号,解决按Super_D或者ctrl_alt_D消失问题
[attach]24259[/attach]
# set to yes if you want Conky to be forked in the background
background yes
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  
xftfont Sans:size=14  
own_window_argb_visual yes
#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,sticky,skip_taskbar,skip_pager
#own_window_type override
#own_window_type normal
own_window_type desktop
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 260 5
maximum_width 400
# 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 15
gap_y 20
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
TEXT
${color white}系统信息 ${hr 1}${color}
#日期时间alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   星期{time %w}
主机名称: $alignr$nodename
系统内核: $alignr$kernel
机器架构alignr$machine
开机时长: $alignr$uptime
主板温度: ${alignr}${acpitemp} °C
电池状态alignr${battery BAT0}
电池电量alignr${battery_percent BAT0}%  
CPU频率: ${alignr}${freq dyn} MHz
进程总数: ${alignr}$processes ($running_processes 个运行中)
#Load: ${alignr}$loadavg
CPU1 ${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
CPU2 ${alignr}${cpu cpu2}%
${cpubar 4 cpu2}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}
CPU消耗排行榜 $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1} ${top mem 1}
${top name 2}$alignr${top cpu 2} ${top mem 2}
${top name 3}$alignr${top cpu 3} ${top mem 3}
MEM消耗排行榜 $alignr CPU% MEM%
${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 white}文件系统 ${hr 1}${color}
根文件夹存储: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
主文件夹存储: ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
#${color white}网络信息 ${hr 1}${color}
#下载速率 ${downspeed wlan0} k/s ${alignr}上传速率 ${upspeed wlan0} k/s
#${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
#总共 ${totaldown wlan0} ${alignr}总共 ${totalup wlan0}
#${color white}今日头条 $color
${rss http://www.linuxeden.com/plus/rss.php?tid=1 5 item_titles 2}

Reply View the author
liyujiang
deepin
2016-08-29 14:26
#10
https://bbs.deepin.org/post/28762
我的是这样的

但是有一个问题

background yes
own_window_type desktop
Reply View the author
He8617439
deepin
2016-08-29 15:55
#11
好东西。
Reply View the author
立青
deepin
2016-08-30 00:08
#12
老大,你说的自启动方法无效呀。输入Conky -d可以打开,一切正常。如图:

但用来自启的内容就不行了,我的操作都是严格按这帖子来的,如图
1.建立文件

2.权限

3.重启,没有自动打开。。。。。。
Reply View the author
15******[email protected]
deepin
2016-08-31 19:53
#13
https://bbs.deepin.org/post/28762
老大,你说的自启动方法无效呀。输入Conky -d可以打开,一切正常。如图:

但用来自启的内容就不行了,我的 ...

我也不起作用
Reply View the author
132******04
deepin
2016-09-01 02:11
#14
有没有高手可以把那那个文件中文注释下,小白看不懂呀
Reply View the author
aurthur
deepin
2016-09-30 20:31
#15
请教下,获取温度的参数 ${acpitemp}  不会刷新啊。一直显示一个数值。
Reply View the author
yuansu
deepin
2018-01-22 16:47
#16
赞!!!!
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG