mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-02-05 09:25:19 -05:00
Update dispvm.md
This commit is contained in:
parent
e0bc95ff02
commit
abcf0fcccd
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user