[Bug 1433013] Re: Super -> exec vs Alt-F2 -> exec have different environment

Launchpad Bug Tracker 1433013 at bugs.launchpad.net
Fri May 13 08:26:13 UTC 2016

** Branch linked: lp:~ubuntu-desktop/gnome-session/ubuntu-xenial

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.

  Super -> exec vs Alt-F2 -> exec have different environment

Status in gnome-session package in Ubuntu:
  Fix Committed
Status in upstart package in Ubuntu:
  Fix Released
Status in upstart source package in Trusty:
Status in upstart source package in Utopic:
  Won't Fix
Status in upstart source package in Vivid:
Status in gnome-session source package in Xenial:
  In Progress
Status in upstart source package in Xenial:

Bug description:
  upstart in user session manages environmental variables and most
  things have them, however Alt-f2 started processes lack them.

  Some environment variables are missing from apps that are launcher from Alt+f2 command lens, or in general with dbus-activation (an example might be gnome-terminal, global menu not working).

  [Test case]
  Super Key -> "xterm" -> Enter -> env | grep SSH

  it should return something like:

  Alt+F2 -> "xterm" -> Enter -> env | grep SSH

  The returned values should match the results got from the xterm
  instance that has been ran from unity dash application lens (the one
  opened with Super).

  The same should be checked for the variable XDG_MENU_PREFIX

  Before this fix happened we had this result:
    via Super Key -> the environment is correct
    via Alt-F2 -> it is not

  [Regression potential]

  Nothing known. Some variables could be overridden, but this is

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list