X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=wA n5GcMToWVHgxwVJUy0FUi4cU5jfPIImCBNqM3N2rSZ1yOX5TPDseXKlsH2bkH1nG fKMdntxpcGnAmUbHLw4Ea8z4RBqTmBhDMokNUnfNcEDSo2tlfS76ugKzPe4cvIms 4d7glfGUCwrjKgp47iVCqkdDwaU8ASfilkyPeUblQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=33eZuAQ0 aiIibHfGAmYZ2cf5Il4=; b=O4zC/8Gck9kW+ZZC8xvohpqHVVDa+I7f/ZBN/3M5 nDkzwxWEjc5xv1xL8w6JWwvsMqh/RVQFmt/brfX4pjapTuP+uLu+Yb73QP0NypvC dCwzQAKP/rRedtD1qwk5SpHnHHY7UwgDIjPabL5POHgJRBADqhq7SV04kt6t1Qdt 3ms= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2 MIME-Version: 1.0 X-Received: by 10.59.8.232 with SMTP id dn8mr6035680ved.8.1377376320281; Sat, 24 Aug 2013 13:32:00 -0700 (PDT) In-Reply-To: <20130824225829.3448@binki> References: <20130824180126 DOT 3348 AT binki> <20130824225829 DOT 3448 AT binki> Date: Sat, 24 Aug 2013 22:32:00 +0200 Message-ID: Subject: Re: mintty functionality From: Robert Marklund To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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 : > > 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 : >> > >> > 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: robbelibobban AT gmail DOT com >> Chat: robbelibobban AT gmail DOT 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: robbelibobban AT gmail DOT com Chat: robbelibobban AT gmail DOT 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