@ bbqsauced
ADD THE REPOSITORY
Karmic
Jaunty
Intrepid
ADD THE REPOSITORY PUBLIC KEY
UPDATE YOUR REPOSITORY LIST AND INSTALL CONKY FROM PPA
Code:
sudo apt-get update && sudo apt-get install conky
DOWNLOAD .CONKYRC CONFIG FILE
You can create your own, no need to download this one, but it is already configured for this set up.
NOTE: The .conkyrc file above will be downloaded to your home directory.
DOWNLOAD SCRIPTS
The following command does this:
* Changes to your home directory
* Creates a 'scripts' directory in your home directory. ~/scripts/
* Changes to 'scripts' directory
* Downloads the scripts 'conkyscripts.zip'. (using wget to download the file)
* Extracts the contents of 'conkyscripts' . This creates a folder in your home directory. ~/conkyscripts/
* Copies the contents of ~/conkyscripts/ to ~/scripts/
* Removes the downloaded zip file and the directory that was created when extracting.
You should now have the following in ~/scripts/
conditions.sh
gmail_parser.py
hddmonit.sh
pogodynka.sh
NOTE: After downloading and extracting the scripts above, you will see a script called pogodynka.sh You will want to replace it with an English version found here http://pogodynka.fluxboxpl.org/pogod...a_0.4-2.tar.gz Afer you extract the compressed file it will create a folder called 'usr'. Look in there and go to /bin/pogodynka and replace the old file with this one.
DOWNLOAD THE FONTS
The following command does this:
* Changes to your home directory
* Downloads the fonts 'conkysfonts.zip' (using wget to download the file)
* Extracts the contents of 'conkyfonts.zip'. This creates a folder in your home directory ~/conkyfonts/
* Copies the contents of ~/conkyfonts/ to ~/.fonts/ (if you do not have a ~/.fonts/ then go ahead and make one)
* Removes the downloaded zip file and the directory that was created when extracting.
You should now have the following in ~/.fonts/
openlogos.ttf
PIZZADUDEBULLETS.ttf
PIZZADUDESTARS.ttf
Radiofb.ttf
Radiofi.ttf
Radiofbi.ttf
Radiofc.ttf
Radiof.ttf
STYLBCC_.TTF
wef_____.ttf
SETUP
Now you will need to configure your .conkyrc file to work with the various scripts you downloaded and extracted. The first script is the gmail_parser.py that will display your gmail in your conky setup.
Gmail + Conky
Open your .conkyrc config file
Find this line:
Code:
${execpi 300 python ~/scripts/gmail_parser.py yourgmailusername yourgmailpassword 3}
Edit yourgmailusername and yourgmailpassword with your username and password.
NOTE: The password and username are NOT encrypted. If you do not plan to use gmail with this config, just delete the line above.
Install python-feedparser
Code:
sudo apt-get install python-feedparser
HDD temp and CPU temp + Conky
Install hddtemp and lm-sensors
Code:
sudo apt-get install hddtemp lm-sensors
NOTE: Once the installion of 'hddtemp' starts you will be asked a series of questions. If you are not sure about any of them, select 'Yes' or the default on each question.
Weather + Conky
This part will configure your conky setup to display the current weather conditions for your area. What you will do here is get the Location ID for your area and edit the pogodynka.sh with your Location ID.
Go to this link http://weather.yahoo.com/
Get the Location ID for your area by entering your city or zipcode in the box labled 'Enter city or zip code:'
A weather page for your area will load. The URL will be similar to this: http://weather.yahoo.com/forecast/USTN0017.html Copy the location ID (for me it would be USTN0017)
Now you will edit your pogodynka.sh. For the pogodynka.sh script to work, you need to put your Location ID into the script
Code:
gedit ~/scripts/pogodynka.sh
Search for kod=USID0025
Replace the ID with yours.
NOTE: If you would rather use Celsius instead of Farenheit you will need to do the following:
Find the line:
Code:
w3m -dump http://weather.yahoo.com/forecast/"$kod".html | grep -A21 "Current" | sed 's/DEG/°/g' > $plik
Replace it with this:
Code:
w3m -dump http://weather.yahoo.com/forecast/"$kod"_c.html | grep -A21 "Current" | sed 's/DEG/°/g' > $plik
Save pogodynka.sh
Create a file called 'weather' in your home directory.
Code:
$cd && touch weather
Go ahead and make the file executionable by using chmod 777 pogodynka.sh (Or right-click pogodynka.sh and select Properties -> Permissions -> Execute)
Customize your .conkyrc
The default .conkyrc monitors eth1 for the network. I had to change it to wlan0. You can change the following to match whatever interface you are using.
Code:
${font PizzaDude Bullets:size=16}v${font} Up: ${upspeed wlan0} Kb/s
${font PizzaDude Bullets:size=16}r${font} Down: ${downspeed wlan0} Kb/s
${font PizzaDude Bullets:size=16}M${font} Upload: ${totalup wlan0}
${font PizzaDude Bullets:size=16}S${font} Download: ${totaldown wlan0}
Add conky to Start Up Application (Will load after logging in)
Create a script called conky_start.sh in your home directory
Code:
$cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.sh
Copy and paste the following into the new file and save.
Code:
#!/bin/bash
sleep 15 &&
exec conky -d -c ~/.conkyrc &
exit
Go to System -> Preferences -> Start Up Applications
Click Add and name it whatever you like.
Add the command
You can either browse and select ~/conky_start.sh or type it in.
Bookmarks