where "browser" is the name of the qube AppVM that I want to open the
link in, this opens a dialog asking me to select a target domain. It
is ignoring the name of the AppVM I specify on the command line.
According to the help message for qvm-open-in-vm I should be able to
specify the name of the AppVM, but it seems that it's being ignored.
If you want your example to work add this line before all others:
$anyvm browser allow
The first is the source qube ... the one calling qvm-open-in-vm.
The second is the target 'browser' in your example. The third is either 'deny', 'ask' or 'allow'
this opens a dialog asking me to select a target domain
check your /etc/qubes-rpc/policy/qubes.OpenURL
If you want your example to work add this line before all others:
$anyvm browser allow
Curious:
Does the line
$anyvm $dispvm allow
mean it'll be allowed for any disposable VM?
No, it means that any VM is allowed to cause a new DisposableVM to be created in which that type of thing (i.e., file or URL, depending on the policy file containing this line) will then be opened.