Sunday, January 9, 2011

Custom Slideshow Screensaver Natty (ubuntu)

This is super fucking easy. Start off. Create a folder with pictures in it you would like to use as your screen saver. Mine is going to be /home/drew/DesktopBackground

open your terminal and type:

$ sudo su
# cp /usr/share/applications/screensavers/personal-slideshow.desktop /usr/share/applications/screensavers/custom-personal-slideshow.desktop
# gedit /usr/share/applications/screensavers/custom-personal-slideshow.desktop

Now you will see this:

[Desktop Entry]
Name=Pictures folder
Comment=Display a slideshow from your Pictures folder
Exec=/usr/lib/gnome-screensaver/gnome-screensaver/slideshow
TryExec=/usr/lib/gnome-screensaver/gnome-screensaver/slideshow
StartupNotify=false
Terminal=false
Type=Application
Categories=GNOME;Screensaver;
OnlyShowIn=GNOME;
X-Ubuntu-Gettext-Domain=gnome-screensaver

We only need to change two things: Name and Exec
replace:

Name=Pictures folder

with something like

Name=kickass custom slideshow

Then we need to add the location of the folder with our screensaver pictures to this line:

Exec=/usr/lib/gnome-screensaver/gnome-screensaver/slideshow

make it look like this (only change the folder path) this is all on one line:

Exec=/usr/lib/gnome-screensaver/gnome-screensaver/slideshow --location=/home/drew/DesktopBackground

Save and exit gedit.

Then mosey on over to System > Preferences > Screensaver
You will see your new 'kickass custom slideshow' in the list. simply select it and you are good to go.

0 comments:

Post a Comment