4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

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

Posted at

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
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?