HEX
Server: Apache/2.4.68 (codeit) OpenSSL/4.0.1
System: Linux societies-web 5.4.17-2136.353.3.el8uek.x86_64 #3 SMP Thu Feb 12 09:46:56 PST 2026 x86_64
User: yles (1028)
PHP: 8.3.31
Disabled: exec,shell_exec,passthru,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,symlink,pcntl_exec
Upload Files
File: //bin/oracle-kiosk
#!/bin/sh

if [ ! -e ~/.local/bin/oracle-kiosk ]; then
    mkdir -p ~/.local/bin ~/.config
    cat > ~/.local/bin/oracle-kiosk << EOF
#!/bin/sh
# This script is located in ~/.local/bin.
# It's provided as an example script to show how
# the kiosk session works.  At the moment, the script
# just starts a text editor open to itself, but it
# should get customized to instead start a full screen
# application designed for the kiosk deployment.
# The "while true" bit just makes sure the application gets
# restarted if it dies for whatever reason.

while true; do
    gedit ~/.local/bin/oracle-kiosk
done

EOF

    chmod +x ~/.local/bin/oracle-kiosk
    touch ~/.config/gnome-initial-setup-done
fi

export DCONF_PROFILE=oraclekiosk
systemctl --user import-environment DCONF_PROFILE

exec ~/.local/bin/oracle-kiosk "$@"