[PC-BSD Commits] r2610 - pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin

svn at pcbsd.org svn at pcbsd.org
Tue Aug 19 12:18:00 PDT 2008


Author: kris
Date: 2008-08-19 12:18:00 -0700 (Tue, 19 Aug 2008)
New Revision: 2610

Modified:
   pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
Log:

Fixed a bug with dual-head support, will remove plasma-appletsrc if using dualhead, so that plasma detects both screens at first startup



Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh	2008-08-19 17:52:11 UTC (rev 2609)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh	2008-08-19 19:18:00 UTC (rev 2610)
@@ -301,3 +301,13 @@
   # We found the file, so run it
   sh "/PCBSD/xorg-gui/templates/scripts/${DRIVER}.sh" "${SELDRIVER}"
 fi
+
+# Check if on dual-head and remove the plasma-appletsrc file
+if [ ! -z "${DUALHEAD}" ]
+then
+  cd /home
+  for i in `ls`
+  do
+    rm ${i}/.kde4/share/config/plasma-appletsrc >/dev/null 2>/dev/null
+  done
+fi



More information about the Commits mailing list