Picom issue and lightdm path issue in dwm #8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just a couple of issues I had to address in dwm, thought you might find it useful to know -- I used ai for some help troubleshooting, so my results may be incorrect and I am certainly open to correction or alternatives.
I installed dmenu because I prefer it over rofi, and had an issue getting it to see packages in my .local/bin. Setting path change in .profile was not picked up when logging in with lightdm. Finally fixed this with a wrapper for dwm that set the path, and updated dwm.desktop to use that wrapper instead of just exec dwm.
#!/bin/sh
[ -f ~/.profile ] && . ~/.profile
exec dwm
I had some weird mouse lag/skipping issues in dwm, which may be because of nvidia and xrender? I changed picom to use the glx backend and that seems to have fixed it so far. I don't know if this is something common to nvidia or something specific to my setup.
Thanks so much for your work on this, I love these scripts.
Thanks @nkwh — both correct.
PATH: Right cause — DM logins don't source ~/.profile, so ~/.local/bin is missing. The installers now drop an idempotent guard into ~/.xsessionrc to fix it (going into all the X11 setups, not just dwm).
Mouse lag: Yep, glx is the fix on NVIDIA. Keeping xrender as the default since it works everywhere (incl. VMs), but added a comment + note pointing NVIDIA users to glx.
Appreciate the write-up — both going in shortly.