GNOME Bugzilla – Bug 661079
Power plugin clutters .xsession-errors with "No backlights were found on your system"
Last modified: 2012-03-16 10:37:21 UTC
Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=743864 Power plugin clutters .xsession-errors with "No backlights were found on your system". I don't think gsd-backlight-helper.c should use g_print for errors at all, unless run with debug flags or something.
Hmm, we don't g_print anything in the power plugin, the only thing we spawn is the gsd-backlight-helper that has all it's stdout redirected by g_spawn_command_line_sync -- so I'm a little confused *how* that's ending up in xsession-errors. I'll have a better look later.
commit 10bc14e9fc94a708da0839ad370c51894d35a30d Author: Richard Hughes <richard@hughsie.com> Date: Fri Mar 16 10:35:59 2012 +0000 power: Don't print a message when no backlights are detected The backlight helper isn't designed to be run by end users, and by echoing failure to standard out, it gets put in .xsession-errors. We don't need the text for anything, so just simply remove it. Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=661079