From 9ec290845af903376fc663f0a832c35ba3fbf1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 3 Jul 2018 19:44:10 +0200 Subject: [PATCH] Make the OS file readonly, to prevent the "Text file busy" error (executed as a linux shell script + open for writing by another process) --- utils/gui-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gui-wrapper.sh b/utils/gui-wrapper.sh index 0ee71bf..ad4940c 100755 --- a/utils/gui-wrapper.sh +++ b/utils/gui-wrapper.sh @@ -5,7 +5,7 @@ set -e resolution="$1" # e.g. 800x600x24 (width x height x bits_per_pixel) shift # the following arguments are the program to execute and its arguments -bg="$(mktemp --suffix='bg.png')" +bg="$(mktemp --suffix='.png')" fb_cfg="$(mktemp --suffix='fluxbox.cfg')" # Create solid black background