Having a look at XMonad window manager

I downloaded XMonad from the Fedora 12 repository and would like to see it in action. What must I do to get it working from the Gnome desktop environment? Michael

michael rice
I downloaded XMonad from the Fedora 12 repository and would like to see it in action.
What must I do to get it working from the Gnome desktop environment?
See the associated documentation at http://www.haskell.org/haskellwiki/Xmonad -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic
I downloaded XMonad from the Fedora 12 repository and would like to see it in action.
What must I do to get it working from the Gnome desktop environment?
See the associated documentation at http://www.haskell.org/haskellwiki/Xmonad -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Well, for starters the Fedora entry for installing XMonad is blank/empty:
http://www.haskell.org/haskellwiki/Xmonad/Installing_xmonad#Fedora
Some things I've done:
I set up a .xmonad directory in my home directory with this xmonad.hs
[michael@localhost ~]$ cat ~/.xmonad/xmonad.hs
--
-- An example, simple ~/.xmonad/xmonad.hs file.
-- It overrides a few basic settings, reusing all the other defaults.
--
import XMonad
main = xmonad $ defaultConfig
{ borderWidth = 2
, terminal = "urxvt"
, normalBorderColor = "#cccccc"
, focusedBorderColor = "#cd8b00" }
[michael@localhost ~]$
I set up a .xsession directory in my home directory with this in it
[michael@localhost ~]$ cat .xsession
export WINDOW_MANAGER="/usr/bin/xmonad"
exec gnome-session
[michael@localhost ~]$
Because supposedly X doesn't even check .xsession file without having xorg-x11-xinit-session installed, I also downloaded that.
I set up a XMonad.desktop file in /usr/share/applications directory
[michael@localhost ~]$ cat /usr/share/applications/Xmonad.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Xmonad
# change this path according to your xmonad binary
Exec=/usr/bin/xmonad
NoDisplay=true
X-GNOME-WMName=Xmonad
X-GNOME-Bugzilla-Bugzilla=XMonad
X-GNOME-Bugzilla-Product=xmonad
X-GNOME-Bugzilla-Component=general
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
X-GNOME-Autostart-Notify=true
[michael@localhost ~]$
I added /usr/bin/xmonad to startup applications.
All these things were suggested.
Michael
--- On Mon, 1/18/10, Don Stewart
I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
What's the problem exactly? -- Don

