Ticket #297 (closed task: wontfix)
use with-login-env to set up user environment
| Reported by: | cs@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Nice to Have | Milestone: | 2.5.0 |
| Component: | xserver | Version: | |
| Keywords: | Cc: |
Description
Some months back, in the "2.3.2_rc4" thread at:
http://lists.macosforge.org/pipermail/xquartz-dev/2008-December/thread.html
we worked out a shell script that reliably execs an arbitrary command with the user's login environment by sourcing the right stuff according to the user's shell and carefully preserving command line arguments for the exec.
Jeremy was going to use this in the "open a terminal" etc menu items that the X server offers.
My reference copy of the script is available here:
and I attach a copy of the script to this bug for immediate use.
Cheers, Cameron Simpson
Attachments
Change History
Changed 4 years ago by cs@…
- Attachment with-login-env added
comment:2 Changed 3 years ago by jeremyhu@…
- Status changed from new to closed
- Resolution set to wontfix
I've thought about this a bit, and I think that "X11" is not the right project for this enhancement request. We are doing most of the guts of this already in the start script inside the app. I suggest you file this as a feature request at http://bugreport.apple.com

with-login-env script