Page 1 of 1

Ubuntu launcher

Posted: Mon Jul 02, 2018 7:52 am
by alacant
Ubuntu 18.04
Hi everyone
How do make a launcher to add to the dock? I tried dragging over the StarTools-Linux64 icon but it won't start because it's missing the licence and other files.
TIA and clear skies,
Steve

**Edit. OK, I got as far as this:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name[en_GB]=startools
Exec=/home/steve/./runst
Comment[en_GB]=startools linux64
Name=startools
Comment=startools linux64
Icon=/home/steve/Pictures/st.png

where runst contains:
!#/bin/bash
cd Desktop/startools/StarTools_1_4_332_alpha/distro/
./StarTools-Linux64

This produces a clickable icon but it cannot be added to the dock.
Cheers,