From 5f9d743a325ad6dc7df977e7e00a526fc09aa32a Mon Sep 17 00:00:00 2001 From: kmoody Date: Tue, 24 Sep 2024 08:15:11 -0500 Subject: [PATCH] Update 'install64.sh' --- install64.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/install64.sh b/install64.sh index 259e111..5b569aa 100644 --- a/install64.sh +++ b/install64.sh @@ -79,9 +79,16 @@ rm /home/terminal/Desktop/temp/IBMiAccess_v1r9 -rf ### Write and update configuration ### ## Swap Function Mode. 3 is default ## echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode -#sed -i -e 's/ToggleFullscreen//g' /home/terminal/.config/openbox/lxqt-rc.xml -sed -i -e 's/ToggleFullscreen//g' /home/terminal/.config/openbox/rc.xml -openbox --reconfigure + +### Disable F11 - Full Screen +if [ -f /home/terminal/.config/openbox/rc.xml] + sed -i -e 's/ToggleFullscreen//g' /home/terminal/.config/openbox/rc.xml + openbox --reconfigure +else + cp /home/terminal/Desktop/temp/rc.xml /home/terminal/.config/openbox/rc.xml + chown terminal:terminal /home/terminal/.config/openbox/rc.xml + openbox --reconfigure +fi ### Copying configuration templates to locations ###