I just realized that qvm-run essentially allows you to run commands from dom0 in any VM. It’s not just for starting apps. For example, in dom0 (or Krunner), you can use:
qvm-run <appVM> 'touch hello.txt'
and it will create a document called hello.txt in the home directory of <appVM>. It’s the same as opening a terminal in <appVM> and typing ‘touch hello.txt’
So… just use:
qvm-run <appVM> 'open https://www.duckduckgo.com'
and <appVM> will start and the default browser for <appVM> will open and go to duckduckgo.
Nice…
I was going to write a bunch of scripts that take inputs (like a web search), and opens the url with the search param replaced in the URL, but I can’t figure out how to get it to trigger using a Krunner 2 or 3 letter abbreviation?
So far hotkeying it should be pretty easy to do with a custom shortcut. If you know of a way to wire it up to Krunner with a 2 letter abbreviation let me know. Maybe there’s a Krunner plugin for scripts. With the ability to set text abbreviation triggers?