From d44a3477d5b307fc43cfff1d21a9445def25b4e6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 22 Dec 2012 19:00:31 +0100 Subject: try to fix lxde login and add more debug code --- bin/g-i-installation.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 9f98b826..f453c95d 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -173,8 +173,8 @@ backup_screenshot() { } do_and_report() { - vncdo -s $DISPLAY $1 $2 - echo "Sending $1 $2" + vncdo -s $DISPLAY $1 "$2" + echo "At $NR sending $1 $2" backup_screenshot } @@ -230,21 +230,21 @@ normal_action() { # case $NAME in *lxde) case $TOKEN in - 100) do_and_report key enter + 160) do_and_report key enter ;; - 120) do_and_report key alt-f2 + 200) do_and_report key alt-f2 ;; - 130) do_and_report type lxterminal + 230) do_and_report type lxterminal ;; - 140) do_and_report key enter + 240) do_and_report key enter ;; - 150) do_and_report type "su -c poweroff" + 250) do_and_report type "su -c poweroff" ;; - 160) do_and_report key enter + 270) do_and_report key enter ;; - 170) do_and_report type r00tme + 280) do_and_report type r00tme ;; - 180) do_and_report key enter + 300) do_and_report key enter ;; *) ;; esac -- cgit v1.2.3-70-g09d2