View Single Post
Old 07-23-2016, 04:47 AM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,690
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
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.
DiapDealer is offline   Reply With Quote