Unity appmenu compatible with XMonad?

Greetings, Has anyone managed to get the Ubuntu's Unity appmenus (a.k.a. global menus: application menus appear on the panel rather than in the application window) to work with XMonad? Starting with a clean installation of Ubuntu 11.10, the appmenus work, in the standard X session. Inspired by http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Unity_2D, I created the following files in order to create a xmonad-and-unity X session. /usr/share/applications/xmonad.desktop: [Desktop Entry] Type=Application Encoding=UTF-8 Name=Xmonad Exec=xmonad NoDisplay=true X-GNOME-WMName=Xmonad X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=true /usr/share/gnome-session/sessions/xmonad.session: [GNOME Session] Name=Xmonad Unity RequiredComponents=gnome-settings-daemon; RequiredProviders=windowmanager;panel; DefaultProvider-windowmanager=xmonad DefaultProvider-panel=unity-2d-panel /usr/share/xsessions/xmonad-unity-session.desktop: [Desktop Entry] Name=XMonad Unity Comment=Tiling window manager TryExec=/usr/bin/gnome-session Exec=gnome-session --session=xmonad Type=XSession I also include , className =? "Unity-2d-panel" --> doIgnore , className =? "Unity-2d-launcher" --> doFloat in my xmonad.hs hooks. XMonad then runs beautifully, except for one serious problem: no application menus appear at all, neither in the application windows, nor on the panel (appmenu). For the time being I have switched off appmenus by UNinstalling the packages appmenu-gtk3 appmenu-qt appmenu-qt thunderbird-globalmenu firefox-globalmenu and the menus now all appear in the application windows. However not wasting space on menubars is in line with the sorts of reasons why I use XMonad, so I would like to try to get appmenus working. Can anyone suggest how to go about trying to get Unity appmenus to work with XMonad? Thanks.

Disclaimer: I am 100% not a Gnome expert.
Quoting Jacek Generowcz
XMonad then runs beautifully, except for one serious problem: no application menus appear at all, neither in the application windows, nor on the panel (appmenu).
This sounds vaguely like a communication problem. Other gnome applications seem to prefer dbus for IPC; have you definitely got a session dbus started correctly and all the appropriate environment variables exported? In case it helps, I have the following in my .xinitrc: #!/usr/bin/env zsh setopt allexport eval $(dbus-launch --sh-syntax --exit-with-session) eval $(gnome-keyring-daemon --components=pkcs11,secrets,ssh,gpg) unsetopt allexport If you don't use zsh, run dbus-launch manually once to see which variables to export. Cheers, ~d

On Wed, Jan 4, 2012 at 13:04,
Quoting Jacek Generowcz
: XMonad then runs beautifully, except for one serious problem: no
application menus appear at all, neither in the application windows, nor on the panel (appmenu).
This sounds vaguely like a communication problem. Other gnome applications seem to prefer
It might bem or it might be it's posting the menus as some unknown kind of special window (e.g. kde4 menus don't show up properly if you don't use the stuff in ManageHelpers which recognizes their special window types). NB: I am not particularly interested in debugging Unity; I fled Ubuntu to get away from it. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
participants (3)
-
Brandon Allbery
-
Jacek Generowcz
-
wagnerdm@seas.upenn.edu