Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/modules/gui/filesystem/home/pi/scripts/start_gui
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ DISABLE_POWER_MANAGEMENT=yes
# Rotate screen if needed, see 'xrandr -h' for options.
DISPLAY_ORIENTATION=normal

if ["${DISPLAY_ORIENTATION}" != 'normal'];
if [[ "${DISPLAY_ORIENTATION}" != 'normal' ]];
then
xrandr --orientation ${DISPLAY_ORIENTATION}
fi

if ["${DISABLE_POWER_MANAGEMENT}" == 'yes'];
if [[ "${DISABLE_POWER_MANAGEMENT}" == 'yes' ]];
then
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
Expand Down