My Linux Phablet installed!

I didn’t know their were radio streams with ogg extensions. The one I listen to hides the extension but mpv figures it out.

What I did was put that mpv STREAM command into a simple bash script and made it executable in the terminal. For CLI editing I use nano. CTRL-X will exit and then Y will save. Do a chmod +x to make it executable. Once this is working u can put that onto your Ubuntu Touch Desktop by creating another file using the terminal again. I found directions using Brave AI. Reboot when done and then when it starts again it should be on the desktop. I’m just not sure how to gracefully stop this!

To add a Bash script to the Ubuntu Touch desktop as a launcher, create a .desktop file that points to your script. Place this file in ~/.local/share/applications/ so it appears in the app grid.

Steps to Create a Desktop Launcher

  1. Create the .desktop file:
    Use a text editor to create a file like my-script.desktop with the following content:

    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=My Script
    Exec=/path/to/your/script.sh
    Icon=/path/to/icon.png
    Terminal=true
    X-Ubuntu-Touch=true
    X-Ubuntu-Default-Department-ID=accessories
    
  2. Ensure the script is executable:
    Run:

    chmod +x /path/to/your/script.sh
    
  3. Place the .desktop file:
    Save it in ~/.local/share/applications/. The system will detect it and show the launcher in the app grid.

  4. Pin to desktop (if supported):
    Open the app grid, find your script launcher, and use the long-press menu to pin it to the desktop.

Note: Ubuntu Touch restricts execution from /home due to AppArmor. If your script is in /home/phablet, move it to /opt or another allowed directory and update the Exec path accordingly.

Also, /opt is not allowed to be written in by a user-Brave AI gives some old and messed up advice. User phablet is allowed to write files in their directory using the terminal which authenticates u. I have mine saved in /home/phablet/radio.sh