Conversation
Notices
-
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 12-Sep-2025 22:04:36 JST
翠星石
@mms @jae The issue seems to be that if xclip is run via dmenu, dmenu doesn't collect the keys you type in and pass them to stdin of xclip.
The easiest workaround is to launch a terminal emulator and that command inside that and then you'll be able to paste whatever into that.
I guess it would also be possible to write a C xorg program that captures any keystrokes you enter (i.e. even of those are out of focus and then passes that to mpv).-
Embed this notice
God Emperor of Mastodon (mms@mastodon.bsd.cafe)'s status on Friday, 12-Sep-2025 22:04:38 JST
God Emperor of Mastodon
@jae This! I'll try when back at good computer
if my `mpv "$(xclip)"`, I will be happy ;p
-
Embed this notice
wuhan.bat™ (jae@darkdork.dev)'s status on Friday, 12-Sep-2025 22:04:39 JST
wuhan.bat™
@mms if you mean script triggered from dmenu that has xclip inside the script, try ensuring you have the full binary path in the script. i dealt with something similar before and when the pid is detached it wasn't picking up path statement. let me know if you need a hand, i also use dmenu
-
Embed this notice
God Emperor of Mastodon (mms@mastodon.bsd.cafe)'s status on Friday, 12-Sep-2025 22:04:40 JST
God Emperor of Mastodon
i can't run script using `xclip` via dmenu and I have no idea why
-
Embed this notice