core-agent-linux/qubes-rpc
Marek Marczykowski-Górecki d1f55ffeb8
appmenus: send only persistent appmenus entries, use $XDG_DATA_*
It may be useful to create AppVM-specific menu entries in AppVM itself.
It may be an application installed there (in /usr/local, or using snap
QubesOS/qubes-issues#2766), but it may be also some user custom
shortcut.
To support this, dom0 will accept menu entries also from
TemplateBasedVMs. But to avoid duplicates, qubes.GetAppmenus service
should send only menu entries actually stored in that VM, not inherited
from its template. To distingush them, first check what type of
persistence this VM has (from qubesdb-read /qubes-vm-persistence). If
it's rw-only, send only entries stored on /rw.

To make it more robust, use $XDG_DATA_DIRS and $XDG_DATA_HOME to
discover directories, instead of looking only for
/usr/{,local/}share/applications. This makes snap and flatpak handled
for free.

Fixes QubesOS/qubes-issues#4152
2018-10-09 06:06:58 +02:00
..
.gitignore Update gitignore and make clean target 2018-04-20 16:27:26 +02:00
dvm2.h qvm-open-in-vm: mark file as read-only if opened with --view-only 2018-05-26 03:09:40 +02:00
gui-fatal.c qubes-rpc: fix code style - indent with spaces 2018-05-26 00:54:09 +02:00
gui-fatal.h Handle fallthrough with attribute(noreturn) for consistancy and compatiblity with older GCC 2017-09-07 16:38:35 +02:00
Makefile
prepare-suspend Detach all drivers from PCI devices before suspend 2018-01-22 21:53:03 +01:00
qfile-agent.c qfile-agent.c: exit on EPIPE after gui progress write 2018-07-25 12:44:52 +00:00
qfile-unpacker.c qubes-rpc: fix code style - indent with spaces 2018-05-26 00:54:09 +02:00
qopen-in-vm.c Add build-time assert for filename buffer size 2018-05-28 22:45:39 +02:00
qrun-in-vm
qubes-open Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
qubes-sync-clock
qubes.Backup qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.DetachPciDevice qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.Filecopy
qubes.GetAppmenus appmenus: send only persistent appmenus entries, use $XDG_DATA_* 2018-10-09 06:06:58 +02:00
qubes.GetDate
qubes.GetImageRGBA qubes.GetImageRGBA: fix handling '-' path without explicit type 2017-12-22 16:48:37 +01:00
qubes.InstallUpdatesGUI qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.InstallUpdatesGUI.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.OpenInVM
qubes.OpenInVM.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.OpenURL qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.OpenURL.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.PostInstall
qubes.ResizeDisk Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
qubes.Restore qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.SelectDirectory
qubes.SelectDirectory.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SelectFile
qubes.SelectFile.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SetDateTime qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.StartApp Fix language issues and usability issue 2017-12-13 10:15:20 +01:00
qubes.StartApp.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SuspendPost
qubes.SuspendPostAll
qubes.SuspendPre
qubes.SuspendPreAll
qubes.SyncNtpClock
qubes.UpdatesProxy
qubes.VMRootShell
qubes.VMShell
qubes.VMShell+WaitForSession.config Set 'wait-for-session=1' for 'qubes.VMShell+WaitForSession' 2018-01-14 19:20:58 +00:00
qubes.WaitForSession Wait for user session as X session owner 2018-02-14 02:19:15 +01:00
qvm_copy_nautilus.py Move/Copy many files in one step via nautilus extension 2018-04-30 02:40:23 +02:00
qvm_dvm_nautilus.py Add file managers integration for qvm-open-in-dvm --view-only 2018-05-26 03:09:41 +02:00
qvm_move_nautilus.py Move/Copy many files in one step via nautilus extension 2018-04-30 02:40:23 +02:00
qvm-actions.sh Add file managers integration for qvm-open-in-dvm --view-only 2018-05-26 03:09:41 +02:00
qvm-copy Add convenient wrappers for qvm-copy-to-vm and qvm-move-to-vm 2017-10-02 05:14:49 +02:00
qvm-copy-to-vm Avoid leaking VM name in qvm-copy usage text 2018-07-16 18:33:54 +02:00
qvm-copy-to-vm.gnome Unify qvm-{copy,move}-to-vm.{gnome,kde} and fix some bugs 2018-07-25 12:44:53 +00:00
qvm-copy.desktop
qvm-dvm.desktop Add file managers integration for qvm-open-in-dvm --view-only 2018-05-26 03:09:41 +02:00
qvm-move.desktop
qvm-open-in-dvm qvm-open-in-vm: implement --view-only option 2018-05-26 03:09:40 +02:00
qvm-open-in-vm qvm-open-in-vm: implement --view-only option 2018-05-26 03:09:40 +02:00
qvm-run-vm qvm-run-vm: wait for X11 in DispVM case 2018-01-14 19:21:01 +00:00
qvm-sync-clock qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
rpc-config.README document /etc/qubes/rpc-config 2017-08-09 00:58:48 +02:00
suspend-post-qvm-sync-clock.sh Do not sync VM time with clockvm if it's set to network time sync 2018-02-13 04:23:08 +01:00
suspend-post.README
suspend-pre.README
sync-ntp-clock
tar2qfile.c Fix GCC8 warnings 2018-04-20 08:52:45 +02:00
vm-file-editor.c qvm-open-in-vm: mark file as read-only if opened with --view-only 2018-05-26 03:09:40 +02:00
xdg-icon