• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

zshの環境変数を設定する場合はzshrcなどに記述すれば良いのですが、GUIアプリケーションを制御するために環境変数を設定する必要がある場合には、 以下のように ~/.MacOSX/environment.plist ファイルに設定を記述する必要があるようです。

~/.MacOSX/environment.plist

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   3  <plist version="1.0">
   4  <dict>
   5    <key>MAYA_UI_LANGUAGE</key>
   6      <string>en_US</string>
   7  </dict>
   8  </plist>

設定を反映させるためには、一度ログアウトしてログインしなおす必要があります。

posted by Png genki on Sat 26 Dec 2009 at 08:49
Contents
Mac OS Xで環境変数を設定する方法
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