So should this not work ? mkshortcut -w /tmp -D -A -d "Run orpie RPN calculater." -n "Orpie RPN Calculater" -i /home/djh/icons/hp_calc.ico -a " -p '100,150' -t 'Orpie Calculater' -e \"PATH=${PATH}:.... /usr/bin/orpie\"" /bin/mintty.exe
/R 2013/8/24 <wynfi...@gmail.com>: > > The normal way works and even > $ PATH=${PATH}:.... mintty cmd > > The command line invokation is no problem. > > But, I couldn't do with a desktop shortcut with something like: > > mkshortcut -w /tmp -D -A -d "Run orpie RPN calculater." -n "Orpie RPN > Calculater" -i /home/djh/icons/hp_calc.ico -a " -p '100,150' -t 'Orpie > Calculater' -e /usr/bin/orpie" /bin/mintty.exe > > The above doesn't source my zsh startup files first. I see no reference > informat related to shells. I'm, just inoking an application direct. > > Any ideas? > > > Robert Marklund wrote: >> Doesn't the normal terminal way work? >> >> PATH=$HOME/bin:$PATH command >> Or for library: >> LIBRARY_PATH=my/path:$LIBRARY_PATH command >> >> /R >> >> 2013/8/24 <wynfi...@gmail.com>: >> > >> > I am attempting to create a desktop icon for cygwin based applicatin. >> > >> > I am using >> > mkshortcut and mintty with the program to be invoked's name as am >> > argument to mintty. >> > >> > The problem I'm encountering is that the applicatin that mintty is to run >> > requires >> > /usr/lib/lapack which is not in PATH when invoked from the desktop. I >> > know I can do the windows thing to set a full microsoft windows PATH, but >> > would prefer to keep it in the shortcut or in a mintty configuration file. >> > >> > In essence I want to apprend to the PATH environment variable the needed >> > library path. >> > Can this be done a.) with makshortcut or b.) with mintty. I couldn't find >> > any reference in h ow to in the documentation. >> > >> > Any advice would be appreciated. >> > >> > Regards >> > >> > -- >> > Problem reports: http://cygwin.com/problems.html >> > FAQ: http://cygwin.com/faq/ >> > Documentation: http://cygwin.com/docs.html >> > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> > >> >> >> >> -- >> ______________________________________________ >> Robert Marklund >> >> Mobile: +46 (0)70 213 22 76 >> E-mail: robbelibob...@gmail.com >> Chat: robbelibob...@gmail.com >> ______________________________________________ >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- ______________________________________________ Robert Marklund Mobile: +46 (0)70 213 22 76 E-mail: robbelibob...@gmail.com Chat: robbelibob...@gmail.com ______________________________________________ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple