[Xquartz-dev] 2.3.2_rc4
Viv Kendon
V.Kendon at leeds.ac.uk
Sat Dec 20 12:07:12 PST 2008
On Sat, 20 Dec 2008, Jeremy Huddleston wrote:
>> source login-startup-script.sh; app-to-run
>
> The apps were getting a "decent environment" because they were being run from
> a login shell.
Since when? I have certainly had to source the fink
"init.sh" in those commands, as Martin describes, to get
them to work, for most of my past use of X11 on Macs.
>> into the Application menu command line. Such shell commands won't work any
>> more, which is a pity.
Until I read this thread I had no reason to suspect I needed
to remove that "source" preceding the command, that now it
precisely would not work if I included it! Martin is right,
it will break things for people unless they are explicitly
told to update their Application menus.
> Why not? Just put that 'login-startup-script.sh' into your ~/.profile where
> it belongs.
Of course I source it in my .bashrc as well. That's not the
point. The point is that it breaks current configurations,
so people need to be alerted beyond a passive FAQ entry.
It also breaks entries that launch two apps in one go, or
run a preparatory script before the app for other reasons
(people are pretty inventive to meet their own particular
needs). Of course there are easy ways to work around, by
making a wrapper shell script, for example. I'm not arguing
against the change, just pointing out it has more of an
impact than perhaps you anticipated.
-- Viv
________________________________________________
Dr Viv Kendon http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864 Physics and Astronomy
Quantum Information Group University of Leeds
More information about the Xquartz-dev
mailing list