You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
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.
Activity
matttbe commentedon Oct 15, 2014
Hello,
Do you still have this bug if you launch Atom with this command:
If not, #708 should fix this bug :-)
Note that it's strange to set this environment variable to
1but ok.We could check if
$UBUNTU_MENUPROXY == libappmenu.sobut they can change the name or we can use another (custom) menu proxy.jbt commentedon Oct 15, 2014
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_MENUPROXYis always set tolibappmenu.soeven 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_getmight be a better way to detect global menu handlermatttbe commentedon Oct 15, 2014
Thank you for this link! I'll have a look ASAP :-)
matttbe commentedon Oct 16, 2014
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.sois running but it's maybe not the best solution. Or we can maybe check ifcom.canonical.AppMenu.Registrarbus is available.