Skip to content

Acer Chromebook Tab 10での開発環境構築(VScode+日本語入力)

ChromebookではChromeOSを搭載していますが、Linuxも動作させることが可能です。Linuxを動作させる方法は他のホームページでまとまっています。ここでは、Linux環境構築後、VScodeなどを使ったソフトウェア開発環境を構築する方法をまとめます。

VScodeのインストール

Chromebook用のVScodeは下記のページからインストールすることが可能です。

https://code.headmelted.com/

日本語入力環境の構築

下記コマンドで、Anthyをインストールします。

sudo apt install fcitx-anthy

ログインとともにfcitxを起動するために、 ~/.config/autostart/fcitx-autostart.desktopというファイルを作成し、ファイルの以下の内容を記載します。

[Desktop Entry]
_Name=Fcitx
_GenericName=Input Method
_Comment=Start Input Method
Exec=fcitx-autostart
Icon=fcitx
Terminal=false
Type=Application
Categories=System;Utility;
StartupNotify=false
NoDisplay=true
X-GNOME-Autostart-Phase=Applications
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false

最後に、下記コマンドを打ち、Input MethodのタブにAnthyを追加します。

fcitx-configtool