clipmenu: Won't run correctly when launched outside of a X terminal
I’m certain this is an issue with my environment, but recently clipmenud stopped working with my systems user service. Specifically, it runs, but while it is running none of the selection buffers contain anything and I cannot copy or paste anything. xsel -o
outputs nothing and xclip actually gives an error.
Running clipmenud from .xinitrc has the same issues. Running clipmenud from a terminal in X works fine.
I’ve gone through /proc/$pid/environ when clipmenud is working, and I tried to put all of those variables in the systemd unit. Didn’t help.
I’m on archlinux- anyone have any idea what’s happening?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 36 (20 by maintainers)
Commits related to this issue
- Add tons of debug logging I'm hoping this will help debug #33, #32, and #26. — committed to cdown/clipmenu by cdown 8 years ago
- Sleep between selection runs This is an attempt to debug #33. — committed to cdown/clipmenu by cdown 8 years ago
- Use -o when running xsel xsel` without `-o` even though it has the same *end* result, has different internal logic. Specifically, it seems to do things with the PRIMARY selection that cause weird beh... — committed to cdown/clipmenu by cdown 8 years ago
This is included in 1.2.0, which was just released.
Basically, clipmenu works fine for a few iterations of the main while loop, then something erases the selection buffer.