Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Haskell
Wiki community
Recent changes
Random page
HaskellWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Xmonad/Using xmonad in Gnome
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Ubuntu Wily=== As for the other methods, some simple configuration files are needed in /usr/share/... directories. I try to keep this section self contained. There are 4 files needed in this method: * A ".desktop" configuration file in "/usr/share/xsessions/". The file populates the display manager (lightdm in my case) with a desktop environment listing that a user can select when logging in. <pre> >cat /usr/share/xsessions/gnome-xmonad.desktop</pre> <pre> [Desktop Entry] Name=GNOME with Xmonad Comment=A GNOME fallback mode session using xmonad as the window manager. Exec=/usr/bin/gnome-session-xmonad TryExec=/usr/bin/gnome-session Icon= Type=Application </pre> * An executable, somewhere, which invokes the "xmonad" gnome session. The script must be pointed to by the xsession config, above. <pre> >cat /usr/bin/gnome-session-xmonad </pre> <pre> #!/bin/sh exec gnome-session --session=xmonad "$@" </pre> * The gnome "xmonad" session config in /usr/share/gnome-session/sessions/ . This configuration file describes the xmonad session invoked by the script. It is responsible for declaring the various components loaded by gnome. <pre> >cat /usr/share/gnome-session/sessions/xmonad.session </pre> <pre> [GNOME Session] Name=XMonad/Unity RequiredComponents=gnome-flashback-init;gnome-flashback;xmonad;unity-settings-daemon;gnome-flashback-services; </pre> :This file was copied from the distribution's "gnome-flashback-metacity", session file, with metacity replaced with xmonad. Also, "gnome-panel" was not loading on log-in, so I removed it from here. * /usr/share/applications/xmonad.desktop : This configuration file tells gnome about the xmonad application, so that it can be loaded in the session file. <pre> >cat /usr/share/applications/xmonad.desktop </pre> <pre> [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=false </pre> As A final step, gnome-panel wasn't loading up properly so on first log-in I started a terminal (ctl+Meta+Enter for my xmonad key bindings) and entered gnome-panel at the prompt. From the panel, I went to systemTools>preferences>startupApplications and added an entry for gnome-panel.
Summary:
Please note that all contributions to HaskellWiki are considered to be released under simple permissive license (see
HaskellWiki:Copyrights
for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!
Cancel
Editing help
(opens in new window)
Toggle limited content width