Page 1 of 1

[Solved] editing my conky script

Posted: Sat Jan 01, 2011 2:28 am
by willie42
I am running the Conky Script that is in the repos. I want to add my home partition to that. can someone guide me on how I might be able to do that?


many thanks

Re: editing my conky script

Posted: Sat Jan 01, 2011 5:33 am
by linXea
You mean "view your /home partition in the conkyscript?
  • /home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
that will give you information about how much used discspace you have on /home, total size of /home and a bar showing the total usage of /home.

Re: editing my conky script

Posted: Sat Jan 01, 2011 5:44 am
by willie42
might be a rookie question I am not sure if I am already suppose to know but the Conky script is in my /etc. actually its /etc/conky.

there are 2 items in the conky folder. Conky.conf and Conky_no_x11.conf. Which one gets edited. and what command do I use to edit that script. I have never edited a conky script or seen if the forums where anyone has.


I really appreciate the help on this

Re: editing my conky script

Posted: Sat Jan 01, 2011 6:01 am
by linXea
the systemwide conky config is found in /etc/conky. Put a .conkyrc in your homefolder. The .conkyrc will be read before the system try to load the systemwide config-file. Do all changes in /home/youusername/.conkyrc

  • $ cp /etc/conky.conf ~/.conkyrc
    $ gedit ~/.conkyrc


and then edit the .conkyrc in your /home/user/ folder

Re: editing my conky script

Posted: Sat Jan 01, 2011 6:04 am
by willie42
willie42@linux12 ~ $ cp /etc/conky.conf ~/.conkyrc
cp: cannot stat `/etc/conky.conf': No such file or directory
willie42@linux12 ~ $


not there.....

I do gedit ~/.conkyrc and just a blank form

Re: editing my conky script

Posted: Sat Jan 01, 2011 6:14 am
by linXea
open nautilus and go to root --> etc --> 'find Conky.conf (if you have installed conky it will be there). Copy the file conky.conf and put it in your HOME-folder and rename it to ".conkyrc"

Now open gedit and open the file .conkyrc , remember that you need to "view hidden files" for it to show in nautilus.

Re: editing my conky script

Posted: Sat Jan 01, 2011 1:21 pm
by willie42
do I do anything with the old files that are in root or leave them there?
:D

Re: editing my conky script

Posted: Sat Jan 01, 2011 1:33 pm
by linXea
Just leave them, you might need them as templates in the future.

Re: editing my conky script

Posted: Sat Jan 01, 2011 1:42 pm
by Habitual

Code: Select all

own_window yes				
own_window_colour brown			
own_window_transparent yes		
own_window_type desktop			
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes			
text_buffer_size 1024			
use_xft yes				
alignment bl				
gap_x 5					
gap_y 15				

# -== Colors, Sizes, & Margins ==- #
update_interval 1.0			
minimum_size 1439 113			
maximum_width 1439			
stippled_borders 3			
border_width 0				
default_color white			
pad_percents 2				
top_name_width 8			
default_bar_size 100 6			
short_units yes				

# -== Text ==- #
draw_outline no				
draw_borders no				
font Monospace:size=8:weight=bold	
uppercase no				
draw_shades yes				
mail_spool $MAIL

TEXT
/home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
save as ~/filename and run it with conky -c ~/filename

Change
alignment bl
gap_x 5
gap_y 15
to suit placement and taste.

See also http://conky-pitstop.wikidot.com/

Re: editing my conky script

Posted: Sat Jan 01, 2011 1:44 pm
by colyn
For more information on setting up your conky check the below thread.

http://forums.linuxmint.com/viewtopic.php?f=60&t=30209

Re: editing my conky script

Posted: Sat Jan 01, 2011 5:51 pm
by willie42
I would like to have a cool looking conky but my knowledge has not increased to that level yet to make such. I really dont now how to even start trying with out fear of goofing something up really bad. So I will most likely mess with the one on here and make little changes and progress from there