The Web Realm
     Marc Chadwick's Weblog
 Local: Home About Contact
Wishlists: Books DVDs Thinkgeek 
Syndicate: RSS RSD Atom

 Replacing Gnome-screensaver with Xscreensaver
Linux 

So you've recently upgraded Gnome and discovered that they have decided to
replace xscreensaver with gnome-screensaver and you don't like it. At this
point it time it seems most likely that you've just upgraded to Fedora 7 and
seen the change. There are a few guides that talk about adding xscreensaver's
screensavers to gnome-screensaver. This is not another one of those.

Unlike the apparent masses, I don't think gnome-screensaver is more elegant
than xscreensaver. Quite the reverse, actually. I liked xscreensaver and its
functionality, and I decided to switch back to it entirely. It wasn't really
difficult, there were just a few steps involved. I did this with Fedora 7 and
Gnome 2.18. It's all GUI, so don't be intimidated. You, too, can have your old
screensaver engine back.

First I changed my Gnome session to kill gnome-screensaver and start
xscreensaver because I had difficulty finding a way to permanently disable
xscreensaver. Do do this I went to the System menu, drilled down into the
Preferences sub-menu, drilled into the Personal sub-menu, and selected
Sessions. Under the Startup Programs tab, click the New button. Name this
command killall gnome-screensaver and set the command to /usr/bin/killall
gnome-screensaver, then click OK. Now click New again. Make this program's
name Start xscreensaver and make the command /usr/bin/xscreensaver -nosplash.
The next time you log into gnome you will kill all gnome-screensaver processes
and start xscreensaver. Xscreensaver cannot run twice, so don't worry about
logging in multiple times prior to rebooting.

Second, I changed the Screensaver menu item to launch my xscreensaver
preferences instead of gnome-screensaver's. Go to the System menu,
Preferences, Look and Feel, and Main Menu. In the tree on the left, drill into
System, Preferences, and click on Look and Feel. In the right hand pane,
double-click Screensaver. In the Launcher Properties window change the command
to /usr/bin/xscreensaver-demo, then click Close and Close again. Now you'll
see xscreensaver's preferences when you choose Screensaver from your
preferences menu.

Finally, I added a launcher to my panel for locking my screen. The launcher
that comes with Gnome triggers gnome-screensaver, not xscreensaver, so I
created this instead as I like locking my screen when I'm not looking at it.
Right-click your panel of choice and click Add to Panel. Select Custom
Application Launcher and click Add. The launcher's type is Application. Its
name is Lock Screen. Its command is /usr/bin/xscreensaver-command -lock. For a
comment I put Lock the screen. Click the button that says No Icon and choose
your favorite icon. I liked
/usr/share/icons/gnome/scalable/actions/gnome-lockscreen.svg. Click OK and
Close. You can, of course, move that launcher wherever you need.

The fun part is it actually took longer to write this than it did to do it. I
hope someone somewhere found this helpful, but most of my readers would have
already known and the rest wouldn't care.

 Comments:

Leave a comment

 

February 2008
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29  


Recent Entries
# links for 2008-02-10
# Biofuels Do More Harm Than Good
# del.icio.us
# That'll do it
# Under Construction
# Revamp
# GooSync
# Trusting Google
# Play AACs on your TiVo with TiVo Desktop from a Mac
# My Once and Future Cloud
Flickr Photostream
www.flickr.com
Categories
Apple
Aquarium
Banking
Blog Stuff
Bookmarks
Books
Boston
Comedy
Comics
Development
Drama
Entertainment
For the Mac
Hacks
Hardware
In The News
Internet
Linux
Mobile Phones
Movies
Music
Open Source
OS X
Politics
Red Sox
Science
Security
Software
Sports
Stuff 'n Junk
Sysadmin Stuff
Technology
Television
Testing
Thoughts
UNIX
Vermont
Virii
Windows
Tags
blog  cloud  development  bookmarks  google  code  email  global warming  gmail  google calendar  news  organization  politics  science  study  symbian  tags  test  web 2.0 
Archives
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
March 2007
February 2007
January 2007
December 2006
November 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
Guest Posts
Blog for America
Boston Metroblogs
Links
802 Online
Blog for America
Boston Metroblogs
Dream Theater Info Network
Dr. Mosh
Engadget
Gizmodo
Lukwam
Mac OS X Hints
The Register
SAGE
Skadz
Slashdot
Kevin Smith
Powered by Movable Type Publishing Platform
This blog is licensed under a Creative Commons License.