The shortcut in the dash is not pointed to /usr/local/lib/sigil/sigil (at least it shouldn't be). It's pointed at Sigil's desktop application file (/usr/local/share/applications/sigil.desktop). Which in turn invokes the Sigil launch script (/usr/local/bin/sigil).
There is no need to create another shell script to launch Sigil, so neither your #1 or #2 examples are necessary. Number two would be OK, but reduntant (nor is it the same thing as #1). The /usr/local/bin/sigil shell script is already in your PATH. It's what is being run when you type 'sigil' at a terminal, or when you click the menu item (or the desktop shortcut made from the menu item).
Last edited by DiapDealer; 07-23-2016 at 04:59 AM.
|