by codedokode · 1y ago · 0 comments
Or, try making a virtual on-screen keyboard that would send characters that are not in the layout (for example, Greek character with US keyboard layout). Again, you cannot do that, and it's difficult to understand why virtual keyboard has to be restricted with characters printed on physical keyboard.
And if you want to use remote desktop from a computer with Greek layout to a computer with US layout... again, it's going to be difficult. X server-based remote apps would simply temporarily patch the layout and add non-existent keys there to be able to report the key press on a remote machine with different layout. xdotool, I think, used the same hack to input characters that are not in the layout.
It's certainly possible with X. Not sure about compatibility with Gnome, but then it's a Gnome's problem, not X's
For comparison, in Windows you can use Ctrl+Shift or Alt+Shift to switch layouts and use shortcuts (like Ctrl+Shift+A) with these modifiers. In X, you cannot.
>in Windows you can use [...] In X, you cannot.
Well, I can. What you probably mean is that in X you don't have a GUI for this. But X is text configurable/scriptable by design. GUI is a concern of an upper level software.