Comment 15 for bug 428884

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: Vlc does not inhibit screensaver

Xtophe (from vlc upstream) suggested that debian bug #541968 and gnome bug #579430 may be relevant. I've checked the proposed patch to gnome-screensaver, and it indeed seems that vlc is using a function in gnome-screensaver that has been replaced by a stub (well, rather a FIXME).

If gnome-screensaver is detected, VLC sends the "Poke" and "SImulateUserActivity" signals in modules/misc/screensaver.c, function poke_screensaver. "Poke" does not seem implemented at all, and "SimulateUserActivity" leads to this function:

static void
gs_monitor_simulate_user_activity (GSMonitor *monitor)
{
        /* FIXME: reset the xsync timer? */

        /* request that the manager unlock -
           will pop up a dialog if necessary */
        gs_manager_request_unlock (monitor->priv->manager);
}

I agree with xtophe that the proposed patch from the gnome bug could help here. Would someone please try that patch out?