! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE aren't always unset from envir...
Status:
RESOLVED: FIXED

Comments

Description M. Vefa Bicakci 2012-04-30 18:18:01 CEST
Hello,

As can be guessed from the summary line, Thunar does not always unset the DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE environment variables when spawning a program.

As an example, this bug prevents gedit from starting if one double-clicks a text file on the desktop or in Thunar. If one persists and double-clicks once more, only then gedit starts. (For the record, using the context menu and selecting "Open with gedit" works fine. I had a short look at Thunar's source code, and double clicking and opening via the context-menu seem to have different code paths.)

I have confirmed that this problem exists by replacing /usr/bin/gedit with a script that removes the above-mentioned environment variables before starting the actual gedit binary, and observing that with this modification gedit starts properly after one double-clicks on a text file.

For the record, here is a bug report from Ubuntu's Unity, which confirms that the mentioned environment variables should be unset before spawning a program:

https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/873027

Thank you,

M. Vefa Bicakci
Comment 1 M. Vefa Bicakci 2012-04-30 18:19:46 CEST
I forgot to mention my platform: I am using an up-to-date Debian Sid based installation with Thunar 1.2.3.

Please let me know if I have missed any details.
Comment 2 Nick Schermer editbugs 2012-09-28 20:51:24 CEST
Fixed in ae5f402.

Bug #8800

Reported by:
M. Vefa Bicakci
Reported on: 2012-04-30
Last modified on: 2012-09-28

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information