-
Notifications
You must be signed in to change notification settings - Fork 169
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
Comments
@AFKSORRY 如果可以找到一个其他的开源的软件可以实现在steamdeck下控制系统锁屏(或者控制不锁屏、不变暗),那我解决起来应该就是一个小问题。如果没有,那就不是小问题。 |
Game Mode下是在
这几个项目设置的 Desktop Mode下应该可以通过 |
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 |
Possibly related: xfangfang/borealis#36 |
我找到了两种实现的方式,原理都差不多:
感觉第二种方式受益的群众会广一些,因为其他一些应用在也是发 D-Bus 请求来实现阻止系统熄屏的,这两天腾出空来实现了一下:https://github.com/xfangfang/DeckyInhibitScreenSaver 除了 wiliwili 外还测试了 VLC, Chrome 是支持的,FireFox 不太能支持(他调用的 D-Bus 服务系统提供了 所以不会调用这个插件的服务) 解压到 /home/deck/homebrew/plugins 目录下,重启 steam 就行了,或者在插件中打开开发者模式选择压缩包安装等方式。 大家测试没啥问题的话,我就试试传到官方的商店里去。 |
@AFKSORRY 前面说的steam deck 插件已经稳定运行了很长时间,同时也进入了decky的官方商店,先关闭这个issue了。 |
steamdeck端播放视频时,几分钟不按任何键后,屏幕就会变暗。请问能否解决这个小问题,谢谢QAQ
The text was updated successfully, but these errors were encountered: