input_language_linux library
Linux implementation of input_language (best effort).
Reads the active input source from GNOME
(gsettings get org.gnome.desktop.input-sources mru-sources, whose first
entry is the current source) and otherwise from IBus (ibus engine).
Changes are observed with gsettings monitor on GNOME and by polling
ibus engine elsewhere. Returns null on desktops that use neither
(Fcitx, KDE without IBus, …). Switching the language is not supported.
Classes
- KeyboardLanguageLinux
- KeyboardLanguagePlatform for Linux desktops using GNOME and/or IBus.
Typedefs
-
LinuxProcessRunner
= Future<
ProcessResult> Function(String executable, List<String> arguments) - Runs a command to completion; injectable for tests.
-
LinuxProcessStarter
= Future<
Process> Function(String executable, List<String> arguments) - Starts a long-running command; injectable for tests.