Niri: Difference between revisions
Add infobox |
Add IME not working on Electron apps |
||
Line 59: | Line 59: | ||
security.pam.services.swaylock = {}; | security.pam.services.swaylock = {}; | ||
}} | }} | ||
== Troubleshooting == | |||
=== IME not working on Electron apps === | |||
There is a general workaround to set {{ic|NIXOS_OZONE_WL}} as described in [[Wayland#Electron_and_Chromium]]: | |||
{{file|/etc/nixos/configuration.nix|nix|3= | |||
environment.sessionVariables.NIXOS_OZONE_WL = "1"; | |||
}} | |||
However, since Niri does not support text-input-v1, sometimes enabling text-input-v3 by manually adding {{ic|<nowiki>--text-input-version=v3</nowiki>}} flag is necessary for IME to work: | |||
{{code|<nowiki>slack --text-input-version=v3</nowiki>}} | |||
== See Also == | == See Also == |