Ubuntu launcher

Questions and answers about problems with the software, modules or functionality.
Post Reply
alacant
Posts: 211
Joined: Mon Jan 25, 2016 7:03 am

Ubuntu launcher

Post 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,
Attachments
st-icon.png
st-icon.png (32.52 KiB) Viewed 3966 times
Post Reply