Disable Thunar thumbnails
This commit is contained in:
parent
20560bf5e0
commit
31f75e3629
2
Makefile
2
Makefile
|
@ -240,6 +240,8 @@ install-common:
|
|||
install qubes-rpc/qvm-move-to-vm.gnome $(DESTDIR)$(LIBDIR)/qubes
|
||||
install qubes-rpc/qvm-actions.sh $(DESTDIR)$(LIBDIR)/qubes
|
||||
install -m 0644 misc/uca_qubes.xml $(DESTDIR)$(LIBDIR)/qubes
|
||||
mkdir -p $(DESTDIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
|
||||
install -m 0644 misc/thunar.xml $(DESTDIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
|
||||
install qubes-rpc/xdg-icon $(DESTDIR)$(LIBDIR)/qubes
|
||||
install qubes-rpc/{vm-file-editor,qfile-agent,qopen-in-vm} $(DESTDIR)$(LIBDIR)/qubes
|
||||
install qubes-rpc/qubes-open $(DESTDIR)/usr/bin
|
||||
|
|
5
misc/thunar.xml
Normal file
5
misc/thunar.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="thunar" version="1.0">
|
||||
<property name="misc-thumbnail-mode" type="string" value="THUNAR_THUMBNAIL_MODE_NEVER"/>
|
||||
</channel>
|
|
@ -389,11 +389,11 @@ setenforce 0 2>/dev/null
|
|||
exit 0
|
||||
|
||||
%post thunar
|
||||
# There is no system-wide Thunar custom actions. There is only a default
|
||||
# file and a user file created from the default one. Qubes actions need
|
||||
# to be placed after all already defined actions and before </actions>
|
||||
# the end of file.
|
||||
if [ "$1" = 1 ]; then
|
||||
# There is no system-wide Thunar custom actions. There is only a default
|
||||
# file and a user file created from the default one. Qubes actions need
|
||||
# to be placed after all already defined actions and before </actions>
|
||||
# the end of file.
|
||||
if [ -f /etc/xdg/Thunar/uca.xml ] ; then
|
||||
cp -p /etc/xdg/Thunar/uca.xml{,.bak}
|
||||
sed -i '$e cat /usr/lib/qubes/uca_qubes.xml' /etc/xdg/Thunar/uca.xml
|
||||
|
@ -596,6 +596,7 @@ rm -f %{name}-%{version}
|
|||
%files thunar
|
||||
/usr/lib/qubes/qvm-actions.sh
|
||||
/usr/lib/qubes/uca_qubes.xml
|
||||
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
|
||||
|
||||
%package sysvinit
|
||||
Summary: Qubes unit files for SysV init style or upstart
|
||||
|
|
Loading…
Reference in New Issue
Block a user