From: Michael Mrozek Date: Mon, 19 Sep 2011 02:02:01 +0000 (+0200) Subject: op_datetime.sh: Fixed screen blanking when changing time X-Git-Tag: sz_beta3~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1965c4ad1d9baa2fba40993b36b7f82465016d28;p=openpandora.oe.git op_datetime.sh: Fixed screen blanking when changing time --- diff --git a/recipes/pandora-system/pandora-scripts/op_datetime.sh b/recipes/pandora-system/pandora-scripts/op_datetime.sh index 3f5a1ce..2475539 100755 --- a/recipes/pandora-system/pandora-scripts/op_datetime.sh +++ b/recipes/pandora-system/pandora-scripts/op_datetime.sh @@ -36,9 +36,9 @@ while ! date -d $time ; do time=$(zenity --title="Enter actual time" --entry --text "Please enter the time in 24hour format (HH:MM):" --entry-text "$time_h:$time_m") done -xset s off +DISPLAY=:0 xset s off date +%Y%m%d -s $date date +%H:%M -s $time -xset s on \ No newline at end of file +DISPLAY=:0 xset s on \ No newline at end of file