1
Help us understand the problem. What are the problem?

posted at

ChromeOS Linux開発環境でbullseyeに上げたら一部アプリケーションで日本語入力が使えない

ChromeOS Linux開発環境でfcitx-mozcをインストールしてMozcを使う方法について調べると、/etc/systemd/user/cros-garcon.service.d/cros-garcon-override.confに設定を記述しようという情報がいくつか出てきます。

ですがChrome OS 103で実際にcros-garcon-override.confを見てみると、非推奨であり将来的に削除されると書いてあります。

$ cat /etc/systemd/user/cros-garcon.service.d/cros-garcon-override.conf 
# This file has been deprecated and could be removed in the future.
# Environment variables in the container can be set session-wide by systemd.
# See environment.d(5) or the following URL for more information:
# https://chromium.googlesource.com/chromiumos/docs/+/main/containers_and_vms.md#Can-I-set-environment-variables-for-my-container

書いてあるとおり、environment.dに同様の設定をすれば大丈夫です。

$ cat /etc/environment.d/fcitx.conf 
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
GDK_BACKEND=wayland
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
1
Help us understand the problem. What are the problem?