Keyboard Layout Customization: Difference between revisions

imported>Matklad
Clarify using xkbVariant with several layouts
imported>Aabccd021
No edit summary
Line 84: Line 84:


Works after boot and after suspend/resume.
Works after boot and after suspend/resume.
You may need to add some delay to make xmodmap command works.
<source lang="nix">
  services.xserver.displayManager.sessionCommands = "sleep 5 && ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 43 = h H Left H' &";
</source>