simplify desktop help in README.fedora and mention bluetile

This commit is contained in:
Jens Petersen 2010-09-17 12:05:28 +10:00
parent 37f145d663
commit 28a5767c88
1 changed files with 12 additions and 34 deletions

View File

@ -1,5 +1,4 @@
= Configuration information = For information, examples, and documentation, please read:
For information, examples, and documentation, please see:
- man xmonad - man xmonad
- "/usr/share/doc/xmonad-$version/xmonad.hs" (full default basic configuration) - "/usr/share/doc/xmonad-$version/xmonad.hs" (full default basic configuration)
@ -8,41 +7,20 @@ For information, examples, and documentation, please see:
(detailed configuration information and examples) (detailed configuration information and examples)
- http://xmonad.org/ website - http://xmonad.org/ website
For extensions, including Desktop support, you need to install To make use of extensions, including adding Desktop support,
ghc-xmonad-contrib-devel. you need to install ghc-xmonad-contrib-devel.
== Desktop support == = EWMH Desktop support =
xmonad does not work well with modern desktop environments out of the box. xmonad does not work well with desktop environment panels out of the box.
Example xmonad configurations for use with a desktop:
=== Generic EWMH Desktop support === See http://haskell.org/haskellwiki/Xmonad/Basic_Desktop_Environment_Integration
or the ghc-xmonad-contrib documentation for how to setup desktop support.
$ cat > xmonad.hs <<EOF == GNOME ==
import XMonad You can override xmonad as your GNOME default window manager with:
import XMonad.Config.Desktop
main = xmonad $ desktopConfig
EOF
$ mkdir -p ~/.xmonad/
$ cp -i xmonad.hs ~/.xmonad/
Then (re)start xmonad and it will compile and run the configuration.
=== GNOME ===
Modify above file:
$ sed -i -e s/Config.Desktop/Config.Gnome/ -e s/desktopConfig/gnomeConfig/ ~/.xmonad/xmonad.hs
Set xmonad as default window manager:
$ gconftool-2 -s /desktop/gnome/session/required_components/windowmanager xmonad --type string $ gconftool-2 -s /desktop/gnome/session/required_components/windowmanager xmonad --type string
=== KDE === = Bluetile =
Modify above file: New users may find the Bluetile window manager built
on top of xmonad-contrib a gentler introduction to xmonad.
$ sed -i -e s/Config.Desktop/Config.Kde/ -e s/desktopConfig/kde4Config/ ~/.xmonad/xmonad.hs
=== Xfce ===
Modify above file:
$ sed -i -e s/Config.Desktop/Config.Xfce/ -e s/desktopConfig/xfceConfig/ ~/.xmonad/xmonad.hs