[SOLVED] Just installed DWM from Sbo - default commands not working
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you want to play around with different terminal emulators, but don't want to change it in the config file, install something like Xfce's exo.
Or just make a symlink/shell script wrapper named st that points to another terminal that you want to use so it precedes the real st binary in PATH, if you have the real st installed.
Marking the thread as solved. I just ended up using the Slackbuild off of slackbuilds.org. It works like a charm.
That is, until I want to make modifications to it like adding a status bar or a clock etc. Marking the thread as unsolved again.
The earlier problem about the makefile supposedly not being detected is still present only when I try to run make while the dwm/ directory is in my home folder. It seems to run fine when it's in /usr/local/bin for some reason. I'm curious as to why.
Also, the default prefix in the config.mk file is /usr/local . Does that mean I'm expected to put the dwm/ source in /usr/local before running make? Or was /usr/local/bin the right way to go about it? I'm aware users can do what they want to suit their needs but I'd like to make sure I'm following the general standard at least.
Also, the default prefix in the config.mk file is /usr/local . Does that mean I'm expected to put the dwm/ source in /usr/local before running make?
Even if you prefer to build dwm manually, you can still have a look at the SBo buildscript. It patches the vanilla makefile to change the prefix to /usr that Slackware is using.
Agh, I'm an idiot. I forgot about the README. Some people on irc just recommended that it's better to manually install it rather than package it, but I guess if we read it, we'd have known better.
I deleted my SBo/ folder in my /tmp directory to save space. Is there a better way of editing my current config.h without just removing the dwm package I have installed and re-downloading/re-installing the slackbuild from SBo/ so I'll have it in my SBo/ folder again? Or is that the only way of going about it?
Is there a better way of editing my current config.h without just removing the dwm package I have installed and re-downloading/re-installing the slackbuild from SBo/ so I'll have it in my SBo/ folder again? Or is that the only way of going about it?
I keep a directory of SlackBuilds, with the source tarball in the same directory as the SlackBuild. There you can untar the source, edit the config file, re-tar the source, run the SlackBuild, and then run sudo slackpkg upgradepkg --reinstall <built package>
There you can untar the source, edit the config file, re-tar the source, run the SlackBuild, and then run sudo slackpkg upgradepkg --reinstall <built package>
Seriously? I'd just unpack in tmp manually and #comment the rm and tar lines in slackbuild.
Additionally, made a script which does replacement of files in tmp and then runs the above slackbuild without unpacking anything.
Why would you repack the source?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.