Unity Panel + XMonad config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/share/xsessions/xmonad-unity.desktop | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=XMonad/Unity | |
Comment=Xmonad+Unity | |
Exec=gnome-session --session=xmonad_unity | |
Icon=xmonad.png | |
Type=Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/share/applications/xmonad.desktop | |
# apt-get will create this one for you, but you'll have to create it yourself if installing manually | |
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- $HOME/.xmonad/xmonad.hs | |
import XMonad | |
import XMonad.Config.Gnome | |
import XMonad.Hooks.ManageHelpers | |
myManageHook = composeAll [ | |
className =? "Unity-2d-panel" --> doIgnore, | |
className =? "Unity-2d-launcher" --> doFloat, | |
isFullscreen --> doFullFloat | |
] | |
main = xmonad $ gnomeConfig { | |
manageHook = myManageHook <+> manageHook gnomeConfig, | |
terminal = "gnome-terminal", | |
modMask = mod4Mask | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/share/gnome-session/sessions/xmonad_unity.session | |
[GNOME Session] | |
Name=Xmonad+Unity | |
RequiredComponents=gnome-settings-daemon; | |
RequiredProviders=windowmanager;panel | |
DefaultProvider-windowmanager=xmonad | |
DefaultProvider-panel=unity-2d-panel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment