You are not logged in.
Pages: 1
Greetings,
I can't get my cmd working in the keyboard shortcut panel. it give the content of clipboard (a youtube url) to the input of mpv player
mpv `clippaste`
works in terminal but don't as a command for a keybord shorcut
I try also without success.
terminator -e "mpv `clippaste`"
Also try with
xclip -o
but i think it does exact same thing
In addition, i have to say that i dont understant why
clippaste | mpv
don't work in termlinal, wich was my first try ... but that is offtopic maybe
I must miss something big, as always learning linux on debian
Thank you
Offline
Assuming your intent is to play a video file by using the filename located in the clipboard......
The Xfce interpreter is not a complete shell intepreter, you should run your command through your shell. So for example:
bash -c "parole `xclip -o`"
However, this won't work in this instance because the clipboard is only returning the clipped text - not the path to the file, so unless the file is in your home directory, it will never find it and will generate an error (using your example where you are trying to pipe it through mpv).
A better option would be to use thunar custom actions - assuming you are using thunar to browse to the files.
Hello and welcome to the forum.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for explanation. I'll look more at the custom actions... that is where i was looking at first.
Offline
Pages: 1
[ Generated in 0.013 seconds, 10 queries executed - Memory usage: 519.81 KiB (Peak: 520.66 KiB) ]