[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 revision | ||
howtos:window_managers:xmonad_tiling_window_manager [2012/10/26 23:36 (UTC)] – added tags markush | howtos:window_managers:xmonad_tiling_window_manager [2012/12/20 03:16 (UTC)] (current) – [Sources] added author tag mfillpot | ||
---|---|---|---|
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=== | + | ===== Configuration of Xmonad |
- | After building and installing the above packages you can configure 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' |
- | ==.xinitrc== | + | |
- | the following sections of my .xinitrc configure dbus, the mousepointer | + | At first one has to configure '' |
- | < | + | |
+ | ==== .xinitrc | ||
+ | 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 < | ||
+ | |||
+ | When using a tiling window manager one experiences that some applications behave unusual. In my '' | ||
- | ===Additional Hints=== | ||
- | When using a tiling windowmanager one experiences that some applications behave unusual. In my above xmonad.hs you see Vlc and Gimp in the List of programs which should float. In order to find out the so called " | ||
====== 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> |