How To modify the Floating Screensaver to make your own

How To modify the Floating Screensaver to make your own

Postby drum » 29 Nov 2013, 08:46

I was asked recently how can someone modify the Floating Feet screensaver that is used in Gnome2 and MATE. Gnome had the Feet symbol, MATE has the target and Debian has the swirl. Read on to find out how to make it work using your icon.

As root open up /usr/share/pixmaps so you can copy an icon of your choice into the folder. I copied a png image of the Australian flag into the folder.
Now, as root, open up /usr/share/applications/screensavers/ folder. MATE calls the file you need to copy Floating Feet. Right click copy and then right click paste, then rename the new file to whatever you want to call it (this works on my machines). I called mine FloatingFlags. Why? Well I couldn't open it with Pluma if it was Floating Flags but I could as FloatingFlags.
Again as root in your terminal type pluma /usr/share/applications/screensavers/FloatingFlags.desktop and the file will open in Pluma MATE's text editor. If you use another text editor just replace pluma in the command with the one you use.
When you have this file open you will see

[Desktop Entry]
Name=Floating Feet
Name[en_AU]=Floating Feet
Comment=Bubbles the MATE foot logo around the screen
Comment[en_AU]=Bubbles the MATE foot logo around the screen
Exec=/usr/lib/mate-screensaver/floaters /usr/share/pixmaps/mate-logo-white.svg
TryExec=/usr/lib/mate-screensaver/floaters
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver;
OnlyShowIn=MATE;

To get your picture to show you need to either modify a line or add a line. I chose to modify and add a new line like this as shown in the text.

[Desktop Entry]
Name=Floating Flags
Name[en_AU]=FloatingFlags
Comment=Bubbles the Australian Flag around the screen
Comment[en_AU]=Bubbles the Australian Flag around the screen
#Exec=/usr/lib/mate-screensaver/floaters /usr/share/pixmaps/mate-logo-white.svg
Exec=/usr/lib/mate-screensaver/floaters /usr/share/pixmaps/Flag_of_Australia.png
TryExec=/usr/lib/mate-screensaver/floaters
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver;
OnlyShowIn=MATE;

Now save your file and check to see it works.

Image
Point Linux = freedom, reliability, stability, configurability, flexibility, security Image

The "Penguin" has arrived - and he's not going away - ever.

point linux = semper fidelis
User avatar
drum
 
Posts: 111
Joined: 24 Oct 2013, 06:57
Location: Belgium

Return to Tutorials and Howtos

Who is online

Users browsing this forum: No registered users and 2 guests

cron