How to make a desktop shortcut for live session user

Solution 1:

The approach is to actually create the launcher in the skel folder, but then automatically delete this launcher after the OS installation has completed successfully.

  1. Create the launcher

    Execute the following in Cubic's Terminal page:

     mkdir /etc/skel/Desktop
     cp /usr/share/applications/ubiquity.desktop /etc/skel/Desktop/
     chmod +x /etc/skel/Desktop/ubiquity.desktop
     ls -la /etc/skel/Desktop/*
    
  2. Delete the launcher after installation

    On Cubic's Options page, click the Preseed tab, and add the following at the end of the ubuntu.seed file:

     ubiquity ubiquity/success_command string \
         in-target bash -c 'rm -rf /etc/skel/Desktop/ubiquity.desktop'; \
         in-target bash -c 'rm -rf /home/*/Desktop/ubiquity.desktop';