Setup Linux Input Methods
The Linux subsystem built into FydeOS currently doesn’t support the system’s native input method. This poses a challenge for users needing to input non-English languages, particularly for CJK native speakers. To overcome this, you can install a third-party input method for the Linux subsystem. This guide will walk you through the process of installing and configuring the Fcitx input method on FydeOS’s Linux subsystem.
-
Installing the Fcitx Input Method
- Launch the Linux terminal and wait for the Linux subsystem to boot up.
- Update your software sources and applications:
Terminal window sudo apt update && sudo apt upgrade - Install the Fcitx input method:
Terminal window sudo apt install fcitx fcitx-lib* -y
-
Setting Fcitx as the Default Input Method
- Run the following command in the Linux terminal (do not run as root):
Terminal window im-config - Follow the dialog prompts:
- Click “OK”
- Click “Yes”
- Select “fcitx”
- Click “OK” twice
- Run the following command in the Linux terminal (do not run as root):
-
Configuring Fcitx Settings
- Launch the configuration tool:
Terminal window fcitx && fcitx-configtool - In the configuration window:
- Click the ”+” button in the bottom left corner
- Uncheck “Only show current language”
- Select your desired input method
- Click “OK”
If no input methods appear:
- Close the window
- Run
fcitx-diagnose
- Repeat the configuration steps
- Launch the configuration tool:
-
Setting Fcitx as the Language Input Environment
- Install gedit text editor:
Terminal window sudo apt install gedit -y - Open the configuration file:
Terminal window sudo gedit /etc/systemd/user/cros-garcon.service.d/cros-garcon-override.conf - Add these environment variables to the end of the file:
Terminal window Environment="GTK_IM_MODULE=fcitx"Environment="QT_IM_MODULE=fcitx"Environment="XMODIFIERS=@im=fcitx" - Save and close the file
- Install gedit text editor:
-
Setting Fcitx to Auto-Start
- Modify the auto-start options:
Terminal window sudo gedit ~/.sommelierrc - Add this line to the end of the file:
Terminal window /usr/bin/fcitx-autostart - Save and close the file
- Restart the Linux subsystem:
Terminal window sudo reboot - You can now switch between input methods using
Ctrl+Space
- Modify the auto-start options: