cdown / clipmenu

Clipboard management using dmenu
MIT License
1.1k stars 90 forks source link

No longer working on select (rofi) #192

Closed nPHYN1T3 closed 2 years ago

nPHYN1T3 commented 2 years ago

I'm using with rofi v1.7.3 xsel v1.2.0. When I trigger rofi for selection it lists and I select but then the selection is never put into the clipboard. If I switch to dmenu it works. So is it rofi or clipmenu? heh

*Rofi updated to 1.7.5-1 and still broken.

cdown commented 2 years ago

Works fine here, so you're going to need to provide more information. For example, what does running clipmenu with xtrace show in the rofi and dmenu cases?

nPHYN1T3 commented 2 years ago

xtrace /usr/bin/clipmenu Function File Line -- Dashes -- addr2line: /usr/bin/clipmenu: file format not recognized Press return here to close xterm(/usr/bin/clipmenu). <-- after selecting from rofi list

(with dmenu selected) xtrace /usr/bin/clipmenu Function File Line -- Dashes -- addr2line: /usr/bin/clipmenu: file format not recognized addr2line: /usr/bin/clipmenu: file format not recognized <-- after selection no return to close but the selection is correctly added to clipboard

cdown commented 2 years ago

xtrace as in set -o xtrace, or set -x.

nPHYN1T3 commented 2 years ago

set -o xtrace clipmenu

cdown commented 2 years ago

You've turned on xtrace in your shell, not in clipmenu. Please run with bash -x clipmenu.

nPHYN1T3 commented 2 years ago

clipmenu.log

cdown commented 2 years ago

Your rofi is outputting debug info on stdout (hence why the chosen line consists of 2000+ lines, which matches nothing). This means the stdout from rofi is not usable.

Turn off G_MESSAGES_DEBUG or whatever you've enabled that's spamming these to stdout.

The issue is with the local rofi environment, so closing.