[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:window_managers:xmonad_tiling_window_manager [2012/10/29 19:41 (UTC)] – Links added. Some syntax cleanup sycamorexhowtos:window_managers:xmonad_tiling_window_manager [2012/11/04 15:30 (UTC)] – [Xmonad as a Windowmanager for Slackware] syntax fix sycamorex
Line 4: Line 4:
 Xmonad is a tiling [[slackware:window_manager|window manager]]. For information about tiling window managers please read this wiki: [[http://en.wikipedia.org/wiki/Tiling_window_manager|wikipedia]] Xmonad is a tiling [[slackware:window_manager|window manager]]. For information about tiling window managers please read this wiki: [[http://en.wikipedia.org/wiki/Tiling_window_manager|wikipedia]]
  
-For Xmonad read [[http://xmonad.org/|xmonad.org|here]]+For Xmonad read [[http://xmonad.org/|here]]
  
 ====Required packages==== ====Required packages====
Line 24: Line 24:
   -haskell-parsec   -haskell-parsec
   -xmobar   (provides a statusbar)   -xmobar   (provides a statusbar)
-I have additionally installed [[http://slackbuilds.org/desktop/dwm/|dwm]] which is integrated into the statusbar and starts programs (like gmrun). I have also installed ''trayer'' which provides a systray in the statusbar. Unfortunately ''trayer'' is only available as an rpm-package. I wanted to write a SlackBuild script for it, but the sources are incomplete. Another tray is [[http://slackbuilds.org/desktop/stalonetray/|stalonetray]] which is available via SlackBuilds.org.+I have additionally installed [[http://slackbuilds.org/desktop/dmenu/|dmenu]] which is integrated into the statusbar and starts programs (like gmrun). I have also installed ''trayer'' which provides a systray in the statusbar. Unfortunately ''trayer'' is only available as an rpm-package. I wanted to write a SlackBuild script for it, but the sources are incomplete. Another tray is [[http://slackbuilds.org/desktop/stalonetray/|stalonetray]] which is available via SlackBuilds.org.
  
 ====Configuration of Xmonad==== ====Configuration of Xmonad====
Line 33: Line 33:
 ==.xinitrc== ==.xinitrc==
 the following sections of my ''.xinitrc'' configure ''dbus'', the mouse pointer and ''trayer'', then xmonad is started the following sections of my ''.xinitrc'' configure ''dbus'', the mouse pointer and ''trayer'', then xmonad is started
-<code>+<code bash>
 # Use dbus-launch if installed. # Use dbus-launch if installed.
 if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then
Line 51: Line 51:
 ==.xmobarrc== ==.xmobarrc==
 xmobar is a statusbar and displays useful information, in my case in the top part of the desktop. Below is an example of my ''.xmobarrc'': xmobar is a statusbar and displays useful information, in my case in the top part of the desktop. Below is an example of my ''.xmobarrc'':
-<code>+<code haskell>
 Config { font = "-misc-fixed-bold-R-normal-*-13-*-*-*-*-*-*-*" Config { font = "-misc-fixed-bold-R-normal-*-13-*-*-*-*-*-*-*"
     , bgColor = "#1074EA"     , bgColor = "#1074EA"
Line 81: Line 81:
 ==xmonad.hs== ==xmonad.hs==
 Here is an example of my ''~/.xmonad/xmonad.hs'' file Here is an example of my ''~/.xmonad/xmonad.hs'' file
-<code>+<code haskell>
 import XMonad import XMonad
 import XMonad.Hooks.DynamicLog import XMonad.Hooks.DynamicLog
 howtos:window_managers:xmonad_tiling_window_manager ()