use with-login-env to set up user environment
|Reported by:||cs@…||Owned by:||jeremyhu@…|
|Priority:||Nice to Have||Milestone:||2.5.0|
Some months back, in the "2.3.2_rc4" thread at:
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
Change History (67)
Changed 6 years ago by cs@…
comment:2 Changed 6 years ago by jeremyhu@…
- Resolution set to wontfix
- Status changed from new to closed