Update dispvm.md

This commit is contained in:
Yethal 2017-03-12 13:18:02 +01:00 committed by GitHub
parent e0bc95ff02
commit abcf0fcccd

View File

@ -80,31 +80,3 @@ Disposable VMs and Local Forensics
----------------------------------
At this time, DispVMs should not be relied upon to circumvent local forensics, as they do not run entirely in RAM. For details, see [this thread](https://groups.google.com/d/topic/qubes-devel/QwL5PjqPs-4/discussion).
Adding arbitrary programs to Disposable VM Application Menu
-----------------------------------------------------------
For added convenience, arbitrary programs can be added to the Application Menu of the Disposable VM. In order to do that `arbitrary.desktop` file has to be created in `/usr/share/applications` that file will point to the desired program. Use following template when creating a .desktop file:
`[Desktop Entry]`<br>
`Version=1.0`<br>
`Type=Application`<br>
`Exec=sh -c 'echo arbitrary | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red'`<br>
`Icon=dispvm-red`<br>
`Terminal=false`<br>
`Name=DispVM: Arbitrary Name`<br>
`GenericName=DispVM: Arbitrary Generic Name`<br>
`StartupNotify=false`<br>
`Categories=Network;X-Qubes-VM;`<br>
Next, the /etc/xdg/menus/applications-merged/qubes-dispvm.menu file has to be modified so that it points to our newly-created .desktop file.
Add `<Filename>arbitrary.desktop</Filename>` line to the `<Include></Include>` block. The modified file should look like this:
`<Include>`<br>
`<Filename>qubes-dispvm-firefox.desktop</Filename>`<br>
`<Filename>qubes-dispvm-xterm.desktop</Filename>`<br>
`<Filename>arbitrary.desktop</Filename>`<br>
`</Include>`<br>
After saving the changes our program should appear under the Disposable VM Applications menu.