Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Conky Scripts For Ubuntu Gutsy Gibbon, ubuntu newbie here..about the coding

views
     
TSxtreme_paranoid
post Dec 9 2007, 06:44 AM, updated 19y ago

UNKNOWN
******
Senior Member
1,427 posts

Joined: Sep 2006



Attached Image

hello..i found this conky script. very nice...
but i now having trouble..
cannot use this conky script until now.
anyone can help me to make it working?
i've tried to search for answers but I can't find out the solution.

thanks in advance

Attached File  52896_conky.tar.gz ( 3.26k ) Number of downloads: 150
< the conky script
oshiri
post Dec 9 2007, 07:17 PM

Enthusiast
*****
Senior Member
751 posts

Joined: Nov 2004
Your compressed file is broken.
Well...I managed to extract it after my ketiak berpeluh.

Ok, this what I did.
In the folder of extracted files you will see:
CODE
ls -la
total 32
drwxr-xr-x  3 xxx xxx 4096 2007-10-25 08:09 .
drwxr-xr-x 40 xxx xxx 4096 2007-12-09 18:15 ..
drwxr-xr-x  2 xxx xxx 4096 2007-10-25 08:08 arch-updates
-rwxr-xr-x  1 xxx xxx 1499 2007-10-25 07:58 .conkyrc
-rwxr-xr-x  1 xxx xxx 1456 2007-10-25 08:05 .conkyrc_gmail
-rwxr-xr-x  1 xxx xxx   54 2007-04-23 07:34 .conkyweatherrc
-rwxr-xr-x  1 xxx xxx  498 2007-04-23 07:34 gmail.py
-rwxr-xr-x  1 xxx xxx  823 2007-10-29 12:19 ReadMe


Read the ReadMe.... smile.gif

1. Copy all the files in arch-updates to your home and change the folder name to scripts
CODE
cp -Rp arch-updates /home/`whoami`/scripts


2. Copy .conky.rc to your home
CODE
cp .conkyrc /home/`whoami`/


3. Copy all other conky files to your-home/scripts
CODE
cp  .conkyrc_gmail /home/`whoami`/scripts/
cp .conkyweatherrc /home/`whoami`/scripts/
cp .gmail.py /home/`whoami`/scripts/


4. Edit .conkyrc

I remove email, mpd and weather parts as I'm not going to use it.
I also remove Arch-pkg since I'm using Debian.
CODE
#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 6
gap_y 6
alignment top_left

#behaviour
update_interval 1

#colour
default_color  8f8f8f
#default_shade_color 000000
own_window_colour 262626

#font
use_xft yes
xftfont bauhaus:pixelsize=10

#to prevent window from moving
use_spacer no
minimum_size 1268 0


TEXT
${voffset -1} Cpu: ${color e0e0e0}${font}${cpu}% ${color} Mem: ${color e0e0e0}${font}${mem} ${color} | ${color} Up: ${color e0e0e0}${font}${uptime_short}${color}  | ${color} Net: ${color e0e0e0}${font}${downspeed eth0} Kb/s ${color} ${totaldown eth0} downloaded${color} | ${color} ${color e0e0e0}${upspeed eth0} Kb/s ${color} ${totalup eth0} uploaded${color}  |  ${color}Root: ${color e0e0e0}${font}${fs_free /} ${color} Home: ${color e0e0e0}${font}${fs_free /home} ${color}


5. Edit conky-updates.pl in scripts folder (do this only if you use Arch:
Change this line:
CODE
open (MYINPUTFILE, "/home/lyrae/scripts/arch-updates/updates.log") or die "No such file or directory: $!";


to

CODE
open (MYINPUTFILE, "/home/user/scripts/updates.log") or die "No such file or directory: $!";


* user = change to your actual user.

6. Fire up conky:
CODE
conky &


user posted image

 

Change to:
| Lo-Fi Version
0.0173sec    0.18    6 queries    GZIP Disabled
Time is now: 15th December 2025 - 05:29 PM