-
Website
http://philcrissman.com -
Original page
http://philcrissman.com/2006/07/25/howto-add-your-xscreensavers-to-gnome-screensaver -
Subscribe
All Comments -
Community
-
Top Commenters
-
Dharmesh Shah
1 comment · 6 points
-
traviscooper
1 comment · 2 points
-
ontarioemperor
1 comment · 31 points
-
kennykim79
1 comment · 1 points
-
Piers
3 comments · 2 points
-
-
Popular Threads
For the screensaver binaries:
/usr/lib/gnome-screensaver/gnome-screensaver
For the desktop files:
/usr/share/gnome-screensaver/themes
For the xml files:
/usr/share/xscreensaver/config/
:D
Bye
yum install xscreensaver-base
yum install xscreensaver-extras
yum install xscreensaver-gl-extras (OpenGL stuff, great if you've got hw accel)
On Fedora 5, the directories are:
xscreensaver binaries (copy from): /usr/libexec/xscreensaver/
gnome screensaver binaries (copy to): /usr/libexec/gnome-screensaver/
Xscreensaver XML files: /usr/share/xscreensaver/config/
gnome-screensaver desktop files: /usr/share/gnome-screensaver/themes/
The migrate script and the xsl file are already installed in /usr/libexec/gnome-screensaver/
so the entire process is:
cp -i /usr/libexec/xscreensaver/* /usr/libexec/gnome-screensaver/
cd /usr/share/gnome-screensaver/themes/
/usr/libexec/gnome-screensaver/migrate-xscreensaver-config.sh \ /usr/share/xscreensaver/config/*.xml
Restart X and voila! :-)
Hope that helps somebody...Thanks again!
Also, I would bet that there are Ubuntu-specific tips in some of the the Ubuntu forums -- do those help?
Keep at it, and keep having fun.
/usr/lib64/xscreensaver/
/opt/gnome/lib/gnome-screensaver/
xscreensaver seems to be 64-bit while gnome-screensaver does not. Any issue with this?
I'm running Suse 10.1 and the *.desktop files need to be placed in
/opt/gnome/share/gnome-screensaver/themes/Thanks a bunch for posting this.. I was really sick of the 6 choices i had and I knew there were much cooler ones using OpenGL in xscreensaver. I think I'll mention this to Novell so it will be pre-configured on a new install of Suse Linux.
--Micah
1. Downloaded the .sh file without problem
2. For the .xsl file, Firefox wouldn't let me download it, per se, so I copy and pasted the contents of the script (perhaps minus the XML style sheet) into gedit and saved it as 'xscreensaverconfig.xsl'
3. Put both files in /opt/gnome/lib/gnome-screensaver/gnome-screensaver
4. Opened up terminal, su'ed to root. Changed to the directory above and did chmod x on migrate*.sh.
5. Next did:
cd /opt/gnome/share/gnome-screensaver/themes /opt/gnome/lib/gnome-screensaver/gnome-screensaver/migrate-xscreensaver-config.sh /etc/xscreensaver/*.xml
6. But.....when I look in /opt/share/gnome/themes, the only files that are there are .desktop files.
Any tips for a serious beginner?
Thanks,
DD
P.S. I imagine with the high usability of SLED, you're going to get lots of noob questions from people like me who are just getting into Linux.
Probably the reason you see .desktop files is that they are supposed to be .desktop files. That's what the migrate script does; it transforms the xml files into desktop files. The key is: does it work when you open gnome-screensaver? Are the screensavers not listed?
Let me know; I'm not running SLED anymore, but if I can help I certainly will... happy hacking.
(This works on Fedora Core 5) grab one of the .desktop files and copy it in ~/.local/share/applications/screensavers/, now open the file, add your tweaks and restart the screensaver preference dialog : that's done :-)
Example:
cp /usr/share/applications/screensavers/cosmos-slideshow.desktop ~/.local/share/applications/screensavers/my-cosmos.desktop
Now change this file. Here is mine:
[Desktop Entry]
Encoding=UTF-8
Name=Cosmos (Space)
Comment=Display a slideshow of pictures of the space
Exec=slideshow --location=/home/gozer/Images/Space
TryExec=slideshow
StartupNotify=false
Terminal=false
Type=Application
Categories=GNOME;Screensaver;
Yes, lack of settings is a problem in gnome-screensaver -- it's an omission that I don't really understand, but for whatever reason that's how it is for now. A "preview" feature like xscreensaver had would be nice, too; maybe that's coming in a future version. ;-)
binaries: /usr/libexec/xscreensaver/
XML: /usr/share/xscreensaver/config/
To find out in which directory gnome-screensaver looks for the .desktop files use this command (without quotes): "pkg-config --variable themesdir gnome-screensaver"
Now just run the migrate script again from that directory, then restart X if needed and well there you go.
Now ... go show your friends your new screensavers eh!
http://svn.gnome.org/viewcvs/gnome-screensaver/...
http://svn.gnome.org/viewcvs/gnome-screensaver/...
i wrote my own howto for gentoo users:
create the *.desktop files:
sh migrate-xscreensaver-config.sh /usr/share/xscreensaver/config/*.xml
move or copy xscreensaver executables from :
/usr/lib/misc/xscreensaver
into
/usr/libexec/gnome-screensaver.
drag and drop the *.desktop files to the gnome-screensaver-preferenes window,
or move *.desktop files to /usr/share/applications/screensavers to make them
available for all users.
going to the gnome-screensaver-preferences dialog should now show the
new modules in the list.
edit the *.desktop files to change screensaver-preferences to show fps and so on.
/opt/gnome/lib/gnome-screensaver/migrate-xscreensaver-config.sh /etc/xscreensaver/*.xml
/opt/gnome/lib/gnome-screensaver/migrate-xscreensaver-config.sh: line 5: !DOCTYPE: No such file or directory
/opt/gnome/lib/gnome-screensaver/migrate-xscreensaver-config.sh: line 6: syntax error near unexpected token `newline'
/opt/gnome/lib/gnome-screensaver/migrate-xscreensaver-config.sh: line 6: `"http://www.w3.org/TR/REC-html40/loose.dtd">'
Can you please help?
Thanks
Raj Sankuratri
dwade2:/opt/gnome/share/gnome-screensaver/themes # /opt/gnome/lib/gnome-screensaver/migrate-xscreensaver-config.sh/ etc/xscreensaver/*.xml
bash: /opt/gnome/lib/gnome-screensaver/migrate-xscreensaver-config.sh/: No such file or directory
Anybody Know???
Thanks,
Derek
I'm using Gnome on Centos 5. Cheers.
[root@localhost screensavers]#
[root@localhost screensavers]# /usr/libexec/gnome-screensaver/migrate-xscreensaver-config.sh \ /usr/share/xscreensaver/config/*.xml
/usr/libexec/gnome-screensaver/migrate-xscreensaver-config.sh: line 5: !DOCTYPE: No such file or directory
/usr/libexec/gnome-screensaver/migrate-xscreensaver-config.sh: line 6: syntax error near unexpected token `newline'
/usr/libexec/gnome-screensaver/migrate-xscreensaver-config.sh: line 6: `"http://www.w3.org/TR/REC-html40/loose.dtd">'
[root@localhost screensavers]#
However, the error you post makes it sound like you have html in your script; that's not going to work.
Unfortunately, you'll probably need to take a look at the script; maybe post it on linuxquestions.org, or the fedora forums, see if anyone can see what's wrong. Because, there should be no !DOCTYPE or dtd definition in a shell script.
Good luck!