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
Failed to turn off screen using custom hotkey #1218
Comments
@AuroraRock it just runs windows own command to do that :) if it was rejected by windows, apparently it's some settings that prevent it (mb some strange user permissions / etc). I can't really change anything here. |
@AuroraRock you can try to run following powershell command (it does same as app when turns off screen) If it won't work neither - check what's wrong with windows settings |
This command from the website worked, but not only did it close my screen, it put the computer to sleep. |
@AuroraRock and does running same thing in G-Helper work now? If not - try to run app as admin. |
@seerge I always run the app as admin, but it's still not working. |
After I unplug the power adapter, I can use this shortcut to put the computer to sleep. That's strange. So is there any way to just turn the screen off without going to sleep?
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Serge ***@***.***>
发送时间: Wednesday, August 30, 2023 5:25:43 PM
收件人: seerge/g-helper ***@***.***>
抄送: Aurora ***@***.***>; Mention ***@***.***>
主题: Re: [seerge/g-helper] Failed to turn off screen using custom hotkey (Issue #1218)
@AuroraRock<https://github.com/AuroraRock> and does running same thing in G-Helper work now? If not - try to run app as admin.
―
Reply to this email directly, view it on GitHub<#1218 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIQA6IZNAYOOWV2ABKHYHS3XX4BJPANCNFSM6AAAAAA4EFX7XM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@AuroraRock does this build make any difference ? |
@seerge This build also put the computer to sleep. When I tried to wake up the computer, the screen flashed several times and took a long time. |
@AuroraRock so this build works same as powershell command ? Then it's maximum that can be done here. There is no other ways to turn off screen on windows. If you do know other methods - feel free to contribute :) |
@seerge i think
The app and other 3 commands in the website can make it hard to wake up my computer, you can see the monitor being turned on and off many times in the log.
|
Now it seems that all these commands sleep the computer, the same as what Fn+F11 does, so hiding this feature on unsupported laptops should be the best solution :) |
@AuroraRock you mix "Turn off display" and "Sleep". It's 2 separate actions (even in control panel) When you turn off display in windows, it will lock you (assuming you have default windows settings) and most probably require PIN / faceid when you enable screen. This is how things work in the system.
Closing as completed, as it seem to do what it's supposed to do in your case as well. |
@seerge I do see the laptop sleeping when I press the shortcut key (through the power indicator light and keyboard light), and if I leave the computer still until it automatically turns off the screen, I can see different behaviors. But thank you anyway. |
Unfortunately, it still doesn't work. I will look for the reason on my computer and Windows. Thank you for your help. |
Describe the bug
I've bound Toggle Screen to Fn+F4, but my screen turned off and then turned on again.
The log said
Expected behavior
Turn off screen.
App Logs
Desktop:
Asus software
None
The text was updated successfully, but these errors were encountered: