commit 2f7326b9092dd443d35f2582b759faf81f88fa6b Author: Austin English Date: Fri Aug 7 00:34:10 2015 -0500 tails-prepare-win8-theme: add wrapper scripts for gimp/scribus to avoid showing splash screens in win8 mode diff --git a/config/chroot_local-includes/usr/local/sbin/tails-prepare-win8-theme b/config/chroot_local-includes/usr/local/sbin/tails-prepare-win8-theme index 0dff63b..430060b 100755 --- a/config/chroot_local-includes/usr/local/sbin/tails-prepare-win8-theme +++ b/config/chroot_local-includes/usr/local/sbin/tails-prepare-win8-theme @@ -36,6 +36,16 @@ ln -s "/usr/share/pixmaps/gpgApplet/scalable-grey" "/usr/share/pixmaps/gpgApplet rm "/usr/share/pixmaps/gpgApplet/48x48/" -r ln -s "/usr/share/pixmaps/gpgApplet/48x48-grey" "/usr/share/pixmaps/gpgApplet/48x48" +# For applications that support it, avoid showing splash screens: +for x in gimp scribus ; do + mv /usr/bin/${x} /usr/bin/${x}-real + cat > /usr/bin/${x} <<_EOF +#!/bin/sh +/usr/bin/${x}-real --no-splash "\$@" +_EOF + chmod 755 /usr/bin/${x} +done + # Early set some gsettings # Only setting all of them in this script fails # Icon theme