Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2010-03-03 16:19:15
Size: 486
Editor: DanielBolton
Comment:
Revision 10 as of 2017-07-04 08:31:26
Size: 2882
Editor: LluisRubies
Comment: cursor appears after opening terminal, not before
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/Xmonad|Italiano]] -~
Line 4: Line 4:
Describe in one or two lines what your page is about.
Xmonad is a [[WindowManager#tiling_window_managers|tiling window manager]] for the X window system, written in Haskell. It is minimal, stable, very extensible and plays well with desktop environments such as [[Gnome|GNOME]] and [[KDE]].

If you use {{{startx}}} rather than a [[DisplayManager|display manager]] and have GNOME or KDE installed, add
{{{
STARTUP=x-window-manager
}}}
to your {{{~/.xsessionrc}}}.

Until you have learned to use Xmonad, you will want to keep an existing desktop environment available in the system. Xmonad is a possible alternative to Gnome for example. Invoke update-alternatives to have Xmonad take precedence. In this example, openbox is the extant alternative and xmonad is chosen.
{{{
me@computer:~$ sudo update-alternatives --config x-window-manager
There are 2 choices for the alternative x-window-manager (providing /usr/bin/x-w
indow-manager).

  Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/openbox 90 auto mode
  1 /usr/bin/openbox 90 manual mode
  2 /usr/bin/xmonad 20 manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/bin/xmonad to provide /usr/bin/x-window-manager
(x-window-manager) in manual mode.
}}}
Log out and in again to work in Xmonad. Initially it will present a black screen. Type <Alt>+<Shift>+<Enter> to open a terminal and a selection cursor will appear. The guided tour in [[http://xmonad.org/documentation.html]] will be helpful to a novice. After experimenting with Xmonad, run update-alternatives again to reset the window manager. After another logout-login cycle of a display manager or another startx, the more familiar desktop environment should be running.
Line 9: Line 34:
== Title 1 == == Xmonad in Debian ==
Xmonad and its community-maintained extension modules (contrib) can be installed via the standard repositories:
{{{
# aptitude install xmonad libghc6-xmonad-dev libghc6-xmonad-contrib-dev
}}}
The DebianPkg:suckless-tools package is also recommended as it provides dmenu, a simple application launcher which integrates nicely with Xmonad.
Line 11: Line 41:
=== Sub title ===

== Title 2 ==

## You can add other _helpful_ links here.
##== See also ==
== See also ==
 * WindowManager
 * WikiPedia:Xmonad - Wikpedia article
 * http://xmonad.org - Xmonad project homepage
 * [[http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome|Using xmonad in GNOME]] - haskellwiki article
 * [[http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Config-Gnome.html|Xmonad.Config.Gnome]] - API documentation for Xmonad's GNOME-integration extension
Line 19: Line 49:
## If this page belongs to an existing Category, add it below.
CategoryWindowManagers | CategoryTilingWindowManagers
CategoryDesktopEnvironment

Translation(s): English - Italiano


Xmonad is a tiling window manager for the X window system, written in Haskell. It is minimal, stable, very extensible and plays well with desktop environments such as GNOME and KDE.

If you use startx rather than a display manager and have GNOME or KDE installed, add

STARTUP=x-window-manager

to your ~/.xsessionrc.

Until you have learned to use Xmonad, you will want to keep an existing desktop environment available in the system. Xmonad is a possible alternative to Gnome for example. Invoke update-alternatives to have Xmonad take precedence. In this example, openbox is the extant alternative and xmonad is chosen.

me@computer:~$ sudo update-alternatives --config x-window-manager
There are 2 choices for the alternative x-window-manager (providing /usr/bin/x-w
indow-manager).

  Selection    Path              Priority   Status
------------------------------------------------------------
* 0            /usr/bin/openbox   90        auto mode
  1            /usr/bin/openbox   90        manual mode
  2            /usr/bin/xmonad    20        manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/bin/xmonad to provide /usr/bin/x-window-manager
(x-window-manager) in manual mode.

Log out and in again to work in Xmonad. Initially it will present a black screen. Type <Alt>+<Shift>+<Enter> to open a terminal and a selection cursor will appear. The guided tour in http://xmonad.org/documentation.html will be helpful to a novice. After experimenting with Xmonad, run update-alternatives again to reset the window manager. After another logout-login cycle of a display manager or another startx, the more familiar desktop environment should be running.

Xmonad in Debian

Xmonad and its community-maintained extension modules (contrib) can be installed via the standard repositories:

# aptitude install xmonad libghc6-xmonad-dev libghc6-xmonad-contrib-dev

The suckless-tools package is also recommended as it provides dmenu, a simple application launcher which integrates nicely with Xmonad.

See also


CategoryDesktopEnvironment