Inhibition of xscreensaver with XScreenSaverSuspend fail

Bug #718176 reported by Julien Lavergne
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xscreensaver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xscreensaver

I'm trying to stop xscreensaver using XScreenSaverSuspend, but it doesn't seems to work.
I writed a test case to test the behavior, and it confirmed the problem. (see tect.c attached)
XScreenSaverSuspend is used at least in mplayer and gnome-mplayer to stop the screensaver when a video is played.

Revision history for this message
Julien Lavergne (gilir) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xscreensaver (Ubuntu):
status: New → Confirmed
Revision history for this message
James Fraser (wulfgar-pro) wrote :

XScreenSaverSuspend comes from the X11 Screen Saver extension library, Package: libxss-dev.

This is naming confusion - XScreenSaverSuspend has nothing to do with xscreensaver. After speaking with the xscreensaver devs, libxss-dev package isn't used by the team. They recommend the use of the xscreensaver-command utility to achieve such functionality.

Revision history for this message
James Fraser (wulfgar-pro) wrote :

This is the functionality you want:

> man xscreensaver-command

-deactivate
               This tells xscreensaver to pretend that there has just been
               user activity. This means that if the screensaver is active
               (the screen is blanked), then this command will cause the
               screen to un-blank as if there had been keyboard or mouse
               activity. If the screen is locked, then the password dialog
               will pop up first, as usual. If the screen is not blanked,
               then this simulated user activity will re-start the countdown
               (so, issuing the -deactivate command periodically is one way to
               prevent the screen from blanking.)

Changed in xscreensaver (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.