Running new mulvad browser in disposable

I was able to install the mulvad browser in a debian template dvm and register the .desktop that came with it by in runing

./start-mulvad-browser.desktop --register-app

I can see the app menu item in the qubes menu. I can select this now and the browser starts up fine in the template dvm. When I try to select this in the dvm app menu a dvm starts, then shuts down without the browser opening.

I can open a dvm terminal and run the .desktop file to start a mulvad browser fine. I’d rather not have to open a terminal every time I want to run a disposable mulvad browser though.

I thought of trying to open mulvad browser from dom0 by running

qvm-run -q -a --service --dispvm=debiian-11-dvm -- qubes.StartApp+mulvad-browser

I then get an error notification as the dvm starts and stops again. It say’s,

failed to execute qubes.windowiconUpdater from dispxxxx dom0

Has anyone else got the mulvad browser to properly launch in a dvm? Any help would be greatly appreciated.

The DispVM menu doesn’t work because of the --detach option in the Mullvad desktop file.

Exec=sh -c '"$(dirname "$*")"/Browser/start-mullvad-browser --detach || ([ ! -x "$(dirname "$*")"/Browser/start-mullvad-browser ] && "$(dirname "$*")"/start-mullvad-browser --detach)' dummy %k
--detach  Detach from terminal and run Mullvad Browser in the background.

Note that currently only applications whose main process keeps running until you close the application (i.e. do not start a background process instead) will work.

There is 3 files (last one is handled by register/unregister -app).


Thanks! I only had to delete the --detach option for the third file in the template dvm and it works now.