
Easily Customize DWM With Flexipatch DistroTube
video description
Date: 2022-03-30
Related videos
Comments and reviews: 10
codeartha
what is the best practice for cloning sources from git? I mean the location to do so, because doing that in the home directory like I see everyone doing clutters it up pretty quickly. What I've been doing is create -/Applications folder and do that sort of stuff there. Because if I understand correctly the cloned directory will keep the source and the build version, but when you do make install the relevant files are moved to the correct /usr/ locations. Keeping the source is thus not required, but useful to update the package from time to time with a git pull then rebuilding and reinstalling.
So if I want to keep all of those, what is a good location?
I already use /opt for prepackaged apps like .appimages and such as I saw it suggested somewhere while researching the same topic.
reply
what is the best practice for cloning sources from git? I mean the location to do so, because doing that in the home directory like I see everyone doing clutters it up pretty quickly. What I've been doing is create -/Applications folder and do that sort of stuff there. Because if I understand correctly the cloned directory will keep the source and the build version, but when you do make install the relevant files are moved to the correct /usr/ locations. Keeping the source is thus not required, but useful to update the package from time to time with a git pull then rebuilding and reinstalling.
So if I want to keep all of those, what is a good location?
I already use /opt for prepackaged apps like .appimages and such as I saw it suggested somewhere while researching the same topic.
reply
The
I know this sounds weird with me but patching hasn't really been too difficult for me to do. Because I was able to understand right away how to do it. I love dwm just because of how slim it is out of the box and all the features it comes with with only 2000 lines of code and it has my initials what can I say. That would be fun to try to see what all the patches would be like or something like that. My only issue right now is getting the full screen feature and x-monad with a certain game because of the protocols of this game but I'm very close to solving that problem but dwm I'd say is one of my favorites.
reply
I know this sounds weird with me but patching hasn't really been too difficult for me to do. Because I was able to understand right away how to do it. I love dwm just because of how slim it is out of the box and all the features it comes with with only 2000 lines of code and it has my initials what can I say. That would be fun to try to see what all the patches would be like or something like that. My only issue right now is getting the full screen feature and x-monad with a certain game because of the protocols of this game but I'm very close to solving that problem but dwm I'd say is one of my favorites.
reply
Steen
You're supposed to copy the .def.h files to .h such that the defaults file will patch automatically, aand you can use it as a reference for the settings added by patches. That will also avoid problems if you want to pull changes from the git repository. Furthermore, you can use git to apply the patch, and it will then create a commit for each patch. That way you can use git magic like rebase to merge changes to the upstream dwm into your current patched version - (check out man git-apply)
reply
You're supposed to copy the .def.h files to .h such that the defaults file will patch automatically, aand you can use it as a reference for the settings added by patches. That will also avoid problems if you want to pull changes from the git repository. Furthermore, you can use git to apply the patch, and it will then create a commit for each patch. That way you can use git magic like rebase to merge changes to the upstream dwm into your current patched version - (check out man git-apply)
reply
Oswaldo
Thanks to this particular video I started using DWM intensively in the last weeks. Funny enough, not because of the patching tip, which is the main topic of the video, but due to the possibility of -dual login- with xfce in 7:25. I needed a fallback plan in cases things didn't workout with DWM. By the way, I'm not using any patch: I changed a couple of things in config.h myself and am loving DWM.
reply
Thanks to this particular video I started using DWM intensively in the last weeks. Funny enough, not because of the patching tip, which is the main topic of the video, but due to the possibility of -dual login- with xfce in 7:25. I needed a fallback plan in cases things didn't workout with DWM. By the way, I'm not using any patch: I changed a couple of things in config.h myself and am loving DWM.
reply
Dusan
I'm surprised by amount of comments here saying that patching gave them trouble. I have around 10 patches and few are quite extensive. Even when they fail patching, it usually is not even requiring any changes in exciting code, but just finding them appropriate place. I had more trouble with some regexes than my whole dwm setup
reply
I'm surprised by amount of comments here saying that patching gave them trouble. I have around 10 patches and few are quite extensive. Even when they fail patching, it usually is not even requiring any changes in exciting code, but just finding them appropriate place. I had more trouble with some regexes than my whole dwm setup
reply
wael
the only reason many don't run flexipatch is due to bloat, or rather a lot of code because I love for my dwm to be clean, i want to easily find and fix my config.h/dwm.c and easily move it up somewhere, when I used flexipatch for more than 10 seconds I screamed cause I simply cannot work my config.h cause its a giant mess
reply
the only reason many don't run flexipatch is due to bloat, or rather a lot of code because I love for my dwm to be clean, i want to easily find and fix my config.h/dwm.c and easily move it up somewhere, when I used flexipatch for more than 10 seconds I screamed cause I simply cannot work my config.h cause its a giant mess
reply
Vedant
Hey Dt. I am using arch Linux with lts 5.10 Kernel, it freezes and shutdowns randomly, what should I do?
Btw enjoying and learning a lot your videos, hope you get more popular on social media so that people can know importance about privacy and start using open source gnu software and stop using proprietary garbage.
reply
Hey Dt. I am using arch Linux with lts 5.10 Kernel, it freezes and shutdowns randomly, what should I do?
Btw enjoying and learning a lot your videos, hope you get more popular on social media so that people can know importance about privacy and start using open source gnu software and stop using proprietary garbage.
reply
Christopher
In my experience with DWM, I found that, oddly enough, the order in which certain patches are applied affect the success of the patches sometimes. Finding that order for my build, and arranging that order for Gentoo's portage to apply it all for me was like reaching nirvana.
reply
In my experience with DWM, I found that, oddly enough, the order in which certain patches are applied affect the success of the patches sometimes. Finding that order for my build, and arranging that order for Gentoo's portage to apply it all for me was like reaching nirvana.
reply
Sivuyile
Upgraded to GNOME 40 and I experianced a lot of issues, so I gave Tiling windows another try, this time I am staying, I don't see my self ever using DE. Tiling windows are practical and easy. Thanks to your videos, it was a painless switch.
reply
Upgraded to GNOME 40 and I experianced a lot of issues, so I gave Tiling windows another try, this time I am staying, I don't see my self ever using DE. Tiling windows are practical and easy. Thanks to your videos, it was a painless switch.
reply
davidgomez79
Exactly what I always said suckless tools should do. Conditional compiling. Line limit philosophy makes no sense. If they wanted to they could obscure the code into a single line of code. 2000 lines of code is so arbitrary.
reply
Exactly what I always said suckless tools should do. Conditional compiling. Line limit philosophy makes no sense. If they wanted to they could obscure the code into a single line of code. 2000 lines of code is so arbitrary.
reply
Add a review, comment
Other channel videos















