Skip to content
Browse files

move xinitrc to /etc/X11/cdm/ and document it's use

  • Loading branch information...
1 parent 6f15756 commit d9b02d5c66447887c968ced4b4d4f64eeb1e9daf @tarsius tarsius committed Jan 30, 2011
Showing with 7 additions and 12 deletions.
  1. +1 −1 src/cdm
  2. +6 −0 src/xinitrc
  3. +0 −11 src/xinitrc.skel
View
2 src/cdm
@@ -249,7 +249,7 @@ xstart() {
wm_bin="$sysclientrc $wm_bin"
fi
else
- wm_bin="/usr/share/cdm/xinitrc $wm_bin"
+ wm_bin="/etc/X11/cdm/xinitrc $wm_bin"
fi
serverargs=":${display} ${serverargs} vt$((xtty+display))"
View
6 src/xinitrc
@@ -1,4 +1,10 @@
#!/bin/sh
+#
+# If option usexinit is set then this file is not used. Instead ~/.xinitrc
+# if it exists or else /etc/X11/xinit/xinitrc is used in it's place.
+
+
+# Put your configuration above this line.
wm_bin="$1"
exec ${wm_bin}
View
11 src/xinitrc.skel
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-###########################
-
-# Custom xinitrc goes here
-
-###########################
-
-
-wm_bin="$1"
-exec ${wm_bin}

0 comments on commit d9b02d5

Please sign in to comment.
Something went wrong with that request. Please try again.