3 [ -r /etc/X11/Xorg.arch-options ] && . /etc/X11/Xorg.arch-options
7 XORG_CONF=" -config /etc/X11/xorg.conf -configdir /etc/X11/xorg.conf.d "
8 OTHER_OPTIONS=" -logfile /var/log/Xorg.0.log -ac -noreset +accessx 0 +dpmsphone $XORG_ARCH_OPTS"
10 # Xorg automatically preserves logs in $LOGDIR/Xorg.DPY.log.(old)
13 for scriptlet in $(find /etc/X11/arch-preinit.d ! -type d); do
14 test -x "$scriptlet" && . "$scriptlet"
17 if [ -e ~/.xinitrc ]; then
20 XINITRC=/etc/X11/xinitrc
23 XSERVER_OPTIONS=" ${DISPLAY} ${OTHER_OPTIONS} ${XORG_CONF} "
25 if [ "$1" = "--gdb" ]; then
26 gdb --args Xorg ${XSERVER_OPTIONS}
28 if [ "$1" = "--only" ]; then
30 Xorg ${XSERVER_OPTIONS} &
32 xinit ${XINITRC} -- /usr/bin/Xorg ${XSERVER_OPTIONS} &