Some specifics:
I just added
exec --no-startup-id "setxkbmap -model pc104 -layout us,ge -option grp:alt_shift_toggle"
to the config file, saved it, then used Super+Shift+C ro reload the config, and got the “You have an error in your i3 config file” error. When I click “show errors”, this is the output I get:
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec --no-startup-id "setxkbmap -layout us,gr,np -option 'grp:lalt_lshift_toggle'"
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: FYI: You are using i3 version 4.20.1 (2021-11-03)
ERROR: i3-nagbar (12860) did not exit normally. This is not an error if the config was reloaded while a nagbar was active.
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec --no-startup-id "setxkbmap -model pc104 -layout us,ge -option grp:alt_shift_toggle"
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: FYI: You are using i3 version 4.20.1 (2021-11-03)
I found another guide that proposed adding this to the config:
exec "setxkbmap -layout us,ge"
exec "setxkbmap -option 'grp:alt_shift_toggle'"
I did this, reloaded, and got the error message:
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec --no-startup-id "setxkbmap -layout us,gr,np -option 'grp:lalt_lshift_toggle'"
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: FYI: You are using i3 version 4.20.1 (2021-11-03)
ERROR: i3-nagbar (12860) did not exit normally. This is not an error if the config was reloaded while a nagbar was active.
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec --no-startup-id "setxkbmap -model pc104 -layout us,ge -option grp:alt_shift_toggle"
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: FYI: You are using i3 version 4.20.1 (2021-11-03)
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec "setxkbmap -layout us,ge"
Finally, if I use this line in the config file instead:
exec --no-startup-id “setxkbmap -layout us,ge -option grp:alt_shift_toggle”
The error I get is this:
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec --no-startup-id "setxkbmap -layout us,gr,np -option 'grp:lalt_lshift_toggle'"
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: FYI: You are using i3 version 4.20.1 (2021-11-03)
ERROR: i3-nagbar (12860) did not exit normally. This is not an error if the config was reloaded while a nagbar was active.
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec --no-startup-id "setxkbmap -model pc104 -layout us,ru -option grp:alt_shift_toggle"
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: FYI: You are using i3 version 4.20.1 (2021-11-03)
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set', 'bindsym', 'bindcode', 'bind', '}'
ERROR: CONFIG: (in file /home/svalbardsleeperdistrict/.i3/config)
ERROR: CONFIG: Line 417: bindsym Escape mode "default"
ERROR: CONFIG: Line 418:
ERROR: CONFIG: Line 419: exec "setxkbmap -layout us,ge"
Does this say anything informative to those with experience with i3 config/keyboard layouts?