How do I get LyX to work in a directory besides /Applications/? Specifically, I want to stick it in a subdirectory /Applications/Productivity/. LyX, for some reason, has the path /Applications/ internally hard coded (you can check this with a hex editor - just search for the path). I can get it to run from the command line by launching it with an absolute path an giving it the argument -sysdir, but I can't figure out how to make it back in to a double-clickable app. I've tried moving the executable and replacing with either a shell script and a compiled c executable (both just running the command I would enter in the CLI), but LyX will launch frozen (even if a attach an & to the end of the command).

Is there any way to get LyX to be a double clickable, run anywhere app? In theory, this would entail some kind of script (shell or apple) that would figure out the full path of the program, and launch it with the appropriate arguments. Even better would be if the executable itself did this, but there may be some obscure technical reasons I'm unaware of why it cannot.

Sean

Reply via email to