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

steamdeck端能否加入默认屏幕常亮功能 #186

Open
AFKSORRY opened this issue Aug 2, 2023 · 4 comments
Open

steamdeck端能否加入默认屏幕常亮功能 #186

AFKSORRY opened this issue Aug 2, 2023 · 4 comments
Labels
feature request help wanted Extra attention is needed

Comments

@AFKSORRY
Copy link

AFKSORRY commented Aug 2, 2023

steamdeck端播放视频时,几分钟不按任何键后,屏幕就会变暗。请问能否解决这个小问题,谢谢QAQ

@xfangfang
Copy link
Owner

xfangfang commented Aug 2, 2023

@AFKSORRY 如果可以找到一个其他的开源的软件可以实现在steamdeck下控制系统锁屏(或者控制不锁屏、不变暗),那我解决起来应该就是一个小问题。如果没有,那就不是小问题。

@happytommyl
Copy link

happytommyl commented Oct 28, 2023

Game Mode下是在/home/deck/.steam/root/config/config.vdf

IdleBacklightDimBatterySeconds
IdleBacklightDimACSeconds
IdleSuspendBatterySeconds
IdleSuspendACSeconds

这几个项目设置的

Desktop Mode下应该可以通过xset设置

@xfangfang
Copy link
Owner

@happytommyl

Linux的桌面模式已经通过dbus做了支持,steam deck经过测试也是正常的。

steam deck 的游戏模式究竟要怎么做我还不是特别清楚,如果要为steamdeck添加支持,欢迎将代码提交到 borealis,具体的位置在:https://github.com/xfangfang/borealis/blob/f0d33953a0addc252b0a129f6e17c08f16fcaeb3/library/lib/platforms/desktop/desktop_platform.cpp#L608

可以通过 getenv("SteamDeck") 来判断是否是steam deck

@mochaaP
Copy link
Contributor

mochaaP commented Nov 17, 2023

Possibly related: xfangfang/borealis#36

@xfangfang xfangfang added the help wanted Extra attention is needed label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants