Don't you want you're weather informations on the lock screen as i do? Hell yes (thanks to Alfred )!
Here's how to do it quickly in 6 steps ;)
1) Install imagemagick from extras or in X-terminal :
2) Install wget (if not already done)
3) After installing imagemagick, the folder "/home/user/imagemagick" should appear, if not create it.
4) Place everything that contains this archived folder in /home/user/imagemagick/ folder.
Edit the script weather.sh (via txt editor for example) and change the URL of yahoo forecast city by yours :
5) Run following commands in Terminal :
6) Run this script by executing:
You're done !
7) If you want to make this script run automatically, install Alarmed. Make a "New event">"Command execution">Select frequency of how often do you want to update it>Enter Name> in the command field put this:
And of course, you can play with colors and fonts. If you look into the script, you will find what and how to change. It's very easy. There is also a folder with some free fonts, so feel free to use them.
It's interactive as the background changes, depending on the current temperature. If it is below zero, it chooses "winter.png" as background. If it is above zero it chooses "summer.png" and if it IS ZERO, it chooses "background.png" as a background image.
If you want to reset everything back to normal, just choose another theme from desktop, and then again the theme you want. Everything will be back after a restart.
Here's how to do it quickly in 6 steps ;)
1) Install imagemagick from extras or in X-terminal :
Code:
apt-get install imagemagick
Code:
apt-get install wget
3) After installing imagemagick, the folder "/home/user/imagemagick" should appear, if not create it.
4) Place everything that contains this archived folder in /home/user/imagemagick/ folder.
Edit the script weather.sh (via txt editor for example) and change the URL of yahoo forecast city by yours :
Code:
http://weather.yahoo.com/morocco/greater-casablanca/casablanca-1532755/?unit=c
Ps : in yahoo forecast page you can also choose between Fahrenheit and Celsius.
5) Run following commands in Terminal :
Code:
root chmod 777 /home/user/imagemagick/*
Code:
sh /home/user/imagemagick/weather.sh
7) If you want to make this script run automatically, install Alarmed. Make a "New event">"Command execution">Select frequency of how often do you want to update it>Enter Name> in the command field put this:
Code:
sh /home/user/imagemagick/weather.sh
Note : You need an internet connection for "weather.sh". The first run of this script must be followed by a reboot, in order to load the new slider.
And of course, you can play with colors and fonts. If you look into the script, you will find what and how to change. It's very easy. There is also a folder with some free fonts, so feel free to use them.
It's interactive as the background changes, depending on the current temperature. If it is below zero, it chooses "winter.png" as background. If it is above zero it chooses "summer.png" and if it IS ZERO, it chooses "background.png" as a background image.
If you want to reset everything back to normal, just choose another theme from desktop, and then again the theme you want. Everything will be back after a restart.



