Picom issue and lightdm path issue in dwm #8

Closed
opened 2026-06-07 17:33:00 +00:00 by nkwh · 1 comment
nkwh commented 2026-06-07 17:33:00 +00:00 (Migrated from codeberg.org)

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.

  1. Path change issue

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

  1. Mouse lag

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.

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. 1) Path change issue 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 2) Mouse lag 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.
justaguylinux commented 2026-06-07 18:54:27 +00:00 (Migrated from codeberg.org)

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.

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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
drew/butterknife#8
No description provided.