Oh, is Fedora still using a version of GDM that doesn't let you use a
custom .Xsession (or even remember that you want to use something that
isn't called "Gnome")?
michael rice
Well, for starters the Fedora entry for installing XMonad is blank/empty: http://www.haskell.org/haskellwiki/Xmonad/Installing_xmonad#Fedora
Some things I've done:
I set up a .xmonad directory in my home directory with this xmonad.hs
[michael@localhost ~]$ cat ~/.xmonad/xmonad.hs -- -- An example, simple ~/.xmonad/xmonad.hs file. -- It overrides a few basic settings, reusing all the other defaults. --
import XMonad
main = xmonad $ defaultConfig { borderWidth = 2 , terminal = "urxvt" , normalBorderColor = "#cccccc" , focusedBorderColor = "#cd8b00" }
[michael@localhost ~]$
I set up a .xsession directory in my home directory with this in it
[michael@localhost ~]$ cat .xsession export WINDOW_MANAGER="/usr/bin/xmonad" exec gnome-session
[michael@localhost ~]$
Because supposedly X doesn't even check .xsession file without having xorg-x11-xinit-session installed, I also downloaded that.
I set up a XMonad.desktop file in /usr/share/applications directory
[michael@localhost ~]$ cat /usr/share/applications/Xmonad.desktop [Desktop Entry] Type=Application Encoding=UTF-8 Name=Xmonad # change this path according to your xmonad binary Exec=/usr/bin/xmonad NoDisplay=true X-GNOME-WMName=Xmonad X-GNOME-Bugzilla-Bugzilla=XMonad X-GNOME-Bugzilla-Product=xmonad X-GNOME-Bugzilla-Component=general X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=true [michael@localhost ~]$
I added /usr/bin/xmonad to startup applications.
All these things were suggested.
Michael
--- On Mon, 1/18/10, Don Stewart
wrote: From: Don Stewart
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: "Ivan Lazar Miljenovic" , haskell-cafe@haskell.org Date: Monday, January 18, 2010, 3:30 PM nowgate:
I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
What's the problem exactly?
-- Don
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Perhaps. Is there a Linux distro that's more XMonad friendly?
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic
Well, for starters the Fedora entry for installing XMonad is blank/empty: http://www.haskell.org/haskellwiki/Xmonad/Installing_xmonad#Fedora
Some things I've done:
I set up a .xmonad directory in my home directory with this xmonad.hs
[michael@localhost ~]$ cat ~/.xmonad/xmonad.hs -- -- An example, simple ~/.xmonad/xmonad.hs file. -- It overrides a few basic settings, reusing all the other defaults. --
import XMonad
main = xmonad $ defaultConfig { borderWidth = 2 , terminal = "urxvt" , normalBorderColor = "#cccccc" , focusedBorderColor = "#cd8b00" }
[michael@localhost ~]$
I set up a .xsession directory in my home directory with this in it
[michael@localhost ~]$ cat .xsession export WINDOW_MANAGER="/usr/bin/xmonad" exec gnome-session
[michael@localhost ~]$
Because supposedly X doesn't even check .xsession file without having xorg-x11-xinit-session installed, I also downloaded that.
I set up a XMonad.desktop file in /usr/share/applications directory
[michael@localhost ~]$ cat /usr/share/applications/Xmonad.desktop [Desktop Entry] Type=Application Encoding=UTF-8 Name=Xmonad # change this path according to your xmonad binary Exec=/usr/bin/xmonad NoDisplay=true X-GNOME-WMName=Xmonad X-GNOME-Bugzilla-Bugzilla=XMonad X-GNOME-Bugzilla-Product=xmonad X-GNOME-Bugzilla-Component=general X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=true [michael@localhost ~]$
I added /usr/bin/xmonad to startup applications.
All these things were suggested.
Michael
--- On Mon, 1/18/10, Don Stewart
wrote: From: Don Stewart
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: "Ivan Lazar Miljenovic" , haskell-cafe@haskell.org Date: Monday, January 18, 2010, 3:30 PM nowgate:
I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
What's the problem exactly?
-- Don
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

I've been quite happy with Ubuntu's xmonad package, though I run it
within a GNOME session.
Have you tried the instructions on the XMonad wiki for inter-operating
with GNOME? http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome
On Mon, Jan 18, 2010 at 13:40, michael rice
Perhaps. Is there a Linux distro that's more XMonad friendly?
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic
wrote: From: Ivan Lazar Miljenovic
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: "Don Stewart" , haskell-cafe@haskell.org Date: Monday, January 18, 2010, 4:26 PM Oh, is Fedora still using a version of GDM that doesn't let you use a custom .Xsession (or even remember that you want to use something that isn't called "Gnome")?
michael rice
writes: Well, for starters the Fedora entry for installing XMonad is blank/empty: http://www.haskell.org/haskellwiki/Xmonad/Installing_xmonad#Fedora
Some things I've done:
I set up a .xmonad directory in my home directory with this xmonad.hs
[michael@localhost ~]$ cat ~/.xmonad/xmonad.hs -- -- An example, simple ~/.xmonad/xmonad.hs file. -- It overrides a few basic settings, reusing all the other defaults. --
import XMonad
main = xmonad $ defaultConfig { borderWidth = 2 , terminal = "urxvt" , normalBorderColor = "#cccccc" , focusedBorderColor = "#cd8b00" }
[michael@localhost ~]$
I set up a .xsession directory in my home directory with this in it
[michael@localhost ~]$ cat .xsession export WINDOW_MANAGER="/usr/bin/xmonad" exec gnome-session
[michael@localhost ~]$
Because supposedly X doesn't even check .xsession file without having xorg-x11-xinit-session installed, I also downloaded that.
I set up a XMonad.desktop file in /usr/share/applications directory
[michael@localhost ~]$ cat /usr/share/applications/Xmonad.desktop [Desktop Entry] Type=Application Encoding=UTF-8 Name=Xmonad # change this path according to your xmonad binary Exec=/usr/bin/xmonad NoDisplay=true X-GNOME-WMName=Xmonad X-GNOME-Bugzilla-Bugzilla=XMonad X-GNOME-Bugzilla-Product=xmonad X-GNOME-Bugzilla-Component=general X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=true [michael@localhost ~]$
I added /usr/bin/xmonad to startup applications.
All these things were suggested.
Michael
--- On Mon, 1/18/10, Don Stewart
wrote: From: Don Stewart
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: "Ivan Lazar Miljenovic" , haskell-cafe@haskell.org Date: Monday, January 18, 2010, 3:30 PM nowgate:
I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
What's the problem exactly?
-- Don
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

