** Description changed:

  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
  ...
  
+ WORKAROUND:
+ Open a Terminal and run this:
+   env PANEL_USE_LOCAL_SERVICE=1 unity --replace
+ Then you will see all the missing messages in the terminal.
+ 
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: unity 3.8.16-0ubuntu1~natty1
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  CompizPlugins: 
[core,bailer,detection,composite,opengl,compiztoolbox,decor,vpswitch,place,imgpng,regex,unitymtgrabhandles,grid,session,snap,mousepoll,resize,move,animation,expo,ezoom,workarounds,resizeinfo,wall,staticswitcher,fade,scale,unityshell]
  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
+  LANGUAGE=en_AU:en
+  LANG=en_AU.UTF-8
+  SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/815715

Title:
  glib logging from unity-panel-service is never seen in ~/.xsession-
  errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/815715/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to