No desktop shortcuts for argonone M.2

Hi All,
Just returning to Raspberry Pi.
Have bought the argonone M.2 case and when running the script for the fan it does NOT install the desktop shortcuts, looking at the script it doesn’t mention they are created ?

I can run the app via the terminal (if that’s the right word).

Has the desktop shortcut icons been removed from the install script ? And if not does anyone know the issue ?

Thanks
Andrew

Unfortunately the creation of the desktop icon is hardcoded in the script argon1.sh.
It uses the (former standard) user “pi”.

$  grep -n home argon1.sh

600:shortcutfile="/home/pi/Desktop/argonone-config.desktop"
601:if [ "$CHECKPLATFORM" = "Raspbian" ] && [ -d "/home/pi/Desktop" ]
603:    terminalcmd="lxterminal --working-directory=/home/pi/ -t"
604:    if  [ -f "/home/pi/.twisteros.twid" ]
606:            terminalcmd="xfce4-terminal --default-working-directory=/home/pi/ -T"

And if you are not using that user “pi” there is no icon created…

Solution: Modify the script argon1.sh to fit your user by changing the above 4 lines accordingly and execute it again.

Or better (that’s a hint for the Argon FORTY team) make it use the current user regardless of its name:

$ grep -n HOME argon1.sh

600:shortcutfile="$HOME/Desktop/argonone-config.desktop"
601:if [ "$CHECKPLATFORM" = "Raspbian" ] && [ -d $HOME/Desktop ]
603:    terminalcmd="lxterminal --working-directory=$HOME -t"
606:            terminalcmd="xfce4-terminal --default-working-directory=$HOME -T"