If you try creating the following program qvm-open-in-vm-we.py:
#!/usr/bin/env python3
import os
os.execvp("qvm-open-in-vm", ["qvm-open-in-vm", "$dispvm", "https://google.com"]);
then run it, it opens https://google.com in a disposable (as one would expect)
However, it’s also possible to run it and get a insane result if one tries running it from inside firefox, via installing https://github.com/raffaeleflorio/qubes-url-redirector/, then replacing /opt/qubes-url-redirector/qvm-open-in-vm-we.py with the new version above.
The result when selecting “open in disposable” from inside firefox is that it opens a disposable VM, but the disposable does not open a webbrowser! It just sits there consuming memory.
It can’t be a parameter problem because the parameters are statically set in the .py file to $disp
and https://google.com
, and the function is obviously being called as it starts the VM. So what could the difference possibly be?
Another clue is that this is a new problem with 4.1, that did not happen in 4.0 .
Are there ways to get logs of what qvm-open-in-vm is trying to do differntly?