Results 1 to 9 of 9

Thread: How to prevent Gnome Screensaver launching in XFCE sessions

  1. #1
    Join Date
    Aug 2010
    Location
    Brussels, Belgium
    Beans
    151

    How to prevent Gnome Screensaver launching in XFCE sessions

    Hello,

    Since upgrading to 14.04 I have found that Gnome Screensaver keeps launching and making a nuisance of itself. I use XFCE and only want xscreensaver running. How can I prevent Gnome Screensaver from starting up?

  2. #2
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    If you upgraded from a previous version of xubuntu, then you have both light-locker and xscreensaver installed and enabled. Simply disable light-locker in Settings Manager -> Session and Startup -> Application autostart. You can kill the current process via:
    Code:
    pkill light-locker

  3. #3
    Join Date
    Aug 2010
    Location
    Brussels, Belgium
    Beans
    151

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    Thanks for replying

    I haven't got light-locker in my autostart and it isn't listed in my currently running processes. It must be something else.

  4. #4
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    Did you upgrade from an earlier version of xubuntu?

    Is gnome-screensaver running?
    Code:
    ps -ef | grep "screen\|locker"

  5. #5
    Join Date
    Aug 2010
    Location
    Brussels, Belgium
    Beans
    151

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    Yes I upgraded from Saucy. The last clean install I did was probably two releases ago, but I can't remember for certain.

    gnome-screensaver isn't running right now, but only because I killed it. It will start up again before too long for no obvious reason.

  6. #6
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    Look for a gnome-screensaver .desktop file in /etc/xdg/autostart or ~/.config/autostart. If one is there, remove it. Also, try clearing out your saved sessions cache (in case its saved there), Settings Manager >> Session and Startup >> Session >> Clear saved sessions.

  7. #7
    Join Date
    Aug 2010
    Location
    Brussels, Belgium
    Beans
    151

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    What happens in this case is that gnome-screensaver starts up again even in the middle of a session. For instance last night I checked that gnome-screensaver was not running. An hour or so later I put the machine into suspend. Just now I woke the machine from suspend and gnome-screensaver was running. I hadn't started a new session.

  8. #8
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    What if you uninstalled it?

  9. #9
    Join Date
    Aug 2010
    Location
    Brussels, Belgium
    Beans
    151

    Re: How to prevent Gnome Screensaver launching in XFCE sessions

    It would take a couple of meta packages with it and I can imagine that leading to complications down the line, not least if I decide to start using Unity again. If I can avoid doing that it would be better.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •