Peanut Butter https://git.sr.ht/~anjan/peanutbutter //// Once peanut butter is installed make a bash script like so ... nano lock.sh (add this code into the script) ---------------------------------------------------------------------- #!/bin/bash LOCKFILE="/tmp/peanutbutter_lock" # If lock exists, don't run again if [ -f "$LOCKFILE" ]; then echo "Already running, skipping." exit 0 fi # Create lock touch "$LOCKFILE" # Your main script export PEANUTBUTTER_PASSCODE="1234" peanutbutter --font Sxmo --statuscommand sxmo_hook_lockstatusbar.sh && sxmo_hook_statusbar.sh state_change # Remove lock after work is done rm -f "$LOCKFILE" ------------------------------------------------------------------------- // change the passcode to whichever one you want. now that thats done make it executable chmod +x lock.sh now for this to work everytime you reboot or press the power button to unlock we need to a line in the sxmo default hooks located in - /usr/share/sxmo/default_hooks within that directory edit sxmo_hook_unlock.sh , and at the bottom of the script add this line. wait /home/adrian/lock.sh // now we have a working and functional lock screen on sxmo mobile not the most secure but impressive what could be done. //