Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How to prevent black screen on inactivity? #501

Closed
gelinger777 opened this issue Oct 8, 2020 · 7 comments
Closed

How to prevent black screen on inactivity? #501

gelinger777 opened this issue Oct 8, 2020 · 7 comments
Labels
invalid The issue describes a behaviour that cannot be verified.

Comments

@gelinger777
Copy link

gelinger777 commented Oct 8, 2020

I have installed ICEWM on newest Ubuntu 20.04 . All works perfect, but on inactivity it shuts down the screen .

I have tried many things like


xset -dpms
xset s off

in startup config of the icewm ,

I have uninstalled the power manager of the ubuntu-desktop, i have set in grub acpi=off,apm=off

But neither of them worked.

Any idea how to solve the problem? We need that the display constantly works and not goes off...

@gijsbers
Copy link
Collaborator

gijsbers commented Oct 8, 2020

IceWM doesn't know or do anything with screen saving or energy.
That is actually a wish: some code to detect if a monitor is turned off.
But how to do that remains a mystery sofar. If you know, please tell us.
Usually the Arch Wiki has good info. Try this:
https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling#xset_screen-saver_control
Good luck!

@gijsbers
Copy link
Collaborator

gijsbers commented Oct 8, 2020

xset -dpms s off s noblank s 0 0 s noexpose

Add the the following options at the end of your ServerLayout section in /etc/X11/xorg.conf

    Option "BlankTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"

Like so:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
    Option         "BlankTime" "0"
    Option         "StandbyTime" "0"
    Option         "SuspendTime" "0"
    Option         "OffTime" "0"
EndSection

@DieSpinne
Copy link
Contributor

Is IdleAction=ignore in /etc/systemd/logind.conf?

@gelinger777
Copy link
Author

Still didn't had time to try, as I have crashed that PC ... Will test next week and let you guys know. I really appreciate your help!

@gelinger777
Copy link
Author

@DieSpinne I have made it IdleAction=ignore , did not helped.

@gelinger777
Copy link
Author

@gijsbers i don't have /etc/X11/xorg.conf should I create one?

Should I put the line

xset -dpms s off s noblank s 0 0 s noexpose

in the .icewm/startup ? Or ?

@gijsbers
Copy link
Collaborator

gijsbers commented Nov 3, 2020

Here we only deal with the window manager IceWM, which is
about positioning application windows and directing input focus.

@gijsbers gijsbers added the invalid The issue describes a behaviour that cannot be verified. label Mar 7, 2021
@gijsbers gijsbers closed this as completed Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid The issue describes a behaviour that cannot be verified.
Projects
None yet
Development

No branches or pull requests

3 participants