Sunday, August 12, 2012

Conky on Peppermint 3

One of my favourite programs has to be Conky.

To install Conky, open a Terminal window and type:
sudo apt-get install conky

If you don't want to autorun Conky at startup, you can run it by clicking the Menu button, click Run, type Conky and press <ENTER>

To edit what Conky displays:

  • open the File Manager
  • go to /etc/conky
  • right click on conky.conf and click on Text Editor

(I will post my config file in the comments if you wish to use or modify it.)

Now, if you want Conky to autorun at startup:

Right click on the Desktop
Select New Blank File
Name it conky.desktop
Enter the following into the file and save it:


[Desktop Entry]
Encoding=UTF-8
Name=Conky
Comment=System monitor
Exec=conky
Terminal=false
Type=Application
Categories=
NotShowIn=gnome

Peppermint 3 will run all the shortcuts located in: /etc/xdg/autostart
go there using the File Manager
Click on Tools, Open current folder as Root
Type in the root password, press <ENTER>
now, cut and paste the conky.desktop file from your desktop to the folder you opened as root

Conky should run at startup now. You can delete programs you don't want to run at startup from this folder, or make other programs run at startup using this method.

1 comment:

  1. My conky.conf file:
    (please note that the wifi monitor does not work yet)


    background yes
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    update_interval 2.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_color black
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 270 5
    maximum_width 220
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color black
    default_shade_color white
    default_outline_color black
    alignment top_right
    gap_x 5
    gap_y 5
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    format_human_readable yes

    TEXT

    ${color red}SYSTEM ${hr 2} ${color}
    PC Name: ${alignr} ${nodename}
    User Name: ${alignr} ${user_names}
    CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
    ${cpugraph red}
    CPU Frequency: ${alignr} $freq MHZ
    CPU Temp: ${alignr} $acpitemp degrees
    RAM: $memperc% ${alignr}${membar 8,60}
    SWAP: $swapperc% ${alignr}${swapbar 8,60}
    Uptime: ${alignr}${uptime}
    Battery: ${alignr}$battery_short

    ${color red}PROCESSES ${hr 2} $color
    Running Processes: $alignr $running_processes
    Running Threads: $alignr $running_threads
    $alignr PID CPU
    ${top name 1} $alignr ${top pid 1} ${top cpu 1}
    ${top name 2} $alignr ${top pid 2} ${top cpu 2}
    ${top name 3} $alignr ${top pid 3} ${top cpu 3}
    ${top name 4} $alignr ${top pid 4} ${top cpu 4}

    ${color red}HDD ${hr 2} $color
    Root: ${alignr}${fs_bar 8,60}
    Partition Size: ${alignr}$fs_size
    Free Space: ${alignr}$fs_free

    ${color red}NETWORK ${hr 2}$color}
    Signal: ${wireless_link_qual_perc wlan0}
    Down: ${downspeed wlan0} Kb/s ${alignr}Up: ${upspeed wlan0} Kb/s
    Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}

    ReplyDelete