Skip to content

Instantly share code, notes, and snippets.

@notquitethereyet
Last active July 6, 2022 18:43
Show Gist options
  • Save notquitethereyet/37b0e78c14af802300ac77f90064cf17 to your computer and use it in GitHub Desktop.
Save notquitethereyet/37b0e78c14af802300ac77f90064cf17 to your computer and use it in GitHub Desktop.
Adding Japanese phonetic keyboard to Arch Linux
Installing Japanese keyboard on Arch based Linux distros
=========================================================
sudo sed -i '/ja_JP/s/^/#/g' /etc/locale.gen #to uncomment
sudo locale-gen
sudo pacman -S fcitx5-im #install all of them
sudo pacman -S fcitx5-mozc
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export SDL_IM_MODULE=fcitx
fcitx5-configtool
# now add mozc from search bar
# add `fcitx5 -d &` to autostart script in window manager
sudo sed -i '/ja_JP/s/^#//g' /etc/locale.gen #to comment out the locales again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment