dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #25997
[Bug 1172837] Re: Python appindicator doesn't work in 13.04 when run as root
*** This bug is a duplicate of bug 1289204 ***
https://bugs.launchpad.net/bugs/1289204
Done. But the cause it's the same. So it's better to keep them in the
same place.
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1172837
Title:
Python appindicator doesn't work in 13.04 when run as root
Status in Unity:
New
Status in unity package in Ubuntu:
New
Bug description:
I have created a simple python program that uses the appinidicator function of unity (attached).
When I run it as a regular user, it works perfectly. But when I use 'sudo ./testindicator.py' instead of '/testindicator.py' it doesn't show up.
This only happens while running the latest version of unity in ubuntu 13.04.
This is what it looks like from command-line:
daboross@DaboUbuntu:~$ ./testindicator/testindicator.py
^CTraceback (most recent call last):
File "./testindicator/testindicator.py", line 20, in <module>
gtk.main()
KeyboardInterrupt
daboross@DaboUbuntu:~$ sudo ./testindicator/testindicator.py
^CTraceback (most recent call last):
File "./testindicator/testindicator.py", line 20, in <module>
gtk.main()
KeyboardInterrupt
(testindicator.py:16215): libappindicator-WARNING **: Unable to send signal for NewStatus: The connection is closed
daboross@DaboUbuntu:~$
I used ctrl-c to stop the program. From the time when I used the first
command to when I used ctrl-c, an indicator icon did appear. It didn't
when I used `sudo`.
There is another program that I am using (pyAlienFX), that needs to
run an appindicator as root. In 13.04, it seems that this does not
work.
This bug does not occur when I used `sudo` and am on Ubuntu 12.04.
This is the output of unity --version:
daboross@DaboUbuntu:~$ unity --version
unity 7.0.0
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unity 7.0.0daily13.04.18~13.04-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Thu Apr 25 11:19:15 2013
InstallationDate: Installed on 2013-04-20 (5 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130419)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1172837/+subscriptions