summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@yuffie.local>2007-12-20 17:22:16 -0800
committerJeremy Huddleston <jeremy@yuffie.local>2007-12-20 17:22:16 -0800
commitf31042ae688d75c2043e9df56f66cabdd56fdf75 (patch)
tree793142be8bd7ba39f9b435874a3fa9ed49c5227f
parentd1c968926fa2fe36b612d4ebc948d73e6e0f6c01 (diff)
OS-X: Need to use bash --login to setup the environment from launchd.
-rw-r--r--org.x.X11.plist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.x.X11.plist.cpp b/org.x.X11.plist.cpp
index 3a76a9d..cff3fc0 100644
--- a/org.x.X11.plist.cpp
+++ b/org.x.X11.plist.cpp
@@ -6,6 +6,10 @@
<string>org.x.X11</string>
<key>ProgramArguments</key>
<array>
+#ifdef __APPLE__
+ <string>/bin/bash</string>
+ <string>--login</string>
+#endif
<string>__bindir__/startx</string>
#ifdef __APPLE__
<string>--</string>