I just dragged LyX application icon to the dock and started from there. Thought taht was enough, at least before the 1.4.3 upgrade.
I know your script is a good solution, but is there any way to let MacOS that all running programs should use bash as environment? I thought that was the default. On 10/24/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:
>>Date: Mon, 23 Oct 2006 20:36:08 +0200 >>From: "Julio Rojas" <[EMAIL PROTECTED]> >>To: LyXFolks <lyx-users@lists.lyx.org> >>Subject: Re: ImageMagick and OSX (PPC) >> >>I have added the $MAGICK_HOME variable, which was missing, and now >>"convert" works fine. >> >>If I run LyX directly from the icon the rendering doesn't work, but if >>I run it from the command line with the debbuging graphics option, the >>rendering works. >> >>Weird!!! Any idea? Probably the icon starts lyx in sh, which ignores the env variables. Try to find where the file associations are triggered by the file manager and replace lyx <file arg> with e.g. csh -c 'lyx <file arg>' or whatever shell wich understands the env variables. OR wrap lyx call in a command like #! /bin/csh lyx-1.4.3 $1 exit after renaming lyx command as lyx-1.4.3 -- Jean-Pierre
-- ------------------------------------------------- Julio Rojas [EMAIL PROTECTED]