I added the following to both apps and files lenses and now everything starts as it should. Thanks to Michael Terry for debugging :-)
+ /* Sub processes inheriting our environment may be confused if they + * see a starter bus set */ + Environment.unset_variable ("DBUS_STARTER_ADDRESS"); + Environment.unset_variable ("DBUS_STARTER_BUS_TYPE"); ** Also affects: unity-lens-applications Importance: Undecided Status: New ** Changed in: unity-lens-applications Importance: Undecided => High ** Changed in: unity-lens-applications Status: New => Fix Committed ** Changed in: unity-lens-applications Assignee: (unassigned) => Mikkel Kamstrup Erlandsen (kamstrup) ** Changed in: unity-lens-applications Milestone: None => 0.4.12 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/827414 Title: gedit fails to start on first try, but does on the second To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/827414/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs