4 ms·
Yes the international keyboard support is pretty bad in both X and Wayland. For example, try using Left Shift to switch to layout 1 (while retaining its shift f
by codedokode 10mo ago
Yes the international keyboard support is pretty bad in both X and Wayland. For example, try using Left Shift to switch to layout 1 (while retaining its shift functionality) without patching Gnome. It's impossible.
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.
- broken-kebab 10mo ago>try using Left Shift to switch to layout 1 (while retaining its shift functionality) without patching Gnome. It's impossible. It's certainly possible with X. Not sure about compatibility with Gnome, but then it's a Gnome's problem, not X's
- codedokode 10mo agoIt is possible if you write a custom program for that, but not by simply configuring X. If you configure Shift to switch layouts, you won't be able to use it as a modifier. 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.
- broken-kebab 10mo ago"Custom program" is a bit too serious sounding wording for a 5 lines shell script. >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.