From fd6a621ef9d23b0331fc5d5f3a92fb49ad7fb083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wojdy=C5=82a?= Date: Mon, 7 Apr 2014 14:23:15 +0000 Subject: [PATCH] ManagingAppVmShortcuts changed --- ManagingAppVmShortcuts.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ManagingAppVmShortcuts.md b/ManagingAppVmShortcuts.md index bad9443a..6ca1aee9 100644 --- a/ManagingAppVmShortcuts.md +++ b/ManagingAppVmShortcuts.md @@ -4,10 +4,10 @@ title: ManagingAppVmShortcuts permalink: /wiki/ManagingAppVmShortcuts/ --- -Managing shortcuts to applications in AppVms -============================================ +Managing shortcuts to applications in !AppVMs +============================================= -For ease of use Qubes aggregates shortcuts to applications that are installed in AppVms and shows them in one "start menu" in dom0. Clicking on such shortcut runs the assigned application in its AppVm. +For ease of use Qubes aggregates shortcuts to applications that are installed in !AppVMs and shows them in one "start menu" in dom0. Clicking on such shortcut runs the assigned application in its !AppVM. [![No image "dom0-menu.png" attached to ManagingAppVmShortcuts](/chrome/common/attachment.png "No image "dom0-menu.png" attached to ManagingAppVmShortcuts")](/attachment/wiki/ManagingAppVmShortcuts/dom0-menu.png) @@ -24,10 +24,10 @@ The above image shows that Windows HVMs are also supported (provided that Qubes Behind the scenes ----------------- -List of installed applications for each AppVm is stored in `/var/lib/qubes/appvms/vmname/apps.templates`. Each menu entry is a file that follows the [​.desktop file format](http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html) with some wildcards (*%VMNAME%*, *%VMDIR%*). Applications selected to appear in the menu are stored in `/var/lib/qubes/appvms/vmname/apps`. +List of installed applications for each !AppVM is stored in `/var/lib/qubes/appvms/vmname/apps.templates`. Each menu entry is a file that follows the [​.desktop file format](http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html) with some wildcards (*%VMNAME%*, *%VMDIR%*). Applications selected to appear in the menu are stored in `/var/lib/qubes/appvms/vmname/apps`. Actual command lines for the menu shortcuts involve `qvm-run` command which starts a process in another domain. Example: `qvm-run -q --tray -a w7s 'cmd.exe /c "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Accessories\\Calculator.lnk"'` -`qvm-sync-appmenus` works by invoking *GetAppMenus* [Qubes service](/wiki/Qrexec) in the target domain. This service enumerates installed applications and sends formatted info back to the dom0 script which creates .desktop files in the AppVm directory. +`qvm-sync-appmenus` works by invoking *GetAppMenus* [Qubes service](/wiki/Qrexec) in the target domain. This service enumerates installed applications and sends formatted info back to the dom0 script which creates .desktop files in the !AppVM directory. For Linux VMs the service script is in `/etc/qubes-rpc/qubes.GetAppMenus`. In Windows it's a PowerShell script located in `c:\Program Files\Invisible Things Lab\Qubes OS Windows Tools\qubes-rpc-services\get-appmenus.ps1` by default.