Niri: Difference between revisions

Matthew (talk | contribs)
Added Troubleshooting XWayland apps not working (and how to fix it)
Matthew (talk | contribs)
Updated XWayland apps not working - now there is separate documentation for Home Manager and default in the configuration.nix
Line 85: Line 85:
=== XWayland apps not working ===
=== XWayland apps not working ===
There is a optional dependency for Niri which is highly recommended to install (you can read [https://github.com/YaLTeR/niri/wiki/Xwayland this] article to learn more about this)
There is a optional dependency for Niri which is highly recommended to install (you can read [https://github.com/YaLTeR/niri/wiki/Xwayland this] article to learn more about this)
{{Code|1=home.packages = with pkgs; [
 
{{File|3=environment.systemPackages = with pkgs; [
    xwayland-satellite # xwayland support
];|name=❄︎ /etc/nixos/configuration.nix|lang=Nix}}
 
Or using [[Home Manager]]
 
{{File|3=home.packages = with pkgs; [
   xwayland-satellite # xwayland support
   xwayland-satellite # xwayland support
];|lang=Nix}}
];|name=❄︎ ~/.config/home-manager/home.nix|lang=Nix}}
 
After you installed {{ic|xwayland-satellite}} Niri will integrate it out of the box and all of your XWayland apps will function properly.
After you installed {{ic|xwayland-satellite}} Niri will integrate it out of the box and all of your XWayland apps will function properly.