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 ###