I am using two different keyboard layouts, English US and Hungarian. I use them interchangeably, sometimes I type in Hungarian, my native, but often I use the US layout, especially for the terminal. I usually change layout using SUPER+SPACE. I have found out that there is a way to make Ubuntu remember that individual keyboard layout settings for different windows, but this does not apply for applications.
What I would like is that even if my currently selected layout is Hungarian, whenever I fire up a terminal, it should be immediately changed to US for the terminal window, so I don't have to bother around with that.