Page 2 of 3

Re: Conky your way in 2.8?

PostPosted: Sun Oct 24, 2010 2:55 pm
by 2hot6ft2
JOHNNYG wrote:
billhedrick wrote:hmmmm.... there was someone that got an answer, but I can't find it. How do you start conky (and keep it running whe I restart my machine) in 2.8?

Hmmm. yea I have seen that ! and 2h2ft2 had the answer! But I'll give it a go! open system preferances>startup applications> add>then add "conky" to "name" and "conky" to command! close. logout and back in! to stop conky open terminal and type "killall conky" should do it! :D :ugeek:

I believe this is what you're referring to

How to start it automatically every boot.
1. Create a file in your home folder named Start-Conky and add this to it

Code: Select all
    #!/bin/bash
    sleep 30
    conky &
    exit 0

Save and Close
then right click on it and select properties then the Permissions tab
Execute: (check the box to make it executable)
Go to
System > Preferences > Startup Applications
click on Add
Name: Conky
Command: (browse and select the Start-Conky file you created)
Comment: Whatever you want

Save then Close

That's it. It will start 30 seconds after boot. You can start it manually by double clicking on the Start-Conky file and selecting Run. It will start in 30 seconds.

The 30 second delay is so that everything is up and running before the script is invoked.
<BREW>

Re: Conky your way in 2.8?

PostPosted: Sun Jan 09, 2011 9:42 pm
by TheeMahn
JOHNNYG wrote:Very nice I have adjusted the width from 320 to 220 but I need to know how to adjust the length ! It runs past the bottom of the screen. Other than that very nice! <BREW>



I have fixed this in 1.01, please adjust "FONTSIZE", I added your Start-Conky script to the tar. I suppose I should specify copy all to you home folder and do the following:
Code: Select all
sudo chmod +x Start-Conky
sudo chmod +x conky-builder.sh


Want to test this theory, to auto add your script to startup, it is untested?
Code: Select all
sudo echo '[Desktop Entry]
Name=Conky
Name[en_GB]=Conky
Type=Application
Exec=~/Start-Conky
Terminal=false
Icon=gnome-do
Comment=Starts Conky on bootup.
Categories=System;' > /etc/xdg/conky-startup.desktop
sudo chmod +x  /etc/xdg/conky-startup.desktop

Re: Conky your way in 2.8?

PostPosted: Sun Jan 23, 2011 1:19 pm
by OneBox44
Hi guys,

have followed advice on this link re getting conky up & running etc.
looks great, boots up after everything loaded so no worries there.
Was just wondering any way of getting conky to display motherboard, cpu, ram & hard drive temperatures???
If so how??
If its simple coding, whats the best way of doing it??
Any advice & help would be useful
Thanks in advance <BREW>

Re: Conky your way in 2.8?

PostPosted: Sun Jan 23, 2011 3:27 pm
by JOHNNYG
Remember Google is your friend ! Yes there are ways of doing this, search conky how to "Your issue" and you will get much feed back ! It is all a matter of placement and code ! :ugeek: I am sure some will come and help !! Stanca Is the "in house" conky Mahn ! ;) He has the grip on such things !!! 8-)

Re: Conky your way in 2.8?

PostPosted: Mon Jan 24, 2011 11:20 pm
by billhedrick
yea, I have dug through The Google and have this issue:
When I have conky as a startup application it sits on top of any app I open. I would like it to sit in the background.
I suspect I need to edit my .conkyrc script but am not sure what to edit.

Re: Conky your way in 2.8?

PostPosted: Tue Jan 25, 2011 12:28 pm
by JOHNNYG
Did you use Thee's conky builder or another script ! :?: :ugeek:
open you home folder then Cntl+h to open hidden files find .conkyrc rename to .conkyrc1 copy and past mine to gedit and save as .conkyrc in your home folder, then start conky and see if it does the same thing !

Re: Conky your way in 2.8?

PostPosted: Tue Jan 25, 2011 7:03 pm
by stanca
You need this script perhaps:
conky.sh
(31 Bytes) Downloaded 408 times

Just point it in your startup command for conky.

Re: Conky your way in 2.8?

PostPosted: Tue Jan 25, 2011 11:36 pm
by billhedrick
stanca, that worked, but not as a startup
/billh/Downloads/conky.sh
is my command line, I also tried
/billh/Downloads/sh conky.sh
and neither worked.
when I started it in the terminal it does work.
JOHNNYG, I did some digging and couldn't find your conky script. Could you post a link?

Thanks!

Re: Conky your way in 2.8?

