XMonad: Difference between revisions

imported>Jooooscha
Clean up rest of the entry, remove some nonsensical parts
H7x4 (talk | contribs)
Add a few links
Line 1: Line 1:
[https://xmonad.org/ xmonad] is a tiling [https://wiki.archlinux.org/title/Window_manager window manager] for X. Windows are arranged automatically to tile the screen without gaps or overlap, maximizing screen use. Window manager features are accessible from the keyboard: a mouse is optional.
[https://xmonad.org/ xmonad] is a tiling [https://wiki.archlinux.org/title/Window_manager window manager] for [[Xorg|X]]. Windows are arranged automatically to tile the screen without gaps or overlap, maximizing screen use. Window manager features are accessible from the keyboard: a mouse is optional.


xmonad is written, configured and extensible in [https://haskell.org/ Haskell]. Custom layout algorithms, key bindings and other extensions may be written by the user in configuration files.
xmonad is written, configured and extensible in [[Haskell]]. Custom layout algorithms, key bindings and other extensions may be written by the user in configuration files.


Layouts are applied dynamically, and different layouts may be used on each workspace. [[Wikipedia:Xinerama|Xinerama]] is fully supported, allowing windows to be tiled on several physical screens.
Layouts are applied dynamically, and different layouts may be used on each workspace. [[Wikipedia:Xinerama|Xinerama]] is fully supported, allowing windows to be tiled on several physical screens.
Line 59: Line 59:


Xmonad is a Window Manager (WM) and not a Desktop Environment (DE). Therefore, among other things,
Xmonad is a Window Manager (WM) and not a Desktop Environment (DE). Therefore, among other things,
Xmonad does not handle power management related things such as sleeping.
Xmonad does not handle [[Power Management|power management]] related things such as sleeping.
However, there are several ways of still adding this functionality.
However, there are several ways of still adding this functionality.


Line 66: Line 66:
The approach goes through the following steps:
The approach goes through the following steps:


* Let the XServer detect idle-situation
* Let the [[Xorg|XServer]] detect idle-situation
* Inform "logind" (i.e. "systemd") about the situation
* Inform "[[Systemd/logind|logind]]" (i.e. "systemd") about the situation
* Let "logind" make the system sleep
* Let "logind" make the system sleep


Line 153: Line 153:


The "with-ghc" should be ghc that's in the "ghc-with-packages" dependency of the "xmonad-with-packages".
The "with-ghc" should be ghc that's in the "ghc-with-packages" dependency of the "xmonad-with-packages".
It can be easily found with "nix-tree", which shows dependencies between packages on the machine.
It can be easily found with "[https://github.com/utdemir/nix-tree nix-tree]", which shows dependencies between packages on the machine.


[[Category:Window managers]]
[[Category:Window managers]]
[[Category:Applications]]
[[Category:Applications]]