From 1965c4ad1d9baa2fba40993b36b7f82465016d28 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Mon, 19 Sep 2011 04:02:01 +0200 Subject: [PATCH] op_datetime.sh: Fixed screen blanking when changing time --- recipes/pandora-system/pandora-scripts/op_datetime.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5