[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/27 15:47 (UTC)] – markush | howtos:window_managers:xmonad_tiling_window_manager [2012/11/03 18:34 (UTC)] – [Required packages] typo markush | ||
---|---|---|---|
Line 2: | Line 2: | ||
=====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 24: | Line 24: | ||
-haskell-parsec | -haskell-parsec | ||
-xmobar | -xmobar | ||
- | I have additionally installed | + | I have additionally installed |
====Configuration of Xmonad==== | ====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 configurationfiles | + | 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' |
- | At first one has to configure .xinitrc in order to start Xmonad correctly when changing from runlevel 3 to 4. | + | At first one has to configure |
==.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 50: | Line 50: | ||
==.xmobarrc== | ==.xmobarrc== | ||
- | xmobar is a statusbar and displays useful information, | + | xmobar is a statusbar and displays useful information, |
- | < | + | < |
Config { font = " | Config { font = " | ||
, bgColor = "# | , bgColor = "# | ||
Line 67: | 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 75: | Line 75: | ||
} | } | ||
</ | </ | ||
- | The first lines configure the font, foreground/ | + | The first lines configure the font, foreground/ |
For further explanation please read the manuals. | For further explanation please read the manuals. | ||
==xmonad.hs== | ==xmonad.hs== | ||
- | Here as an example my ~/ | + | Here is an example |
- | < | + | < |
import XMonad | import XMonad | ||
import XMonad.Hooks.DynamicLog | import XMonad.Hooks.DynamicLog | ||
Line 109: | 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==== | ====Additional Hints==== | ||
- | When using a tiling | + | One can reload the configurations for xmobar and/or xmonad after changes with < |
+ | |||
+ | 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 --> | ||
Line 122: | Line 123: | ||
<!-- 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> |