op_datetime.sh: Fixed screen blanking when changing time
authorMichael Mrozek <EvilDragon@openpandora.de>
Mon, 19 Sep 2011 02:02:01 +0000 (04:02 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Mon, 19 Sep 2011 02:02:01 +0000 (04:02 +0200)
recipes/pandora-system/pandora-scripts/op_datetime.sh

index 3f5a1ce..2475539 100755 (executable)
@@ -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