glib logging from unity-panel-service is never seen in ~/.xsession-errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Confirmed
|
Low
|
Unassigned | ||
unity (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I realized a while ago that g_debug, g_warning etc had no effect if called from unity-panel-
The problem seems obvious -- it's stdout (1) and stderr (2) descriptors are closed:
ls -l /proc/`pidof unity-panel-
total 0
lrwx------ 1 dan dan 64 2011-07-25 15:10 0 -> /dev/null
lrwx------ 1 dan dan 64 2011-07-25 15:10 1 -> /dev/null
...
lrwx------ 1 dan dan 64 2011-07-25 15:10 2 -> /dev/null
...
WORKAROUND:
Open a Terminal and run this:
env PANEL_USE_
Then you will see all the missing messages in the terminal.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.16-
ProcVersionSign
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelMo
Architecture: amd64
CompizPlugins: [core,bailer,
Date: Mon Jul 25 15:03:20 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=en_AU:en
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in unity: | |
importance: | Undecided → Low |
Changed in unity (Ubuntu): | |
importance: | Undecided → Low |
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
tags: | added: unity-panel-service |
Hmm, no quick fix I can see. Closing stdout/stderr appears to be a "feature" of g_dbus_ proxy_new_ for_bus etc.