PostPosted: Wed Jan 26, 2011 10:34 am
by JOHNNYG
Sorry about that Bill as of my last post I lost my connection! it was at first sporadic Then...... NUKED! :evil: Here ya go !

Code: Select all
# Conky sample 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.

# set to yes if you want Conky to be forked in the background
background yes

# X font when Xft is disabled, you can pick one with program xfontsel artwiz package?
#font 5x8
font 6x9
#font 6x10
#font 6x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft no

# Set conky on the bottom of all other applications
on_bottom yes

# Xft font when Xft is enabled
xftfont Gothic:size=8

# Text alpha when using Xft
xftalpha 0.8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour grey

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline yes

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 1
gap_y 3

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase yes

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no


# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

#   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
#   mldonkey_port         Mldonkey port, 4001 default
#   mldonkey_login        Mldonkey login, default none
#   mldonkey_password     Mldonkey password, default none

# boinc (seti) dir
# seti_dir /opt/seti

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
$alignc Uptime:${color lightgrey} $uptime $color with ${color lightgrey}$kernel $color
${color lightgrey}HDD I/O:$color $diskio
${color red}${diskiograph 0000ff 00ff00}
${color lightgrey}CPU Usage:$color $cpu% ${color #cc2222} ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$color$stippled_hr
${color pink} Temperature: ${color red} ${acpitemp}
$color$stippled_hr
${color lightgrey}File systems:$color
 root  $color${fs_used /}  /${fs_size /} ${fs_bar /}
 home  $color${fs_used /home} /${fs_size /home} ${fs_bar /home}
 fat32 $color${fs_used /media/fat32}  /${fs_size /media/fat32} ${fs_bar /media/fat32}
$color$stippled_hr
${color}CPU Usage:        CPU%   MEM%   PID
${color #ff4500} ${top name 1} ${top cpu 1} ${top mem 1} ${top pid 1}
${color #eeee00} ${top name 2} ${top cpu 2} ${top mem 2} ${top pid 2}
${color #00ee00} ${top name 3} ${top cpu 3} ${top mem 3} ${top pid 3}
${color lightgrey} ${top name 4} ${top cpu 4} ${top mem 4} ${top pid 4}
${color lightgrey} ${top name 5} ${top cpu 5} ${top mem 5} ${top pid 5}
$color$stippled_hr
${color}MEM usage:
${color #ff4500} ${top_mem name 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem pid 1}
${color #eeee00} ${top_mem name 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem pid 2}
${color #00ee00} ${top_mem name 3} ${top_mem cpu 3} ${top_mem mem 3} ${top_mem pid 3}
${color lightgrey} ${top_mem name 4} ${top_mem cpu 4} ${top_mem mem 4} ${top_mem pid 4}
${color lightgrey} ${top_mem name 5} ${top_mem cpu 5} ${top_mem mem 5} ${top_mem pid 5}
$color$stippled_hr
${color lightgrey}Networking:${color #00ee00} PPP0 ${color lightgrey} on $color ${addr ppp0}
${color lightgrey} Down:${color #8844ee} ${downspeedf ppp0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeedf ppp0} k/s
${color #0000ff}${downspeedgraph ppp0 22,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph ppp0 22,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}Networking:${color #00ee00} ETH0 ${color lightgrey} on $color ${addr eth0}
 ${color lightgrey}Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 22,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 22,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}Networking:${color #00ee00} ETH1 ${color lightgrey} on $color ${addr eth1}
${color lightgrey}Link Status:$color ${linkstatus eth1}
 ${color lightgrey}Down:${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth1} k/s
${color #0000ff}${downspeedgraph eth1 22,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth1 22,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}Networking:
$color PPP0:   downloaded ${totaldown ppp0}; uploaded ${totalup ppp0}
$color ETH0:   downloaded ${totaldown eth0}; uploaded ${totalup eth0}
$color ETH1:   downloaded ${totaldown eth1}; uploaded ${totalup eth1}
$color$stippled_hr
Port Statistics:
${color red} ${tcp_portmon 1 65535 count} $color total connections
                ${color red} ${tcp_portmon 1 1024 count} $color btw ${color red}1-1024
                                ${color green} ${tcp_portmon 80 80 count} $color on ${color red}80
                                ${color green} ${tcp_portmon 20 23 count} $color on ${color red}20-23
                                ${color green} ${tcp_portmon 443 443 count} $color on ${color red}443

Re: Conky your way in 2.8?

PostPosted: Wed Jan 26, 2011 10:54 am
by billhedrick
thanks, now I will have to reinstall conky tho, all the messing around has screwed things up.