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 qfile-agent: move data handling code to libqubes-rpc-filecopy 2015-11-03 03:42:24 +01:00
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 Make qvm-run bidirectional and document its limitations. 2015-02-09 06:37:32 +01:00
qubes-open Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
qubes-sync-clock clock sync: drop untrusted_ prefix after value validation, fix error msg 2017-07-12 21:03:54 +02:00
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 Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.GetAppmenus appmenus: send only persistent appmenus entries, use $XDG_DATA_* 2018-10-09 06:06:58 +02:00
qubes.GetDate clock synchronization rewrite 2017-07-06 23:37:26 +02:00
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 Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
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 Implement qubes.PostInstall service 2017-05-26 05:25:30 +02:00
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 Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SelectDirectory.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SelectFile Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
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 Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SuspendPostAll qubes.SuspendPreAll and qubes.SuspendPostAll services 2016-03-15 23:33:11 +01:00
qubes.SuspendPre Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SuspendPreAll qubes.SuspendPreAll and qubes.SuspendPostAll services 2016-03-15 23:33:11 +01:00
qubes.SyncNtpClock Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.UpdatesProxy Switch qubes.UpdatesProxy to socat 2017-06-10 23:11:01 +02:00
qubes.VMRootShell Add qubes.VMRootShell service 2017-06-09 23:06:09 +02:00
qubes.VMShell Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
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 The Underscores Revolution: RPC services 2013-03-14 04:25:31 +01:00
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 Implement "Move to VM" action (#725) 2014-03-24 05:19:16 +01:00
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 qubes.SuspendPreAll and qubes.SuspendPostAll services 2016-03-15 23:33:11 +01:00
suspend-pre.README qubes.SuspendPreAll and qubes.SuspendPostAll services 2016-03-15 23:33:11 +01:00
sync-ntp-clock The Underscores Revolution: RPC services 2013-03-14 04:25:31 +01:00
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 qubes-rpc: fix icon selection using pyxdg and support SVG icons 2015-09-06 22:02:27 +02:00