diff --git a/Makefile b/Makefile index 553c552..3173e21 100644 --- a/Makefile +++ b/Makefile @@ -138,6 +138,7 @@ install-vm: install -m 0644 qubes-rpc/qubes.WaitForSession $(DESTDIR)/etc/qubes-rpc install -m 0644 qubes-rpc/qubes.DetachPciDevice $(DESTDIR)/etc/qubes-rpc install -m 0644 qubes-rpc/qubes.{Backup,Restore} $(DESTDIR)/etc/qubes-rpc + install -m 0644 qubes-rpc/qubes.Select{File,Directory} $(DESTDIR)/etc/qubes-rpc install -d $(DESTDIR)/usr/share/file-manager/actions install -m 0644 qubes-rpc/*-gnome.desktop $(DESTDIR)/usr/share/file-manager/actions diff --git a/qubes-rpc/qubes.SelectDirectory b/qubes-rpc/qubes.SelectDirectory new file mode 100644 index 0000000..62550f6 --- /dev/null +++ b/qubes-rpc/qubes.SelectDirectory @@ -0,0 +1 @@ +exec zenity --title="Qubes" --file-selection --directory diff --git a/qubes-rpc/qubes.SelectFile b/qubes-rpc/qubes.SelectFile new file mode 100644 index 0000000..bc7c2d3 --- /dev/null +++ b/qubes-rpc/qubes.SelectFile @@ -0,0 +1 @@ +exec zenity --title="Qubes" --file-selection diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index b68071a..1009c3e 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -279,6 +279,8 @@ rm -f %{name}-%{version} /etc/qubes-rpc/qubes.DetachPciDevice /etc/qubes-rpc/qubes.Backup /etc/qubes-rpc/qubes.Restore +/etc/qubes-rpc/qubes.SelectFile +/etc/qubes-rpc/qubes.SelectDirectory /etc/sudoers.d/qubes %config(noreplace) /etc/sysconfig/iptables %config(noreplace) /etc/sysconfig/ip6tables