[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
howtos:window_managers:dwm_-_dynamic_window_manager [2021/11/14 21:15 (UTC)] – Add more information to Dependices, Key Shortcuts, and Program Menu cppimmohowtos:window_managers:dwm_-_dynamic_window_manager [2023/06/09 20:22 (UTC)] (current) – Fix typos & add external links cppimmo
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 ====== dwm - dynamic window manager ====== ====== dwm - dynamic window manager ======
-dwm is a dynamic window manager for X11 that supports organization of windows in tiled, floating, and+[[http://dwm.suckless.org/|dwm]] is a dynamic window manager made by [[http://suckless.org/|suckless]] for the X11 windowing system that supports organization of windows in tiled, floating, and
 monocle layouts. Windows are grouped together on tags where they can be reorganized and modified.\\ \\ monocle layouts. Windows are grouped together on tags where they can be reorganized and modified.\\ \\
 {{:howtos:window_managers:dwm8-25-21.png?nolink&412 |}}\\ {{:howtos:window_managers:dwm8-25-21.png?nolink&412 |}}\\
Line 15: Line 15:
 ===== Starting dwm ===== ===== Starting dwm =====
 The SlackBuilds dwm will create a xinit script for you. The SlackBuilds dwm will create a xinit script for you.
-If you build dwm yourself you will need to create a file named xinitrc.dwm in the +If you build dwm yourself you will need to create a file named //xinitrc.dwm// in the 
-/etc/X11/xinit/ directory. +// /etc/X11/xinit/ // directory. 
-typically xinitrc for dwm might look as such:+typical xinitrc for dwm might look as such:
 <code> <code>
 # /etc/X11/xinit/xinitrc.dwm # /etc/X11/xinit/xinitrc.dwm
Line 28: Line 28:
 exec dwm # start dwm exec dwm # start dwm
 </code> </code>
-With that in place run xwmconfig in your terminal to switch to your configuration file.+With that in place run **xwmconfig** in your terminal to switch to your configuration file.
 ===== Configuration ===== ===== Configuration =====
 dwm configuration is done through the C source code instead of a runtime configuration file. dwm configuration is done through the C source code instead of a runtime configuration file.
-The config.h file contains all of the configuration options. +The //config.h// file contains all of the configuration options. 
 <note important>You will need to run **make** and **sudo make install** in your source directory after each change.</note>  <note important>You will need to run **make** and **sudo make install** in your source directory after each change.</note> 
 ===== Patching ===== ===== Patching =====
Line 38: Line 38:
 ===== Using dwm ===== ===== Using dwm =====
 Using dwm is fairly simple. Try pressing <key>Alt + Shift + Enter</key> to open a terminal emulator. Using dwm is fairly simple. Try pressing <key>Alt + Shift + Enter</key> to open a terminal emulator.
-By default this will be set to st, but you can symbolically link your terminal emulator of choice to st.+By default this will be set to st ([[http://st.suckless.org/|simple terminal]]), but you can symbolically link your terminal emulator of choice to st.
 Now open a few more terminal windows. You should notice the tiling effect. To change focus simply hover your Now open a few more terminal windows. You should notice the tiling effect. To change focus simply hover your
 mouse cursor over another window or press <key>Alt + j/k</key>.\\ \\ mouse cursor over another window or press <key>Alt + j/k</key>.\\ \\
Line 78: Line 78:
  
 ===== Program Menu ===== ===== Program Menu =====
-dmenu is the preferred program launcher/menu for dwm. It spawns a simple, intractable search bar that you can use to search for a program installed on your system. If you also installed dmenu you can press <key>Alt + P</key> and type the program name or use the arrow keys then press enter. This will execute the selected program. You may also press the escape key to cancel the search. \\+[[http://tools.suckless.org/dmenu/|dmenu]] is the preferred program launcher/menu for dwm. It spawns a simple, intractable search bar that you can use to search for a program installed on your system. If you also installed dmenu you can press <key>Alt + P</key> and type the program name or use the arrow keys then press enter. This will execute the selected program. You may also press the escape key to cancel the search. \\
 To install dmenu visit [[https://tools.suckless.org/dmenu/|dmenu - suckless tools]] To install dmenu visit [[https://tools.suckless.org/dmenu/|dmenu - suckless tools]]
 <= <=
 howtos:window_managers:dwm_-_dynamic_window_manager ()