Check-in [164fbdbb11]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

SHA1 Hash:164fbdbb11bd4595c907d69e3d4c0bda435659a1
Date: 2013-01-31 14:50:24
User: root
Comment:xrandrshell: slight tweak of previous

Tags And Properties
Changes

Changes to woof-code/rootfs-skeleton/usr/sbin/quicksetup

@@ -757,11 +757,11 @@
   XRANDR="`xrandr -q`"
   DEF_XYRES="`echo "$XRANDR" | tr -s ' ' | grep '^ [0-9]' | grep '\*' | cut -f 2 -d ' '`"
   #130131 xrandr may have more than one frequency on a line, ex:   1360x768       59.8     60.0
   #LIST_XYRESES="`echo "$XRANDR" | tr -s ' ' | grep '^ [0-9]' | cut -f 2,3 -d ' ' | sed -e 's%$% "" off%'`"
   #1301310 creates multiple lines, ex: "1360x768       59.8" and "1360x768       60.0"...
-  xXYRESES="$(echo "$XRANDR" | tr -s ' ' | grep '^ [0-9]' | cut -f 2,3,4 -d ' ' | sed -r -e 's%([^ ]*) ([^ ]*) ([^ ]*)%\1 \2TWO\1THREE\3%' -e 's%(TWO.*THREE$)%%' -e 's%TWO%\n%' -e 's%THREE% %')"
+  xXYRESES="$(echo "$XRANDR" | tr -s ' ' | grep '^ [0-9]' | cut -f 2,3,4 -d ' ' | sed -r -e 's%([^ ]*) ([^ ]*) ([^ ]*)%\1 \2TWO\1THREE\3%' -e 's%TWO.*THREE$%%' -e 's%TWO%\n%' -e 's%THREE% %')"
   LIST_XYRESES=""
   [ "$xXYRESES" ] && LIST_XYRESES="$(echo "$xXYRESES" | sed -e 's%$% "" off%')"
   echo "$LIST_XYRESES" > /var/local/quickset-xrandr-list
   onPTN="s%^${DEF_XYRES} \"(.*)\" off$%${DEF_XYRES} \"\1\" on%"
   sed -i -e 's% on$% off%' -r -e "$onPTN" /var/local/quickset-xrandr-list