Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow power management to be disabled and screen rotated #157

Merged
merged 1 commit into from
Mar 6, 2022

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants