How to install Conky in Arch Linux

Conky is a little system monitor application that you can tell to display all sorts of information, e.g CPU/RAM/HD SPACE/NETWORK SPEED and not just normal info, you can get the WEATHER/CALENDARS/MESSAGE LOGS/NOW PLAYING INFO and on top of that it runs fully transparent in your background and can be extensively customised to suit your needs (as long as you know how).

To install conky in Arch linux just run :

$ sudo pacman -S conky

To start conky just enter :

$ conky

To edit conky you need to open the conkyrc and change the parameters :

$ sudo nano ~/.conkyrc

Alot of conkyrc files can be found around the net, check google and deviantart in particular. Here is an example of one of mine (which i found from google) :

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! 🙂
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=12
xftalpha 1
update_interval 1.0
# .conkyrc – Edited from various examples across the ‘net
# Used by Craig Watson [ http://www.cwatson.org ] on Fedora 8

# — Window Layout & Options — #
own_window yes
own_window_colour brown
own_window_transparent yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right
use_xft yes
alignment top_right
gap_x 30
gap_y 150

# — Colours, Sizes, Fonts & Margins — #
update_interval 2.0
maximum_width 250
stippled_borders 3
border_margin 9
border_width 10
default_color grey

# — Text — #
draw_outline no
draw_borders no
font Monospace:size=8:weight=bold
uppercase no
draw_shades yes

TEXT
${color orange}SYSTEM INFORMATION ${hr 2}$color

${color white}${time %A},${time %e} ${time %B} ${time %G}${alignr}${time %H:%M:%S}
${color white}Machine$color $nodename ${alignr}${color white}Uptime$color $uptime
${color white}Kernel$color $kernel ${alignr}${color white}Arch$color $machine

${color orange}CPU ${hr 2}$color
${font Arial:bold:size=8}${color #ff9999}${execi 99999 cat /proc/cpuinfo | grep “model name” -m1 | cut -d”:” -f2 | cut -d” ” -f2- | sed ‘s#Processor ##’}$font$color
${color white}Freq:$color ${execi 20 sensors |grep “Core0 Temp” | cut -d” ” -f4}$font$color$alignr${freq_g 2}GHz ${color #c0ff3e}${execi 20 sensors |grep “Core1 Temp” | cut -d” ” -f4} $color${alignr}${color white}Processes:$color $running_processes/ $processes
${cpugraph cpu1 25,120 000000 ff6600 } ${cpugraph cpu2 25,120 000000 cc0033}
${color #ff6600}${cpubar cpu1 3,120} ${color #cc0033}${cpubar cpu2 3,120}$color

${color orange}TOP 5 PROCESSES ${hr 2}$color

${color #ff9999}NAME PID CPU MEM
${color #ffff99}1. ${top name 1}${top pid 1} ${top cpu 1} ${top mem 1}$color
2. ${top name 2}${top pid 2} ${top cpu 2} ${top mem 2}
3. ${top name 3}${top pid 3} ${top cpu 3} ${top mem 3}
4. ${top name 4}${top pid 4} ${top cpu 4} ${top mem 4}
5. ${top name 5}${top pid 5} ${top cpu 5} ${top mem 5}

${color orange}MEMORY & SWAP ${hr 2}$color

${color white}RAM$color $memperc% ${membar 6}$color
${color white}Swap$color $swapperc% ${swapbar 6}$color

${color orange}DRIVES – FREE SPACE ${hr 2}$color

${color white}Mibuntu$color ${fs_free_perc /}%$alignr${fs_free /}/ ${fs_size /}
${fs_bar 3 /}$color

${color orange}ETHERNET (${addr eth0}) ${hr 2}$color

${color white}Down:$color ${downspeed eth0} KB/s${alignr}${color white}Up:$color ${upspeed eth0} KB/s
${downspeedgraph eth0 25,120 000000 00ff00} ${alignr}${upspeedgraph eth0 25,120 000000 ff0000}$color

S H O R T C U T K E Y S

${hr}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+Space$alignr Main Menu
Super+Tab$alignr Client Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr Screenshot

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s