Bug#647791: xdg-screensaver: gnome-screensaver detected by default

2011-11-07 Thread Tanguy Ortolo
Per Olofsson, 2011-11-08 00:03 UTC+0100: > We also need to add LC_ALL=C, otherwise gnome-screensaver-command will > output a localised message. That would be safer, but I do not think it does: I get the message in English here, even with my French locale. -- ,--. : /` ) Tanguy Ortolo | `-'

Bug#647791: xdg-screensaver: gnome-screensaver detected by default

2011-11-07 Thread Per Olofsson
2011-11-06 22:10, Tanguy Ortolo skrev: > Tanguy Ortolo, 2011-11-06 13:25 UTC+0100: >> Here is a patch to correct that: it adds a grep to look for “not running” in >> gnome-screensaver-command's stderr instead of relying on the exit code. I >> also >> modified the xscreensaver detection line just a

Bug#647791: xdg-screensaver: gnome-screensaver detected by default

2011-11-07 Thread Per Olofsson
Hi Tanguy, 2011-11-06 13:25, Tanguy Ortolo skrev: > The latest version of gnome-screensaver-command does not seem to exit 1 when > gnome-screensaver is not running. As a consequence, xdg-screensaver:966 always > considers gnome-screensaver is being used. Thanks a lot for spotting this! > Here is

Bug#647791: xdg-screensaver: gnome-screensaver detected by default

2011-11-06 Thread Tanguy Ortolo
Tanguy Ortolo, 2011-11-06 13:25 UTC+0100: > Here is a patch to correct that: it adds a grep to look for “not running” in > gnome-screensaver-command's stderr instead of relying on the exit code. I also > modified the xscreensaver detection line just above to use the quiet option of > grep, which is

Bug#647791: xdg-screensaver: gnome-screensaver detected by default

2011-11-06 Thread Tanguy Ortolo
Package: xdg-utils Version: 1.1.0~rc1-2 Severity: normal Tags: patch Hello, The latest version of gnome-screensaver-command does not seem to exit 1 when gnome-screensaver is not running. As a consequence, xdg-screensaver:966 always considers gnome-screensaver is being used. Here is a patch to co