Skip to main content

Thread: Help needed in conky!!!!!!


code:
# set yes if want conky forked in background background no  cpu_avg_samples 2 net_avg_samples 2  out_to_console no  # x font when xft disabled, can pick 1 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 enabled xftfont bitstream vera sans mono:size=8  own_window_transparent no #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,skip_taskbar own_window_type override  # use double buffering (reduces flicker, may not work everyone) double_buffer yes  # minimum size of text area minimum_size 260 5 maximum_width 260  # 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 , border colors default_color black default_shade_color black default_outline_color black  # text alignment, other possible values commented #alignment top_left #minimum_size 10 10 gap_x 15 gap_y 70 alignment top_right #alignment bottom_left #alignment bottom_right  # gap between borders of screen , text  # add spaces keep things moving about?  affects objects. use_spacer no  # subtract file system buffers used memory? no_buffers yes  # set yes if want text in uppercase uppercase no  # none, xmms, bmp, audacious, infopipe (default none) xmms_player bmp  # boinc (seti) dir # seti_dir /opt/seti  # possible variables used: # #      variable         arguments                  description                 #  acpiacadapter                     acpi ac adapter state.                    #  acpifan                           acpi fan state                            #  acpitemp                          acpi temperature.                         #  adt746xcpu                        cpu temperature therm_adt746x        #  adt746xfan                        fan speed therm_adt746x              #  battery           (num)           remaining capasity in acpi or apm         #                                    battery. acpi battery number can       #                                    given argument (default bat0).      #  buffers                           amount of memory buffered                 #  cached                            amount of memory cached                   #  color             (color)         change drawing color color             #  cpu                               cpu usage in percents                     #  cpubar            (height)        bar shows cpu usage, height       #                                    bar's height in pixels                    #  downspeed         net             download speed in kilobytes               #  downspeedf        net             download speed in kilobytes 1      #                                    decimal                                   #  exec              shell command   executes shell command , displays     #                                    output in torsmo. warning:       #                                    takes lot more resources other     #                                    variables. i'd recommend coding wanted    #                                    behaviour in c , posting patch :-).   #  execi             interval, shell same exec specific interval.  #                    command         interval can't less               #                                    update_interval in configuration.         #  fs_bar            (height), (fs)  bar shows how space used on  #                                    file system. height height in    #                                    pixels. fs file on file       #                                    system.                                   #  fs_free           (fs)            free space on file system available     #                                    users.                                #  fs_free_perc      (fs)            free percentage of space on file        #                                    system available users.               #  fs_size           (fs)            file system size                          #  fs_used           (fs)            file system used space                    #  hr                (height)        horizontal line, height height in  #                                    pixels                                    #  i2c               (dev), type, n  i2c sensor sysfs (linux 2.6). dev    #                                    may omitted if have 1 i2c   #                                    device. type either in (or vol)        #                                    meaning voltage, fan meaning fan or temp  #                                    meaning temperature. n number of   #                                    sensor. see /sys/bus/i2c/devices/ on      #                                    local computer.                      #  kernel                            kernel version                            #  loadavg           (1), (2), (3)   system load average, 1 past 1      #                                    minute, 2 past 5 minutes , 3    #                                    past 15 minutes.                          #  machine                           machine, i686 example                 #  mails                             mail count in mail spool. can use     #                                    program fetchmail mails  #                                    server using favourite          #                                    protocol. see new_mails.             #  mem                               amount of memory in use                   #  membar            (height)        bar shows amount of memory in use    #  memmax                            total amount of memory                    #  memperc                           percentage of memory in use               #  new_mails                         unread mail count in mail spool.          #  nodename                          hostname                                  #  outlinecolor      (color)         change outline color                      #  pre_exec          shell command   executes shell command 1 time before  #                                    torsmo displays , puts output  #                                    text.                                  #  processes                         total processes (sleeping , running)    #  running_processes                 running processes (not sleeping),         #                                    requires linux 2.6                        #  shadecolor        (color)         change shading color                      #  stippled_hr       (space),        stippled (dashed) horizontal line         #                    (height)         #  swapbar           (height)        bar shows amount of swap in use      #  swap                              amount of swap in use                     #  swapmax                           total amount of swap                      #  swapperc                          percentage of swap in use                 #  sysname                           system name, linux example            #  time              (format)        local time, see man strftime more  #                                    information format                  #  totaldown         net             total download, overflows @ 4 gb on      #                                    linux 32-bit arch , there doesn't  #                                    seem way know how many times   #                                    has done before torsmo    #                                    has started.                              #  totalup           net             total upload, 1 too, may overflow  #  updates                           number of updates (for debugging)         #  upspeed           net             upload speed in kilobytes                 #  upspeedf          net             upload speed in kilobytes 1        #                                    decimal                                   #  uptime                            uptime                                    #  uptime_short                      uptime in shorter format                # #  seti_prog                         seti@home current progress #  seti_progbar      (height)        seti@home current progress bar #  seti_credit                       seti@hoome total user credit   # variable given either in format $variable or in ${variable}. latter # allows characters right after variable , must used in network # stuff because of argument #${font dungeon:style=bold:pixelsize=10}i can change font #${font verdana:size=10}as many times choose #${font perry:size=10}including utf-8, # stuff after 'text' formatted on screen #${font grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%m}  text ${color #ff9900}$sysname $kernel $machine - $nodename   ${color #ff9900}uptime:${color lightgrey} $uptime ${color #ff9900} load:${color lightgrey} $loadavg  ${color #ff9900}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}mhz ${color #ff9900}usage:${color #ff9900} ${color lightgrey}${cpu}% ${color #ff9900}${cpubar} ${color #ff9900}${cpugraph 000000 ff9900} ${color #ff9900}proces:${color lightgrey} $processes  ${color #ff9900}run:${color lightgrey} $running_processes ${color #ff9900}cpu:${color lightgrey} ${i2c temp 2}c${color lightgrey} ${color #ff9900}mb:${color lightgrey} ${i2c temp 1}c  ${color #ff9900}ram:${color lightgrey} $mem/$memmax - $memperc% ${alignr}${color #ff9900}${membar 5,110} ${color #ff9900}swp:${color lightgrey} $swap/$swapmax - $swapperc% ${alignr}${color #ff9900}${swapbar 5,110}  ${color #ff9900}hd io: ${color lightgrey}${diskio} ${alignr}${color #ff9900}temperature: ${color lightgrey}${execi 10 /home/admin/.bin/hddconky}c ${color #ff9900}${diskiograph 000000 ff9900}  ${color #ff9900}hard disks: ${color #ff9900} root ${color lightgrey}${fs_used /}/${fs_size /}${alignr}${color #ff9900}${fs_bar 5,120 /} ${color #ff9900} home ${color lightgrey}${fs_used /home}/${fs_size /home}${alignr}${color #ff9900}${fs_bar 5,120 /home} ${color #ff9900} data ${color lightgrey}${fs_used /media/data}/${fs_size /media/data}${alignr}${color #ff9900}${fs_bar 5,120 /media/data}  ${color #ff9900}cpu usage         pid     cpu%   mem% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color #ff9900} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color #ff9900} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color #ff9900}mem usage ${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${color #ff9900} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${color #ff9900} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}  ${color #ff9900}network: ${color lightgrey}${addr eth0}  ${color #ff9900}down:${color lightgrey} ${downspeed eth0} k/s $alignr${color #ff9900} up:${color lightgrey} ${upspeed eth0} k/s ${color #ff9900}${downspeedgraph eth0 27,120 000000 ff9900 180} $alignr${color #ff9900}${upspeedgraph eth0 27,120 000000 ff9900 25} ${color lightgrey}${totaldown eth0}           $alignr${color lightgrey}${totalup eth0}  ${color #ff9900}port(s)${alignr}#connections ${color #ff9900}inbound: ${color lightgrey}${tcp_portmon 1 32767 count}  ${color #ff9900}outbound: ${color lightgrey}${tcp_portmon 32768 61000 count}${alignr}${color #ff9900}total: ${color lightgrey}${tcp_portmon 1 65535 count}  ${color #ff9900}inbound connection ${alignr} local service/port${color lightgrey}  ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}  ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}  ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}  ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}  ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}  ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}  ${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}

copy of conkyrc file.i using lmsensors , want cpu motherboard gpu , hd temperatue displayed in conky.i not able configure conky file know how increase font size , change colour of fonts



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] Help needed in conky!!!!!!


Ubuntu

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

Rasperry Wifi LAN Controller - Raspberry Pi Forums

Unlock car with bluetooth and car key