SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-06-04 17:05:02

theporter2000
Member
Registered: 2012-05-30
Posts: 21

conky help[Fixed thanks]

I can't get conky to work

I've used various sample scripts and put in put the Path from the command line the file .conkyrc is in my /home/gordon folder what is it I'm not doing ?

    #!/bin/bash

    ##############################################
    #  Settings
    ##############################################
    background yes
    use_xft yes
   xftfont Sans:size=8
   xftalpha 1
   update_interval 1.0
   total_run_times 0
   own_window yes
   own_window_transparent yes
   own_window_type desktop
   own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
   double_buffer yes
   minimum_size 140 140
   maximum_width 140
   draw_shades no
   draw_outline no
   draw_borders no
   draw_graph_borders yes
   default_color d9d7d6
   default_shade_color 000000
   default_outline_color d9d7d6
   alignment top_right
   gap_x 10
   gap_y 5
   no_buffers yes
   uppercase no
   cpu_avg_samples 2
   override_utf8_locale no

    TEXT
    $sysname $kernel on $machine

    Uptime $alignr $uptime
    Load $alignr $loadavg

    Hostname $alignr $nodename
    wlan0 $alignr ${addr wlan0}

    Inbound $alignr ${downspeed wlan0} kb/s
    ${downspeedgraph wlan0}
    Outbound $alignr ${upspeed wlan0} kb/s
    ${upspeedgraph wlan0}

    $processes processes ($running_processes running)

    CPU $alignr ${cpu cpu0}%
    ${cpubar cpu0}

    MEM $alignc $mem / $memmax $alignr $memperc%
    $membar

    / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}

    /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}

    swap $alignc $swap / $swapmax $alignr $swapperc%
    ${swapbar}

    NAME $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}
    ${top name 5} $alignr ${top pid 5} ${top cpu 5}
    ${top name 6} $alignr ${top pid 6} ${top cpu 6}
    ${top name 7} $alignr ${top pid 7} ${top cpu 7}
    ${top name 8} $alignr ${top pid 8} ${top cpu 8}

Last edited by theporter2000 (2012-06-04 18:14:38)


theporter2000
TTFN Bye

Offline

Help fund CrunchBang, donate to the project!

#2 2012-06-04 17:12:41

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: conky help[Fixed thanks]

theporter2000 wrote:

I can't get conky to work

I've used various sample scripts and put in put the Path from the command line the file .conkyrc is in my /home/gordon folder what is it I'm not doing ?


Hello porter2000.
I believe the bash script command at the top is the issue.
Copy this code below and name it  .conkyrc
Then place this file in your /home directory.

 
    ##############################################
    #  Settings
    ##############################################
    background yes
    use_xft yes
   xftfont Sans:size=8
   xftalpha 1
   update_interval 1.0
   total_run_times 0
   own_window yes
   own_window_transparent yes
   own_window_type desktop
   own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
   double_buffer yes
   minimum_size 140 140
   maximum_width 140
   draw_shades no
   draw_outline no
   draw_borders no
   draw_graph_borders yes
   default_color d9d7d6
   default_shade_color 000000
   default_outline_color d9d7d6
   alignment top_right
   gap_x 10
   gap_y 5
   no_buffers yes
   uppercase no
   cpu_avg_samples 2
   override_utf8_locale no

    TEXT
    $sysname $kernel on $machine

    Uptime $alignr $uptime
    Load $alignr $loadavg

    Hostname $alignr $nodename
    wlan0 $alignr ${addr wlan0}

    Inbound $alignr ${downspeed wlan0} kb/s
    ${downspeedgraph wlan0}
    Outbound $alignr ${upspeed wlan0} kb/s
    ${upspeedgraph wlan0}

    $processes processes ($running_processes running)

    CPU $alignr ${cpu cpu0}%
    ${cpubar cpu0}

    MEM $alignc $mem / $memmax $alignr $memperc%
    $membar

    / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}

    /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
    ${fs_bar /home}

    swap $alignc $swap / $swapmax $alignr $swapperc%
    ${swapbar}

    NAME $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}
    ${top name 5} $alignr ${top pid 5} ${top cpu 5}
    ${top name 6} $alignr ${top pid 6} ${top cpu 6}
    ${top name 7} $alignr ${top pid 7} ${top cpu 7}
    ${top name 8} $alignr ${top pid 8} ${top cpu 8}

Open a terminal and type conky to get it running.

If you need help with auto-starting I will be happy to help. big_smile

Last edited by falldown (2012-06-04 17:30:52)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo