

+ + number - Move the window to the indicated number + number from 1 to 9 - move between the different labels (or desktops) Once inside, with Alt + Shitf + Enter the terminal defined above will be executed. Now, inside the directory where DWM is located, we compile and install: sudo make clean installĪfter this, we exit the current window manager and enter with DWM. The script should be saved in / usr / bin with execute permissions: Mine for example is: #! / bin / bash # setting keyboard layout /usr/share/X11/xkb/rules/base.lst setxkbmap us intl xset + fp / usr / share / fonts / local xset fp rehash nm-applet & parcellite & xfce4-volumed & #Set status bar & start DWM dwmstatus & exec dwm In turn, we will create a script that will be executed when entering this session, called dwm-personalized to which we will give execution permissions and its content will be the execution of all the programs that we want to execute at startup. We will need a file that we will call dwm.desktop and we will place in / usr / share / xsessions, the content should be as follows: Encoding = UTF-8 Name = Dwm-personalized Comment = Dynamic window manager Exec = dwm-personalized Icon = dwm.png Type = XSession Create a DWM session that allows us to execute it when entering the system. There is still something else to do before installing. For this we modify in the file, (or config.h if you have already created the copy) the following line: For this we execute: sudo apt-get install suckless-toolsīefore compiling, it would be ideal to at least change which terminal we want DWM to execute when pressing ALT + Shift + Enter. Once we run make, he will take care of creating it if it doesn't exist.īefore continuing, you might want to install a few tools, such as dmenu, which will allow to launch any program.

Be careful, this file is the one that comes by default, in order to compile it is necessary that the file is called config.h. All modifications will be made in said file. The most important file in terms of configuration is. Once downloaded, we get into the directory. In this case, DWM will not be installed in the conventional way via apt, we will directly clone your repository, for this:
