After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661079 - Power plugin clutters .xsession-errors with "No backlights were found on your system"
Power plugin clutters .xsession-errors with "No backlights were found on your...
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-06 13:17 UTC by Elad Alfassa
Modified: 2012-03-16 10:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elad Alfassa 2011-10-06 13:17:36 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.
Comment 1 Richard Hughes 2011-10-06 13:49:54 UTC
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.
Comment 2 Richard Hughes 2012-03-16 10:37:21 UTC
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