![]() ![]() Instead, you can use another mechanism to execute a script at login, and have that script call launchctl to set up the launchd environment. ![]() In theory, you should be able to put setenv commands in ~/.nf, and launchd would read them automatically when the user logs in, but in practice support for this file was never implemented. You can apply changes at any time by using the setenv command in launchctl. your user's launchd instance: this applies to all programs launched by the user, GUI and CLI.This file is no longer supported as of OS X 10.8. It requires you to logout and login again for changes to take effect. It applies to all applications, including GUI ones, except those launched by Spotlight in 10.5 (not 10.6). ~/.MacOSX/ist: this is read by loginwindow on login. ![]() Use it when you want the variable to apply to terminal programs launched by all users on the machine (assuming they use bash).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |