Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente |
es:howtos:window_managers:xmonad_tiling_window_manager [2019/08/13 19:45 (UTC)] – [Xmonad as a Windowmanager for Slackware] slackwarespanol | es:howtos:window_managers:xmonad_tiling_window_manager [2019/08/13 19:52 (UTC)] – [.xinitrc] slackwarespanol |
---|
Para Xmonad lea [[http://xmonad.org/|aquí]] | Para Xmonad lea [[http://xmonad.org/|aquí]] |
| |
===== Required packages ===== | ===== Paquetes requeridos ===== |
Xmonad is not included in Slackware by default, but available via [[http://slackbuilds.org/desktop/xmonad/|SlackBuilds.org]]. Xmonad is written in Haskell and therefore some packages of the Haskell series are required in order to build Xmonad. | Xmonad no está incluido en Slackware de manera predeterminada, pero está disponible a través de [[http://slackbuilds.org/desktop/xmonad/|SlackBuilds.org]]. Xmonad está escrito en Haskell y, por lo tanto, se requieren algunos paquetes de la serie Haskell para construir Xmonad. |
Here are the packages in the correct build order: | Aquí están los paquetes en el orden de compilación correcto: |
-ghc (the glasgow-haskell-compiler) | -ghc (the glasgow-haskell-compiler) |
-haskell-syb | -haskell-syb |
-haskell-parsec | -haskell-parsec |
-xmobar (provides a statusbar) | -xmobar (provides a statusbar) |
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. | Además, instale [[http://slackbuilds.org/desktop/dmenu/|dmenu]] que está integrado en la barra de estado e inicia programas (como gmrun). También he instalado '' trayer '' que proporciona una bandeja del sistema en la barra de estado. Desafortunadamente, "trayer" solo está disponible como un paquete rpm. Quería escribir un script de SlackBuild para él, pero las fuentes están incompletas. Otra bandeja es [[http://slackbuilds.org/desktop/stalonetray/|stalonetray]], que está disponible a través de SlackBuilds.org. |
| |
===== Configuration of Xmonad ===== | ===== Configuración de 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't know Haskell. Well, I once tried to learn Haskell but (yet) without success. | Después de compilar e instalar los paquetes anteriores, puede configurar Xmonad. Una característica notable de xmonad y xmobar es que no solo está escrito en el lenguaje funcional Haskell, sino que también la configuración es un archivo Haskell. Esto hace que sea un poco difícil entender los archivos de configuración si uno no conoce a Haskell. Bueno, una vez intenté aprender Haskell pero (todavía) sin éxito. |
| |
At first one has to configure ''.xinitrc'' in order to start Xmonad correctly when changing from runlevel 3 to 4. | Al principio, uno debe configurar '' .xinitrc '' para iniciar Xmonad correctamente al cambiar de nivel de ejecución 3 a 4. |
| |
==== .xinitrc ==== | ==== .xinitrc ==== |
the following sections of my ''.xinitrc'' configure ''dbus'', the mouse pointer and ''trayer'', then xmonad is started | Las siguientes secciones de mi '' .xinitrc '' configuran '' dbus '', el puntero del mouse y '' trayer '', luego se inicia xmonad |
<code bash> | <code bash> |
# Use dbus-launch if installed. | # Use dbus-launch if installed. |