CrunchBang Linux Pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

CrunchBang Linux Pastebin

Posted by Tazy on Sat 12th Jan 11:33 (modification of post by view diff)
download | new post

  1. # .conkyrc based on the thingy by fabsh <fabsh@lamerk.org>
  2. # has been reworked a lot to do more by Onyx - Tazy which can be found on freenode as "Tazy"
  3. # Based on ideas and code from the CunchBang Linux forums at http://crunchbanglinux.org and Gentoo / Arch Linux / Funtoo IRC
  4. # v. 2.0
  5. # Use Xft?
  6. #TO GET THE NETWORK RUNNING!
  7. #Change eth2 to your adaptero. you can find this out via 'ifconfig -a'
  8. use_xft yes
  9. xftfont DejaVu Sans:size=8
  10. xftalpha 0.8
  11. text_buffer_size 2048
  12.  
  13. # Update interval in seconds
  14. update_interval 4
  15.  
  16. # This is the number of times Conky will update before quitting.
  17. # Set to zero to run forever.
  18. total_run_times 0
  19.  
  20. own_window yes
  21. own_window_transparent yes
  22. own_window_type override
  23. #own_window_type desktop
  24. #own_window_type normal #use this if you want a nice shadow to appear around conky
  25.  
  26. # If own_window is yes, these window manager hints may be used
  27. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  28.  
  29. # Use double buffering (reduces flicker, may not work for everyone)
  30. double_buffer yes
  31.  
  32. # Minimum size of text area
  33. minimum_size 180 0
  34. #maximum_width 200
  35.  
  36. # Draw shades?
  37. draw_shades yes
  38.  
  39. # Draw outlines?
  40. draw_outline no
  41.  
  42. # Draw borders around text
  43. draw_borders no
  44.  
  45. # Stippled borders?
  46. stippled_borders 0
  47.  
  48. # border margins
  49. #border_margin 5
  50.  
  51. # border width
  52. #border_width 1
  53.  
  54. # Default colors and also border colors
  55. default_color grey
  56. #default_shade_color black
  57. #default_outline_color grey
  58. own_window_colour grey
  59.  
  60. # Text alignment, other possible values are commented
  61. #alignment top_left
  62. #alignment top_left
  63. #alignment bottom_left
  64. #alignment bottom_right
  65. alignment middle_left
  66.  
  67. # Gap between borders of screen and text
  68. # same thing as passing -x at command line
  69. gap_x 12
  70. gap_y 8
  71.  
  72. # Subtract file system buffers from used memory?
  73. no_buffers yes
  74.  
  75. # set to yes if you want all text to be in uppercase
  76. uppercase no
  77.  
  78. # number of cpu samples to average
  79. # set to 1 to disable averaging
  80. cpu_avg_samples 2
  81.  
  82. # number of net samples to average
  83. # set to 1 to disable averaging
  84. net_avg_samples 2
  85.  
  86. # Force UTF8? note that UTF8 support required XFT
  87. override_utf8_locale yes
  88.  
  89. # Add spaces to keep things from moving about?  This only affects certain objects.
  90. use_spacer none
  91.  
  92. TEXT
  93. SYSTEM ${hr 2}
  94.  
  95. ${alignc 24}${font Arial Black:size=14}${nodename}${font}
  96. ${time %a, } ${color }${time %e %B %G}
  97. ${time %Z,    }${color }${time %H:%M:%S}
  98. Kernel:  ${alignr}${kernel}
  99. CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,80} ${freq (1)} #YOU HAVE TO comment out other cores. or it wont work. just as many you got.
  100. CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,80} ${freq (2)}
  101. CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,80} ${freq (3)}
  102. CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 8,80} ${freq (4)}
  103. CPU5: ${cpu cpu5}% ${alignr}${cpubar cpu5 8,80} ${freq (5)}
  104. CPU6: ${cpu cpu6}% ${alignr}${cpubar cpu6 8,80} ${freq (6)}
  105. CPU7: ${cpu cpu7}% ${alignr}${cpubar cpu7 8,80} ${freq (7)}
  106. CPU8: ${cpu cpu8}% ${alignr}${cpubar cpu8 8,80} ${freq (8)}
  107. ${acpitemp}C
  108. RAM: $memperc% ${alignr}${membar 8,60}
  109. SWAP: $swapperc% ${alignr}${swapbar 8,60}
  110. HD IO:${diskio}
  111. ${diskiograph 000000 0077ff}
  112.  
  113. #Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}   #should work for default systems.
  114. #THE NEXT LINE IS FOR EFIKA MX SYSTEMS ONLY!
  115. #${color #8193a6}Charge: $color${execi 10 echo "scale=2; `cat /sys/class/power_supply/battery/charge_now` / `cat /sys/class/power_supply/battery/charge_full`" | bc | sed "s/^[\.]*//" | sed "s/^[0]*//"}%     ${color #8193a6}Status: $color${execi 10 cat /sys/class/power_supply/battery/status}
  116. Uptime: ${alignr}${uptime}
  117.  
  118. Highest CPU:
  119. ${top name 1}${top_mem cpu 1}
  120. ${top name 2}${top cpu 2}
  121. ${top name 3}${top cpu 3}
  122. ${top name 4}${top cpu 4}
  123.  
  124.  
  125. Highest MEM:
  126. ${top_mem name 1}${top_mem mem 1}
  127. ${top_mem name 2}${top_mem mem 2}
  128. ${top_mem name 3}${top_mem mem 3}
  129. ${top_mem name 4}${top_mem mem 4}
  130.  
  131. #DATE ${hr 2}
  132. #${voffset 2}${alignc}${utime}
  133. Network ${hr 2}
  134. ${alignc}  eth2 ${addr eth2}
  135. Inbound $alignr ${downspeed eth2} kb/s
  136. ${downspeedgraph eth2}
  137. Outbound $alignr ${upspeed eth2} kb/s
  138. ${upspeedgraph eth2}
  139. Upload: ${alignr}${totalup eth2}
  140. Download: ${alignr}${totaldown eth2}
  141.  
  142. Port(s)${alignr}#Connections #I love how i did the port info :D
  143. Inbound: ${color lightgrey}${tcp_portmon 1 32767 count}  Outbound: ${color lightgrey}${tcp_portmon 32768 61000 count}Total: ${color lightgrey}${tcp_portmon 1 65535 count}
  144. #Next is OPENVPN and PPTP info as killing Said Binary if it is down. uncomment or remove the openvpn line depending on what you want to display. and change qbittorrent to whatever thing you want to kill.
  145. #${if_up tun0}${else}${exec killall qbittorrent}$endif
  146. OpenVPN ${if_up tun0}Up${else}Down$endif | PPTP ${if_up ppp0}Up${else}Down$endif
  147. #This here shows your DNS. if you ARE using nm-applet/networkmanager then uncomment it cause it shows if VPN is really up and displays service provider. at least it should
  148. #${color }${execi 10 cat /etc/resolv.conf | grep domain}

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me