[qutebrowser] Fwd: keyboard config - what am I doing wrong?

Florian Bruhin me at the-compiler.org
Wed May 18 22:31:05 CEST 2016


* lignux at gmx.com
> I started going a bit crazy, and decided I should ask for help. I added
> some keys to my config so that I had a keybinding to the brilliant spawn
> command. It goes like this:
>  
> spawn mpv {url}
>     ñ
> hint links spawn mpv {hint-url}
>     Ñ
> spawn lxterminal -e youtube-dl {url}
>     z
> hint links spawn lxterminal -e youtube-dl {hint-url}
>     Z
>  
> So, the ones with mpv work flawlessly, as does the third one. The last one
> doesn't work; I get an error saying "unrecognized arguments: -e youtube-dl
> {hint-url}". My problem is that the structure of the spawn command works
> when done with mpv, and the command works when using it from within the
> website I want to download the video from. I think I'm going blind or
> something, I have been checking this for over 30 minutes, and I don't know
> where the mistake is. Could this be a bug?
>  
> PLEASE!!! i'm begging you, help me out!. it's not about the functionality,
> i can get that by visiting the website and clicking "z", is about my
> mental health!

It's indeed a bug:
https://github.com/The-Compiler/qutebrowser/issues/797

I took a look at it before releasing v0.6.2 but I couldn't find an
easy straightforward fix, so I postponed it until v0.7.0 or v0.7.1 for
now. :-/

As a workaround you can create a wrapper script (say lx-youtube-dl)
which calls the actual command so you can bind it to :hint links spawn
without flags.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://listi.jpberlin.de/pipermail/qutebrowser/attachments/20160518/b85204d8/attachment.asc>


More information about the qutebrowser mailing list