Screen just turns back on with no external stimulus
When I run the script, it works as expected.
However, the screen only stays off for a second before coming straight back on without me touching anything. When it does come back, it shows no external stimulus (e.g. MOUSE_MOVED) in the terminal:
I added a 1-second delay at the start of the script in case it was a keyboard bounce or something, but that doesn't work (and would still show up as a key press in the terminal screen).
When I do then apply a stimulus, the script exits properly with the correct message:
I need more details.
I need to know desktop environment, Gnome, KDE, etc. and whether it's Wayland or Xorg.
Otherwise, impossible to troubleshoot.
OHH one thing is make sure you're in the group render. and try running in sudo.
Edit the /etc/sudoers like:
https://github.com/hopeseekr/BashScripts/issues/10
It's Wayland on Gnome (details in the neofetch output above). I'll try the group and sudoers addition later when I'm back at that machine.
I was already in the input group.
I have added myself to the render group and updated sudoers with:
## Allow sudo-run commands to inherit the callers' ConsoleKit session
Defaults env_keep += "XDG_SESSION_COOKIE"
Same issue exists
I tried running as sudo, and received this:
Hi, can you please use either ChatGPT o4-mini-high, Claude 3.7 or Gemini 2.5 Pro?
Plug in the entire script and report everything you've reported here, and see if there is a solution.
Thanks.
Hello,
I have upgraded to Ubuntu 25.04 and my original issue has been resolved, so I no longer use this script. Thank you.
Kind regards, Mark
On Mon, 12 May 2025 at 15:33, Theodore R. Smith @.***> wrote:
hopeseekr left a comment (hopeseekr/BashScripts#13) https://github.com/hopeseekr/BashScripts/issues/13#issuecomment-2872602911
Hi, can you please use either ChatGPT o4-mini-high, Claude 3.7 or Gemini 2.5 Pro?
Plug in the entire script and report everything you've reported here, and see if there is a solution.
Thanks.
— Reply to this email directly, view it on GitHub https://github.com/hopeseekr/BashScripts/issues/13#issuecomment-2872602911, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP7TLW63QGF24M6DBGZZTT26CPLHAVCNFSM6AAAAABUYJ36F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNZSGYYDEOJRGE . You are receiving this because you authored the thread.Message ID: @.***>