summaryrefslogtreecommitdiff
path: root/launchd/org.x.X11.plist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launchd/org.x.X11.plist.cpp')
-rw-r--r--launchd/org.x.X11.plist.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/launchd/org.x.X11.plist.cpp b/launchd/org.x.X11.plist.cpp
new file mode 100644
index 0000000..822f1f7
--- /dev/null
+++ b/launchd/org.x.X11.plist.cpp
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>org.x.X11</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>__bindir__/startx</string>
+ <string>--</string>
+ <string>-launchd</string>
+ </array>
+ <key>Sockets</key>
+ <dict>
+ <key>:0</key>
+ <dict>
+ <key>SecureSocketWithKey</key>
+ <string>DISPLAY</string>
+ </dict>
+ </dict>
+ <key>ServiceIPC</key>
+ <true/>
+</dict>
+</plist>