[SOLVED] DWM broke after pathcing and can't make it work again
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
DWM broke after pathcing and can't make it work again
Hey, guys,
I want to try `dwm` so I downloaded the source, compiled, logged out, chose it on `lightdm` and logged in again - it worked.
Then I applied my first patch - `uselessgap` - and after I logged in - none of the shortcuts worked. I can't open terminal even. The only think that worked - thanks god - is `Alt-Shift-q`, so I was able to exit
After that I tried several things - like recompiling, extract the source into new folder and install from there, no patches, nothing. But it still behaves the same way.
What could be the reason? ... And also - is there any `log` file I can take a look into? ... cause I found nothing in `/var/log` or in the folder where I'm compiling it.
3. I tried also to install directly - `sudo apt-get install dwm` and then I have `dwm.desktop` in `/usr/share/xsessions` one difference: `Exec=dwm`
In all cases:
1. I am able to login in `dwm`
2. The shortcut for quit - Alt+Shift+Q - works. Also the shortcut for changing layout and toggling task bar also works.
3. No other shortcut works, like Alt+Shift+Enter for terminal or Alt+P to start application.
=============
I'm on Debian and for now I'm using openbox and i3.
Since then it's broken.
I tried to remove it - `apt-get remove dwm` and also `apt-get purge dwm`. And then compiled again, but still the same broken behavior.
3. I tried also to install directly - `sudo apt-get install dwm` and then I have `dwm.desktop` in `/usr/share/xsessions` one difference: `Exec=dwm`
In all cases:
1. I am able to login in `dwm`
2. The shortcut for quit - Alt+Shift+Q - works. Also the shortcut for changing layout and toggling task bar also works.
3. No other shortcut works, like Alt+Shift+Enter for terminal or Alt+P to start application.
=============
I'm on Debian and for now I'm using openbox and i3.
Since then it's broken.
I tried to remove it - `apt-get remove dwm` and also `apt-get purge dwm`. And then compiled again, but still the same broken behavior.
Regards,
Petar
Do you have 'st' and 'dmenu' the programs installed which are called when you use the shortcuts to start a terminal or start the application launcher? I remember that Debian renames their version of 'st' to 'stterm', so you'll have to either hard code the right name into your dwm config or come up with your own fix.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.