Merge remote-tracking branch 'origin/pr/203'
* origin/pr/203: Added "QubesIncoming" shortcut to Nautilus
This commit is contained in:
commit
d2087c5abf
1
debian/qubes-core-agent-nautilus.install
vendored
1
debian/qubes-core-agent-nautilus.install
vendored
@ -1 +1,2 @@
|
||||
usr/share/nautilus-python/extensions/*
|
||||
usr/lib/qubes/qvm_nautilus_bookmark.sh
|
||||
|
@ -1,7 +1,9 @@
|
||||
NAUTILUSPYEXTDIR ?= /usr/share/nautilus-python/extensions
|
||||
QUBESLIBDIR ?= /usr/lib/qubes
|
||||
|
||||
.PHONY: install
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(NAUTILUSPYEXTDIR)
|
||||
install -t $(DESTDIR)$(NAUTILUSPYEXTDIR) -m 0644 *.py
|
||||
install -t $(DESTDIR)$(QUBESLIBDIR) -m 0755 *.sh
|
||||
|
6
qubes-rpc/nautilus/qvm_nautilus_bookmark.sh
Normal file
6
qubes-rpc/nautilus/qvm_nautilus_bookmark.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
if [ ! -e ~/.config/gtk-3.0/qubes-incoming-bookmark-created ]
|
||||
then
|
||||
echo "file:///home/user/QubesIncoming" >> ~/.config/gtk-3.0/bookmarks
|
||||
touch ~/.config/gtk-3.0/qubes-incoming-bookmark-created
|
||||
fi
|
@ -1,2 +1,6 @@
|
||||
#!/bin/sh
|
||||
if [ -f /usr/lib/qubes/qvm_nautilus_bookmark.sh ]
|
||||
then
|
||||
/usr/lib/qubes/qvm_nautilus_bookmark.sh >/dev/null 2>&1 </dev/null
|
||||
fi
|
||||
exec /usr/lib/qubes/qfile-unpacker
|
||||
|
@ -686,6 +686,7 @@ rm -f %{name}-%{version}
|
||||
/usr/share/nautilus-python/extensions/qvm_copy_nautilus.py*
|
||||
/usr/share/nautilus-python/extensions/qvm_move_nautilus.py*
|
||||
/usr/share/nautilus-python/extensions/qvm_dvm_nautilus.py*
|
||||
/usr/lib/qubes/qvm_nautilus_bookmark.sh
|
||||
|
||||
%files thunar
|
||||
/usr/lib/qubes/qvm-actions.sh
|
||||
|
Loading…
Reference in New Issue
Block a user