Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24382 - [xdg-utils] xdg-screensaver erroneously detects gnome screensaver

Attached to Project: Arch Linux
Opened by Norbert Zeh (nzeh) - Saturday, 21 May 2011, 21:37 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 25 May 2012, 16:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: With xscreensaver running, xdg-screensaver sets DE="gnome-screensaver" and, consequently, fails to talk to xscreensaver, trying to talk to gnome-screensaver instead. This leads to a number of problems, including xscreensaver kicking while watching a movie in xine because "xdg-screensaver suspend <win>" does not deactivate xscreensaver.

The problem seems to be that the xdg-screensaver script relies on gnome-screensaver-command returning a non-zero exit code if gnome-screensaver isn't running. This is the strategy it also uses for xscreensaver, and there it works: xscreensaver-command -version returns 255 if xscreensaver isn't running. gnome-screensaver-command, on the other hand, returns 0 no matter what, overriding the previously detected xscreensaver.

Additional info:
* package version(s)
xdg-utils 1.1.0rc1-2
gnome-screensaver 3.0.0-1

Steps to reproduce:

1. Fire up xscreensaver as the screensaver
2. Try "xdg-screensaver activate". This should start the screensaver, but nothing happens.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 25 May 2012, 16:07 GMT
Reason for closing:  No response
Comment by Andreas Radke (AndyRTR) - Sunday, 20 May 2012, 09:29 GMT
Please check xdg-utils-1.1.0-0.20120520-any.pkg.tar.xz in testing if this has been solved or file an upstream issue.

Loading...