Hi Dmitry,

Sorry for now answering earlier, I have been swamped with work.

2011-10-02 00:55, Dmitry K skrev:
> 
> I am not 100% sure about xdg-screensaver and VLC. But I tried to discuss
> it at VLC forum http://forum.videolan.org/viewtopic.php?f=13&t=94579
> <http://forum.videolan.org/viewtopic.php?f=13&t=94579> .

You are right, VLC uses xdg-screensaver.

> I have Mageia installed on same laptop. VLC works fine there in same
> configuration.
> The differences between Mageia and Debian installations are:
> -VLC is 1.1.11 in Mageia and 1.1.3 in Debian. Not a big difference I think.
> -Command 
> 
> xdg-screensaver status
> 
> returns "enabled" in Debian vs "disabled" in Mageia in freshly booted
> system.

So then either Mageia doesn't have a screensaver by default,
or something else is wrong.

> Now the question: why is it enabled in Debian and disabled in Mageia? I
> have not found a way to disable it in Debian for a more equal test.

The command to disable it is

xdg-screensaver suspend <window-id>

where <window-id> is an X11 window id for a window to track.
This is what VLC is supposed to do.

Could you please try running

sh -x /usr/bin/xdg-screensaver suspend $(xwininfo -root|grep "Window id:"| cut 
-d' ' -f4)

and send me the output?

Also check if it stops the screensaver from running.

You can enable the screensaver again with

xdg-screensaver resume $(xwininfo -root|grep "Window id:"| cut -d' ' -f4)

-- 
Pelle



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to