when I use xmonad in ubuntu, I follow the tutorial of Xmonad, but there's no app menubar. How can I solve this problem?
my configure file is here:
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
--import XMonad.Config.Gnome
import XMonad.Layout.Gaps
myLayouts = gaps [(U, 24)] -- $ layoutHook gnomeConfig
main = do
-- xmproc <- spawnPipe "/usr/bin/xmobar ~/.xmobarrc"
xmonad $ defaultConfig
{manageHook = composeAll [
-- other hooks,
manageDocks
, className =? "Unity-2d-panel" --> doIgnore
--, className =? "Unity-2d-launcher" --> doIgnore
-- more hooks
]
-- for gnome begin
--manageDocks <+> manageHook defaultConfig
-- for gnome end
, layoutHook = avoidStruts $ layoutHook defaultConfig
--, logHook = dynamicLogWithPP xmobarPP
-- { ppOutput = hPutStrLn xmproc
-- , ppTitle = xmobarColor "green" "" . shorten 50
-- }
, modMask = mod4Mask -- Rebind Mod to the Windows key
}
Looks like you want to remove global appmenu bar, indicator-appmenu.
You can remove it using apt-get:
sudo apt-get remove indicator-appmenu
then logout/login. Note that this is global so all accounts will loose the global appmenu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With