Artificial intelligent assistant

Sway input, how to get the 'us intl' layout (US keyboard international variant) I am trying to get this layout working Should I put something in `/etc/sway/inputs/default-keyboard` ? I tried to get the information with `man 5 sway-input` and `swaymsg -t get_inputs` but it did not help. I am not even sure which configuration file the doc refers to. I am tired of wasting my time on this issue and would really love some help EDIT: My solution, even if I accepted the answer one that helped me the most: In the file `/etc/sway/inputs/default-keyboard` Add the following block input type:keyboard { xkb_layout us xkb_variant intl }

The configuration file referenced by man 5 sway-input is the sway configuration file in `~/.config/sway/config` or `~/.sway/config` or other allowed locations. You can find the default configuration in `/etc/sway/config`.

To set your chosen layout(s) it should be enough to add something similar to this in the configuration:


input type:keyboard {
xkb_layout fr,us # two layouts
xkb_variant oss,intl # their respective variants
xkb_options grp:sclk_toggle # toggle between layouts with the scroll-lock button
xkb_numlock enabled # enable numlock when logging in
}


You can find the codes for all layouts, variants and toggle keys listed in `man xkeyboard-config`.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 569d7d1188a24b89405e39ceb5ea79ac