For a completely different approach, I've had good success running xmonad from either Ubuntu minimal (which is a bare-bones version of Ubuntu that few people realize exists) or Arch Linux. In either case you have to spend more time setting up the system, but the results IMO are worth it. I don't use gdm but use a customized .xinitrc script which I invoke myself through startx. Mike John Millikin wrote:
I've been quite happy with Ubuntu's xmonad package, though I run it within a GNOME session.
Have you tried the instructions on the XMonad wiki for inter-operating with GNOME? http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome
On Mon, Jan 18, 2010 at 13:40, michael rice
wrote: Perhaps. Is there a Linux distro that's more XMonad friendly?
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic
wrote: From: Ivan Lazar Miljenovic
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: "Don Stewart" , haskell-cafe@haskell.org Date: Monday, January 18, 2010, 4:26 PM Oh, is Fedora still using a version of GDM that doesn't let you use a custom .Xsession (or even remember that you want to use something that isn't called "Gnome")?
michael rice
writes: Well, for starters the Fedora entry for installing XMonad is blank/empty: http://www.haskell.org/haskellwiki/Xmonad/Installing_xmonad#Fedora
Some things I've done:
I set up a .xmonad directory in my home directory with this xmonad.hs
[michael@localhost ~]$ cat ~/.xmonad/xmonad.hs -- -- An example, simple ~/.xmonad/xmonad.hs file. -- It overrides a few basic settings, reusing all the other defaults. --
import XMonad
main = xmonad $ defaultConfig { borderWidth = 2 , terminal = "urxvt" , normalBorderColor = "#cccccc" , focusedBorderColor = "#cd8b00" }
[michael@localhost ~]$
I set up a .xsession directory in my home directory with this in it
[michael@localhost ~]$ cat .xsession export WINDOW_MANAGER="/usr/bin/xmonad" exec gnome-session
[michael@localhost ~]$
Because supposedly X doesn't even check .xsession file without having xorg-x11-xinit-session installed, I also downloaded that.
I set up a XMonad.desktop file in /usr/share/applications directory
[michael@localhost ~]$ cat /usr/share/applications/Xmonad.desktop [Desktop Entry] Type=Application Encoding=UTF-8 Name=Xmonad # change this path according to your xmonad binary Exec=/usr/bin/xmonad NoDisplay=true X-GNOME-WMName=Xmonad X-GNOME-Bugzilla-Bugzilla=XMonad X-GNOME-Bugzilla-Product=xmonad X-GNOME-Bugzilla-Component=general X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=true [michael@localhost ~]$
I added /usr/bin/xmonad to startup applications.
All these things were suggested.
Michael
--- On Mon, 1/18/10, Don Stewart
wrote: From: Don Stewart
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: "Ivan Lazar Miljenovic" , haskell-cafe@haskell.org Date: Monday, January 18, 2010, 3:30 PM nowgate:
I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
What's the problem exactly?
-- Don
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Mon, Jan 18, 2010 at 11:53 PM, John Millikin
I've been quite happy with Ubuntu's xmonad package, though I run it within a GNOME session.
Have you tried the instructions on the XMonad wiki for inter-operating with GNOME? http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome
I myself had such a setup (Xmonad in Gnome on Ubuntu) for more than a year and it really was quite good. XMonad works quite well with KDE/Gnome or other major desktops. -- Jedaï

How did you configure it? Are you still using it?
Michael
--- On Tue, 1/19/10, Chaddaï Fouché
I've been quite happy with Ubuntu's xmonad package, though I run it within a GNOME session.
Have you tried the instructions on the XMonad wiki for inter-operating with GNOME? http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome
I myself had such a setup (Xmonad in Gnome on Ubuntu) for more than a year and it really was quite good. XMonad works quite well with KDE/Gnome or other major desktops. -- Jedaï

michael rice
Perhaps. Is there a Linux distro that's more XMonad friendly?
I use Ubuntu, in the GDM login screen, I get a drop down menu that includes Xmonad as an option. Even if Fedora doesn't have this, it probably has a "Failsafe" option that will just give you an xterm, from which you can run xmonad manually? -k -- If I haven't seen further, it is by standing in the footprints of giants

Hi Ketil,
I was just looking around and found this:
http://xwinman.org/
No mention of XMonad here, even under the "Other" category.
I got it running but it became unresponsive as soon as I deleted a window, and instead of tiling newly opened windows it just displayed them in the top left corner, obscuring what was already there (possibly the way it's supposed to work?). But the XMonad video I watched on YouTube looked interesting enough to pursue it further, so I'm in research mode.
Thanks,
Michael
--- On Wed, 1/20/10, Ketil Malde
Perhaps. Is there a Linux distro that's more XMonad friendly?
I use Ubuntu, in the GDM login screen, I get a drop down menu that includes Xmonad as an option. Even if Fedora doesn't have this, it probably has a "Failsafe" option that will just give you an xterm, from which you can run xmonad manually? -k -- If I haven't seen further, it is by standing in the footprints of giants

It seems I was doing MUCH more than I needed to do to have a look at XMonad in action. I went back and created a .xsession file with just one line: xmonad I then disabled Nautilus (unchecked show desktop) and started xmonad as follows killall metacity; xmonad & Everything now seems to work fine. Impressive app! Thanks all, Michael

michael rice
I'd already found a lot of these links and tried some of their suggestions, without any success. Does anyone who posts here actually use it (what platform)?
Note that XMonad has its own dedicated mailing list as well...
Michael
--- On Mon, 1/18/10, Ivan Lazar Miljenovic
wrote: From: Ivan Lazar Miljenovic
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager To: "michael rice" Cc: haskell-cafe@haskell.org Date: Monday, January 18, 2010, 1:57 PM michael rice
writes: I downloaded XMonad from the Fedora 12 repository and would like to see it in action.
What must I do to get it working from the Gnome desktop environment?
See the associated documentation at http://www.haskell.org/haskellwiki/Xmonad
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (7)
-
Chaddaï Fouché
-
Don Stewart
-
Ivan Lazar Miljenovic
-
John Millikin
-
Ketil Malde
-
michael rice
-
Michael Vanier