diff options
author | Corey Berla <corey@berla.me> | 2022-06-10 09:59:27 -0700 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2022-07-14 22:09:29 +0000 |
commit | d219b85d61eeed8ecc8743dfd9fb689894e04e24 (patch) | |
tree | 9d08b6cf0b6e1998200cbb20c997dc92132b34d1 /build-aux | |
parent | c5fd01a8e50098e1cd564e88962b230cba5d0964 (diff) | |
download | nautilus-d219b85d61eeed8ecc8743dfd9fb689894e04e24.tar.gz |
dbus-launcher: Launch programs via DBUS
Nautilus launches external programs (i.e. Settings & gnome-disks)
directly via the commandline which doesn't work in flatpaks.
Create new module nautilus-dbus-launcher to allow for launching
these programs via DBus. nautilus-application holds ono a
singleton instance of the dbus launcher (similar to undo manager
and tag manager) so we don't need to create proxies over and over again.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/flatpak/org.gnome.Nautilus.json | 2 | ||||
-rw-r--r-- | build-aux/flatpak/org.gnome.Nautilus.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json index 91d05dab7..e3610fe3c 100644 --- a/build-aux/flatpak/org.gnome.Nautilus.json +++ b/build-aux/flatpak/org.gnome.Nautilus.json @@ -22,6 +22,8 @@ "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", "--talk-name=ca.desrt.dconf", + "--talk-name=org.gnome.DiskUtility", + "--talk-name=org.gnome.Settings", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem;tracker:Documents" ], diff --git a/build-aux/flatpak/org.gnome.Nautilus.yml b/build-aux/flatpak/org.gnome.Nautilus.yml index d4117d3bc..f38144943 100644 --- a/build-aux/flatpak/org.gnome.Nautilus.yml +++ b/build-aux/flatpak/org.gnome.Nautilus.yml @@ -21,6 +21,8 @@ finish-args: - "--filesystem=xdg-run/dconf" - "--filesystem=~/.config/dconf:ro" - "--talk-name=ca.desrt.dconf" +- "--talk-name=org.gnome.DiskUtility" +- "--talk-name=org.gnome.Settings" - "--env=DCONF_USER_CONFIG_DIR=.config/dconf" # Access to host Tracker Miners - "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem;tracker:Documents" |