Definite's Extractor

My findings on Life, Linux, Open Source, and so on.

Tag Archives: gnome-screensaver

Turn-off the auto lock when you close the lid

I often use my netbook on bus and when waiting for bus.
However I find it is quite annoy that it is locked when I closed the lid.

In order to avoid the auto lock, the UI for both gnome-power-manager and gnome-screensaver are insufficient.

Run

gconf-editor /apps/gnome-power-manager/lock&

and uncheck both
blank_screen, which locks screen immediately when screen is blank (including when you close the lid);

and use_screensaver_settings which will also locks the screen immediately when screen is blank.

Converting xscreensaver to gnome-screensaver in Fedora 13

gnome-screensaver is more stable than xscreensaver (Occasionally I have been lock out by it), yet the default collection of savers is not as rich.

There are several of instructions of how to do this, including:

Can I use xscreensaver “hacks” with gnome-screensaver? and

Add xscreensaver to gnome-screensaver in Fedora Core 6. But their information is somewhat outdated.

Here is my instruction for F-13, referencing this post:

    1. Install xscreensaver-<whateveryyoulike>. (You do want the richness of xscreensaver savers, don’t you? 🙂 )

      # yum install "xscreensaver-<whateveryyoulike>"

    2. link the xscreensavers binary to gnome-screensaver
      # ln -si /usr/libexec/xscreensaver/* /usr/libexec/gnome-screensaver/
      -i is for interactive, there is one saver which exists in both gnome-screensaver and xscreensaver.
    3. Download the migrate-xscreensaver-config.sh script for migrating xscreensaver to gnome-screensaver, as well as the xsl file it needs.

,

  1. Assuming you put these files in /tmp, run
    chomd +x /tmp/migrate-xcreensaver-config.sh
  2. Convert xscreensaver config files (.xml) to gnome-screensaver config files (.desktop):
    # /tmp/misgrate-xscreensaver-config.sh \ /usr/share/xscreensaver/config/*.xml
  3. Restart X server. This can be done by logout-login if you are using GDM or KDM.
  4. That should be it.

[Update] Some user suggest to use xscreensaver-extras-gss , which should be more simple and easier.