Can't return to gamescope-session
Opened this issue · 6 comments
I'm currently running the latest commit with nixpkgs-unstable
on my Steam Deck. Here's my Jovian config
jovian.steam = {
enable = true;
user = "thomas";
autoStart = true;
desktopSession = "hyprland";
};
I'm able to switch to Hyprland with Switch to Desktop
in the Steam power menu. When exiting Hyprland I'm met with a blank screen on tty1, and when trying to switch to other ttys I'm automatically switched back to tty1.
Hyprland doesn't know how to clean up after itself properly, it's been reported upstream somewhere and nothing happened.
Sounds good, I found the thread and commented.
Can you link the Hyprland issue here for cross-reference?
I got you: hyprwm/Hyprland#4226
I also have this issue with sway. This is how I work around it.
environment.systemPackages = with pkgs; [
(writers.writeDashBin "sway-logout" ''
${systemd}/bin/systemctl --user unset-environment WAYLAND_DISPLAY SWAYSOCK
${sway}/bin/swaymsg exit
'')
];
I also have this issue with sway. This is how I work around it.
While that may work for sway, the thing that worked for me in Hyprland is:
(pkgs.writeShellScriptBin "hyprexit" ''
${hyprland}/bin/hyprctl dispatch exit
${systemd}/bin/loginctl terminate-user ${user}
'')