I am trying to do the following with a shortcut on the Desktop :
echo "dtoverlay=pi3-miniuart-bt" >> /boot/config.txt systemctl disable hciuart
I have tried to put it in a script but when I double click it,it just does nothing.
The above also needs to be run as sudo to be able to append the config.txt file.
This is my shortcut file:
[Desktop Entry] Version=1.0 Type=Application Name=RPi3 Serial Fix Comment=RPi3 Serial Fix Exec=sudo ./007B-RPi3-config.sh Icon=bCNC.png Terminal=true StartupNotify=false
The Terminal window opens and closes very quickly when I double click on the shortcut. (Is there a way to keep it open to see what has been run?)