xorg: disable autoconfigured multiple screens
This commit is contained in:
parent
5d80adf19a
commit
c468b29553
@ -230,6 +230,8 @@ if [ ! -e $XORGCONF ]; then
|
|||||||
|
|
||||||
mv /tmp/xorg.conf.new $XORGCONF
|
mv /tmp/xorg.conf.new $XORGCONF
|
||||||
sed -i "s|#DisplaySize|DisplaySize|" $XORGCONF
|
sed -i "s|#DisplaySize|DisplaySize|" $XORGCONF
|
||||||
|
# disable autoconfigured multiple screens
|
||||||
|
sed -i "s|^\([[:space:]]*Screen[[:space:]]*[1-9].*\)|#\1|" $XORGCONF
|
||||||
fi
|
fi
|
||||||
let "CONFCREATED = 1"
|
let "CONFCREATED = 1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user