Commit aefe126
committed
env: Pass through locale & IM stuff
Leaving the default C locale can break stuff that expect UTF-8, so pass
through all the locale env vars and set a default C.UTF-8 locale if
nothing is set.
For input methods, it turns out that the old legacy XIM does work with
our X11 passthrough solution (direct GTK/QT plugin methods will not,
since they use side-channels to communicate with the IM server). So,
force xim usage for GTK2/3 and QT4/5, which actually works with Steam
(!) for CJK input if the system is configured properly.
The future is Wayland protocols, which will work with GTK4 and QT6 once
we have Wayland passthrough. Hopefully that means we never have to
support input methods with the shared library mechanisms, which means
our rootfs will never have to include IM-specific libraries and the
input method user choice will happen entirely outside of muvm.
Signed-off-by: Asahi Lina <[email protected]>1 parent 7720e0f commit aefe126
1 file changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
19 | 34 | | |
20 | 35 | | |
21 | 36 | | |
| |||
56 | 71 | | |
57 | 72 | | |
58 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
59 | 91 | | |
60 | 92 | | |
61 | 93 | | |
| |||
0 commit comments