mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-14 13:53:25 +01:00
关于 Steam 在 hyprland 启动 #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LokiSharp on GitHub (Oct 21, 2024).
我正在参考你的配置构建自己的系统,启动 Steam 提示 cannot connection to X。我发现你的 hyprland 配置里没有启用 xserver 和 xwayland。需要修改什么配置让 steam 支持在 hyprland 启动?
@ryan4yin commented on GitHub (Oct 22, 2024):
很久没在 NixOS 上用过 Steam 了,你要不抄抄别人的配置吧,我估计是被我改坏掉了。
@DataEraserC commented on GitHub (Oct 22, 2024):
我这边steam工作正常
另外hyprland的xwayland貌似是在这里启用了
https://mynixos.com/home-manager/option/wayland.windowManager.hyprland.xwayland.enable
https://github.com/ryan4yin/nix-config/blob/main/home/linux/gui/hyprland/values/hyprland.nix#L13
也有可能是因为我自己改了一些东西导致它正常工作还是什么原因(之前因为chrome里面拖拽会导致chrome无法操作的bug更新了hyprland到对chrome的bug进行了更好的处理的版本)
@LokiSharp commented on GitHub (Oct 22, 2024):
我知道原因了,我之前 pkgs 选择的 24.05 版本,切换到和你相同的 unstable 就没问题了。