If all I want to do is reconfigure the software (e.g., change key bindings),
which is what I need most of the time, the recommended approach is to modify
the config.h file. If the config.h isn’t yet in the project, the following
-command generates it from the defaults and compiles the software:
-
-
make clean <target>
-
-
-
Where <target> is the name of the application (e.g., dwm) found in the
-Makefile. I modify the resulting config.h file and run make clean install to
-install the software before committing and pushing my changes to my git repo.
+command generates it from the defaults and compiles the software using make
+clean <target> here <target> is the name of the application (e.g., dwm)
+found in the Makefile. I modify the resulting config.h file and run make clean
+install to install the software before committing and pushing my changes to my
+git repo.
dwm and slstatus
Since dwm and slstatus are always running, make install will likely fail for
them. The operating system will prevent the installer from replacing running
executables with new ones. Hence, we must first stop the running instances of
-these programs:
-
-
-
Quit the window manager: Mod + Shift + q (or if you have modified the
-command, use that instead).
-
Switch to tty: Ctrl + Alt + F1.
-
Log in and change the directory to where dwm/slstatus is.
-
Run make install to install the software.
-
Switch back to the graphical session: Ctrl + Alt + F5.
-
Verify installation: dwm -v/slstatus -v.
-
Commit changes to git and push.
-
+these programs (Mod + Shift + q). Then, switch to a tty (Ctrl + Alt + F1),
+log in, and change the directory to where dwm/slstatus is. We can run make
+install to install the software and switch back to the graphical session
+(Ctrl + Alt + F5).
The key combinations for switching to the tty and back may differ across
systems. The ones listed above are for OpenBSD.
diff --git a/_site/feed.xml b/_site/feed.xml
index dc96828..67b1d12 100644
--- a/_site/feed.xml
+++ b/_site/feed.xml
@@ -1 +1 @@
-Jekyll2025-12-03T22:17:54+08:00/feed.xmlASCIIMX | ArchiveWickramage Don Sadeep MadurangeHow I manage Suckless software packages2025-11-30T00:00:00+08:002025-11-30T00:00:00+08:00/archive/suckless-softwareWickramage Don Sadeep MadurangeNeo4J A* search2025-09-14T00:00:00+08:002025-09-14T00:00:00+08:00/archive/neo4j-a-star-searchWickramage Don Sadeep MadurangeMOSFETs as electronic switches2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00/archive/mosfet-switchesWickramage Don Sadeep MadurangeHow to configure ATmega328P microcontrollers to run at 3.3V and 5V2025-04-10T00:00:00+08:002025-04-10T00:00:00+08:00/archive/arduino-unoWickramage Don Sadeep MadurangeHow to set up ATSAM3X8E microcontrollers for bare-metal programming in C2024-10-05T00:00:00+08:002024-10-05T00:00:00+08:00/archive/arduino-dueWickramage Don Sadeep Madurange
\ No newline at end of file
+Jekyll2025-12-04T13:13:24+08:00/feed.xmlASCIIMX | ArchiveWickramage Don Sadeep MadurangeHow I manage Suckless software packages2025-11-30T00:00:00+08:002025-11-30T00:00:00+08:00/archive/suckless-softwareWickramage Don Sadeep MadurangeNeo4J A* search2025-09-14T00:00:00+08:002025-09-14T00:00:00+08:00/archive/neo4j-a-star-searchWickramage Don Sadeep MadurangeMOSFETs as electronic switches2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00/archive/mosfet-switchesWickramage Don Sadeep MadurangeHow to configure ATmega328P microcontrollers to run at 3.3V and 5V2025-04-10T00:00:00+08:002025-04-10T00:00:00+08:00/archive/arduino-unoWickramage Don Sadeep MadurangeHow to set up ATSAM3X8E microcontrollers for bare-metal programming in C2024-10-05T00:00:00+08:002024-10-05T00:00:00+08:00/archive/arduino-dueWickramage Don Sadeep Madurange
\ No newline at end of file
diff --git a/_site/posts.xml b/_site/posts.xml
index a792a5c..1e5b30a 100644
--- a/_site/posts.xml
+++ b/_site/posts.xml
@@ -1 +1 @@
-Jekyll2025-12-03T22:17:54+08:00/posts.xmlASCIIMXWickramage Don Sadeep Madurange
\ No newline at end of file
+Jekyll2025-12-04T13:13:24+08:00/posts.xmlASCIIMXWickramage Don Sadeep Madurange
\ No newline at end of file
--
cgit v1.2.3