From me at the-compiler.org Sun Sep 5 23:02:14 2021 From: me at the-compiler.org (Florian Bruhin) Date: Sun, 5 Sep 2021 23:02:14 +0200 Subject: [qutebrowser] Is there a setting to use an empty tab when opening a link from another app? In-Reply-To: References: Message-ID: <20210905210214.appxrs7mbd4hj6ml@aragog.localdomain> 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: From griepent at math.hu-berlin.de Wed Sep 15 13:09:20 2021 From: griepent at math.hu-berlin.de (Jens A. Griepentrog) Date: Wed, 15 Sep 2021 13:09:20 +0200 Subject: [qutebrowser] Font setting Message-ID: <7c0356bb-90ed-c539-79cb-97ac1da8848e@math.hu-berlin.de> Dear Listeners, Independently of the fact that I like qutebrowser very much, it also seems to be one of the very few web browsers being available on the OpenBSD powerpc64 (big endian) platform. Thank you very much for your work and the development of portable code! Question: Is it possible to disallow web pages to choose their own fonts? I would like to enforce qutebrowser to use my own webfont setting for every web page ... With best regards, Jens From me at the-compiler.org Wed Sep 15 13:18:17 2021 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 15 Sep 2021 13:18:17 +0200 Subject: [qutebrowser] Font setting In-Reply-To: <7c0356bb-90ed-c539-79cb-97ac1da8848e@math.hu-berlin.de> References: <7c0356bb-90ed-c539-79cb-97ac1da8848e@math.hu-berlin.de> Message-ID: <20210915111817.7qyqrasazvuhl73x@aragog.localdomain> Hey Jens, On Wed, Sep 15, 2021 at 01:09:20PM +0200, Jens A. Griepentrog wrote: > Independently of the fact that I like qutebrowser very much, > it also seems to be one of the very few web browsers being > available on the OpenBSD powerpc64 (big endian) platform. > Thank you very much for your work and the development of > portable code! Yay! :) Thanks to Python and Qt being quite cross-platform, thankfully there isn't really much for us to do on that end, but glad to hear it works! > Question: Is it possible to disallow web pages to choose > their own fonts? I would like to enforce qutebrowser to use > my own webfont setting for every web page ... Can you try adding "disable-remote-fonts" to the qt.args setting (followed by a :restart)? Please let me know if it works - if it does, I think it should be trivial to expose it as a dedicated qutebrowser setting, I think I've seen the question before. 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: