I installed dwm 6.0 using the file provided here and then...
# make install
# dwm
But running "dwm" gives error: "dwm: cannot open display". I tried "exec dwm", but it starts a new login dialog, basically a new session.
Note: I installed a display manager, and I'm sure it's not a graphics card installation problem, because I tried the "awesome" window manager package and it worked.
dwm is a dynamic window manager for Xorg. It manages windows in tiled, stacked, and full-screen layouts, as well as many others with the help of optional patches. Layouts can be applied dynamically, optimizing the environment for the application in use and the task being performed.
Launch a few terminals with Shift + Alt + Enter and dwm will tile the windows between the master and stack. A new terminal appears on the master window. Existing windows are pushed upon a stack to the right of the screen. Alt + Enter toggles windows between master and stack.
dwm is customised by editing config. h, a C language header file, and config.mk, a Make include file.
First, you will need to install X server and Git (as root)
pacman -S xorg-xinit xorg git
Change directory to /usr/src because you want this to apply to all users:
cd /usr/src
As root, clone suckless software such as dwm (window manager), st (recommended terminal), and dmenu (simple application menu)
git clone git://git.suckless.org/dwm
git clone git://git.suckless.org/st
git clone git://git.suckless.org/dmenu
Change directory into each one, and compile them:
cd dwm ## Do this step also with st and dmenu
sudo make clean install
Add a new user that is under the users group (as root):
useradd -m -g users ari
passwd ari
Log out, log in as new user, and execute:
<favorite text editor> .xinitrc
from there, add "exec dwm" into the file, save, and exit
Start your session with:
startx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With