Skip to content

UBUNTU_MENUPROXY=1 causes menu to disappear #709

Closed

Description

@jbt

As mentioned in #699, I appear to have my $UBUNTU_MENUPROXY set to 1 on my system which is causing the main menu to think it should be using a global menu (even though I don't have a global menu). I don't think I've done anything deliberate to set that value (just installed gnome-shell 3.10.4 on ubuntu 14.04), so if it's some kind of default I guess it should be accounted for.

(I see @matttbe has already opened #708 for this)

Activity

  1. matttbe commented on Oct 15, 2014

    @matttbe
    Contributor

    Hello,

    Do you still have this bug if you launch Atom with this command:

    env UBUNTU_MENUPROXY=0 atom
    

    If not, #708 should fix this bug :-)

    Note that it's strange to set this environment variable to 1 but ok.
    We could check if $UBUNTU_MENUPROXY == libappmenu.so but they can change the name or we can use another (custom) menu proxy.

  2. jbt commented on Oct 15, 2014

    @jbt
    Author

    Yeah with UBUNTU_MENUPROXY=0it works fine.

    Although, and you'll probably hate me for this: I've just discovered that on my other machine (ubuntu 12.04, both unity and gnome-shell installed) my $UBUNTU_MENUPROXY is always set to libappmenu.so even when I'm in gnome-shell with no global menu. Just digging around and I think it's set by appmenu-gtk3 package regardless of which desktop I'm actually using.

    Maybe I've got a slightly weird setup (I'm happy to override it myself, that's fine) or maybe the env var isn't reliable enough. I admit I know nothing about these things but this page suggests gtx_menu_proxy_get might be a better way to detect global menu handler

  3. matttbe commented on Oct 15, 2014

    @matttbe
    Contributor

    this page suggests gtx_menu_proxy_get might be a better way to detect global menu handler

    Thank you for this link! I'll have a look ASAP :-)

  4. matttbe commented on Oct 16, 2014

    @matttbe
    Contributor

    It seems gtk_menu_proxy_get() function does no longer exist.

    Typically, when you've this kind bug (that you could have with Eclipse, Filezilla, etc.), you will find a solution which say that you've to unset $UBUNTU_MENUPROXY.

    Another way to detect if this menu proxy is running is to check if libappmenu.so is running but it's maybe not the best solution. Or we can maybe check if com.canonical.AppMenu.Registrar bus is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions