[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:window_managers:xmonad_tiling_window_manager [2012/10/26 23:33 (UTC)] – markush | howtos:window_managers:xmonad_tiling_window_manager [2012/11/03 18:34 (UTC)] – [Required packages] typo markush | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====Xmonad as a Windowmanager for Slackware==== | + | =====Xmonad as a Windowmanager for Slackware===== |
- | Xmonad is a tiling | + | Xmonad is a tiling |
- | For Xmonad read here [[http:// | + | For Xmonad read [[http:// |
- | ===Required packages=== | + | ====Required packages==== |
- | Xmonad is not included in Slackware by default, but available via slackbuilds.org. Xmonad is written in Haskell and therefore some packages of the Haskell-series are required in order to build Xmonad. | + | Xmonad is not included in Slackware by default, but available via [[http://slackbuilds.org/ |
- | Here the packages in the correct order: | + | Here are the packages in the correct |
-ghc (the glasgow-haskell-compiler) | -ghc (the glasgow-haskell-compiler) | ||
-haskell-syb | -haskell-syb | ||
Line 23: | Line 23: | ||
-haskell-text | -haskell-text | ||
-haskell-parsec | -haskell-parsec | ||
- | -xmobar | + | -xmobar |
- | I would also recommend to install dwm and trayer | + | I have additionally installed [[http:// |
+ | |||
+ | ====Configuration of Xmonad==== | ||
+ | After building and installing the above packages you can configure Xmonad. One remarkable feature of xmonad as well as xmobar is that it is not only written in the functional language Haskell, but also the configuration is a Haskell file. This makes it a bit difficult to understand the configuration files if one doesn't know Haskell. Well, I once tried to learn Haskell but (yet) without success. | ||
+ | |||
+ | At first one has to configure '' | ||
- | ===Configuration of Xmonad=== | ||
- | After building and installing the above packages you can configure Xmonad | ||
==.xinitrc== | ==.xinitrc== | ||
- | the following sections of my .xinitrc configure dbus, the mousepointer | + | the following sections of my '' |
- | < | + | < |
# Use dbus-launch if installed. | # Use dbus-launch if installed. | ||
if test x" | if test x" | ||
Line 46: | Line 49: | ||
</ | </ | ||
- | ==Configuring xmobar== | + | ==.xmobarrc== |
- | xmobar displays useful information, | + | xmobar |
- | < | + | < |
Config { font = " | Config { font = " | ||
, bgColor = "# | , bgColor = "# | ||
Line 64: | Line 67: | ||
, Run Memory [" | , Run Memory [" | ||
, Run Swap [] 10 | , Run Swap [] 10 | ||
- | , Run Date "%a %d. %B %H:%M Uhr" " | + | , Run Date "%a %d. %B %H:%M Uhr" " |
, Run StdinReader | , Run StdinReader | ||
] | ] | ||
Line 72: | Line 75: | ||
} | } | ||
</ | </ | ||
- | for an explanation please read the manuals. | + | The first lines configure |
- | ==xmonad.hs== | + | For further explanation please read the manuals. |
- | Here as an example my ~/ | + | |
- | < | + | |
+ | ==xmonad.hs== | ||
+ | Here is an example of my '' | ||
+ | <code haskell> | ||
import XMonad | import XMonad | ||
import XMonad.Hooks.DynamicLog | import XMonad.Hooks.DynamicLog | ||
Line 104: | Line 108: | ||
] ] | ] ] | ||
</ | </ | ||
- | Please read the documentation for xmonad.hs, this is only an example (which works well for me). | + | Please read the documentation for '' |
+ | |||
+ | ====Additional Hints==== | ||
+ | One can reload the configurations for xmobar and/or xmonad after changes with < | ||
- | ===Additional Hints=== | + | When using a tiling |
- | When using a tiling | + | |
====== Sources ====== | ====== Sources ====== | ||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | + | |
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |