[qutebrowser] Given the process ID, can I find out the loaded URL?

Florian Bruhin me at the-compiler.org
Wed Dec 30 21:40:32 CET 2020

Hey Tobias,

Your mail was held back because you're not subscribed to the
mailinglist. I've now approved it and added you to the allowed senders,
but you might not get replies if people don't add you to Cc.

On Tue, Dec 29, 2020 at 05:23:33PM +0100, Tobias Dussa wrote:
> I have come across this question: If I know the process ID of a QB thread,
> is it possible to figure out (from the command line) what URL is currently
> loaded in the corresponding tab?
> Haven't been able to find an answer to this question.  I suspect it should
> be possible if I dig in the right place in /proc/${PID}, but.

Quoting from an earlier reply to (almost) the same question:

I added the API to do those kind of things upstream in Qt 5.15:

However, I didn't get around to actually implementing something to e.g.
show the PID inside qutebrowser - currently tracked here:

Right now, the easiest thing you can do is to send a SIGSTP to the
process and see which tab is frozen; or send a SIGTERM and see which tab

Also, @toofar wrote a slightly crazy script to find the offending tab


me at the-compiler.org (Mail/XMPP) | 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://lists.schokokeks.org/pipermail/qutebrowser/attachments/20201230/c34e4052/attachment-0001.asc>

More information about the qutebrowser mailing list