Login Shell [/bin/sh]:
/bin/bash

sudo gainroot
apt-get install wget
cd MyDocs/
mkdir photos
wget --no-check-certificate http://github.com/marcphemt/scrpts/raw/master/n900photooftheday.sh
chmod +x n900photooftheday.sh

cd MyDocs/
./n900photooftheday.sh

cp /home/user/MyDocs/natgeo.png /opt/usr/share/icons/hicolor/64x64/hildon/
cp /home/user/MyDocs/natgeo.desktop /usr/share/applications/hildon



| The Following 9 Users Say Thank You to marcphemt For This Useful Post: | ||
| The Following User Says Thank You to nokiabot For This Useful Post: | ||
| The Following User Says Thank You to roflmaoo For This Useful Post: | ||
i m very happy that you like the script..
!!Than i ll learn about make a .deb file to install my works

| The Following User Says Thank You to marcphemt For This Useful Post: | ||
if [ ! -e ~/Immagini/${TODAY}_ngeo.jpg ]; then
/usr/bin/dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file:///home/user/MyDocs/photos/${TODAY}_ngeo.jpg
gconftool -s --type string /apps/osso/hildon-desktop/views/1/bg-image ~/MyDocs/photos/${TODAY}_ngeo.jpg
gconftool -s --type string /apps/osso/hildon-desktop/views/2/bg-image ~/MyDocs/photos/${TODAY}_ngeo.jpg
gconftool -s --type string /apps/osso/hildon-desktop/views/3/bg-image ~/MyDocs/photos/${TODAY}_ngeo.jpg
gconftool -s --type string /apps/osso/hildon-desktop/views/4/bg-image ~/MyDocs/photos/${TODAY}_ngeo.jpg
I ll correct this error as soon as possible!!
| The Following User Says Thank You to shawnjefferson For This Useful Post: | ||


