I realized a while ago that g_debug, g_warning etc had no effect if called from unity-panel-service. unity-panel-service has always contained such calls, but the output mysteriously never appears in ~/.xsession-errors
The problem seems obvious -- it's stdout (1) and stderr (2) descriptors are closed:
ls -l /proc/`pidof unity-panel-service`/fd
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
...
I realized a while ago that g_debug, g_warning etc had no effect if called from unity-panel- service. unity-panel-service has always contained such calls, but the output mysteriously never appears in ~/.xsession-errors
The problem seems obvious -- it's stdout (1) and stderr (2) descriptors are closed:
ls -l /proc/`pidof unity-panel- service` /fd
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
...
ProblemType: Bug 0ubuntu1~ natty1 ature: Ubuntu 2.6.38- 10.46-generic 2.6.38.7 dules: fglrx detection, composite, opengl, compiztoolbox, decor,vpswitch, place,imgpng, regex,unitymtgr abhandles, grid,session, snap,mousepoll, resize, move,animation, expo,ezoom, workarounds, resizeinfo, wall,staticswit cher,fade, scale,unityshel l]
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)