[qutebrowser] Is there a setting to use an empty tab when opening a link from another app?

Florian Bruhin me at the-compiler.org
Sun Sep 5 23:02:14 CEST 2021


Hey,

Apologies for the late answer - forgot about this after my holidays.

On Thu, Aug 12, 2021 at 10:04:34PM -0700, Timothée Boucher wrote:
> When I then click a link from a different app, it creates a
> new tab for it and I have that empty tab at the top.
> Ideally, in that situation, it would use the empty tab.

There isn't a way to do this, but there's a (rather old) issue about it:
https://github.com/qutebrowser/qutebrowser/issues/677

> And if there's no setting for it, is there a workaround maybe? Would a
> user-script be able to do something like detect the situation and close the
> blank tab?

Sounds tricky. You could use some kind of wrapper which sends a
:session-save command to qutebrowser with a temporary filename, waits
for the file to appear, checks whether about:blank is active there, and
if so, sends an :open command instead of normally passing the URL as an
argument.

Quite hacky, though.

Florian

-- 
            me at the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/qutebrowser/attachments/20210905/cd8e20bc/attachment.asc>


More information about the qutebrowser mailing list