You are not logged in.
Pages: 1
Hey guys!
so i have been messing with my i3 and what not, and i found some problems.
when using a config of someone elses the keys gets messed up.
This is due to how the keyboard language settings interact with i3.
So if the keybinds were made for an english keyboard they will work fine, but if the key layout is different they get all messed up.
One solution that i found is giving it 2 options, so US first so that i3 binds the keys and then the PT so it changes the already bound keys to the right places...
the problem is that i can not for the life of me get it working.
i tried
setxkbmap us,pt
doesnt work, it stays on US
i tried separating them:
setxkbmap us
setxkbmap pt
doesnt work, it stays on US
so aside from the obvious "maybe you should change the custom US keybinds to PT ones, what can i do?
the us,pt command should work...
EDIT: i forgot to say:
this is all into a little scrip that auto executes thats on the i3/config file.
exec --no-startup-id script
Last edited by storms (2019-03-07 19:19:30)
Offline
I have this line in my i3 config file, maybe this could work for you as a template.
exec_always "setxkbmap -model pc104 -layout us,ru,latam,ua -variant ,, -option grp:alt_shift_toggle"
Offline
hey, thanks for the reply
i tried your solution
setxkbmap -model acer_laptop -layout us,pt -variant ,, -option caps:super
sadly, it did not work
maybe its because its an acer? i dont even know....
the laptop is an
Acer Aspire E5-571G
Offline
Pages: 1