Skip to content

Conversation

@thedumbterminal
Copy link
Contributor

Adds options to turn off the disabling power management and rotate the screen if required.

Depending the the use case of the OS it may be desirable to keep the standard power management options for Xorg so that the screen will blank when the input is idle for an amount of time. For example this will mean that the screen will blank until a touchscreen is touched.

Depending on the screen used, it can be rotated at an Xorg level also in the start_gui script. For my use case this is required when using a non official raspberry pi 10" touch screen in the standard case. (Official touch screens use an option in /boot/config.txt).

@thedumbterminal
Copy link
Contributor Author

Addresses: guysoft/FullPageOS#410

xset s noblank # don't blank the video device

# Stop the screen from turning off when idle.
DISABLE_POWER_MANAGEMENT=yes
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added these here rather than in config, as they need to be changed at runtime, maybe there is a better place to define these?

@guysoft guysoft merged commit 8331352 into guysoft:devel Mar 6, 2022
@guysoft
Copy link
Owner

guysoft commented Mar 6, 2022

Thanks for your contribution!
Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants