Figured out how to change the background in Ubuntu Touch. )
You just need to copy the appropriate picture to /home/phablet/Pictures/
You just need to copy the appropriate picture to /home/phablet/Pictures/
Code:
#!/bin/bash
sudo echo
Sleep 1
ls /home/phablet/Pictures/
sleep 3
echo "Please enter a file from /home/phablet/Pictures for New Background:"
read filename
result=$filename
sudo cp /home/phablet/Pictures/$result /usr/share/unity8/graphics/tablet_background.jpg
sudo cp /home/phablet/Pictures/$result /usr/share/unity8/graphics/phone_background.jpg
echo "Ubuntu Touch will reboot in 3 seconds"
notify-send "Background Changed" "$result"
sleep 3
sudo reboot -p
Attachments
Last edited: