Ubuntu Server から chromium を kiosk mode で実行する
2075 ワード
環境
Raspberry Pi 2 Model B
Ubuntu Server をインストールする。
やり方は以下に記述されている。
https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview
コンソールで使うキーボードレイアウトの設定
$ sudo dpkg-reconfigure keyboard-configuration
$ sudo dpkg-reconfigure keyboard-configuration
Generic 105-key PC (intl.)
→ Japanese
→ Japanese
→ The default for the keyboard layout
→ No compose key
→ Yes
と入力する。
(参照:https://qiita.com/vochicong/items/6452ac54bde56b0e0bb3 )
最新パッケージに更新する。
$ sudo apt update
$ sudo apt upgrade
X window と Chromium をインストールする。
$ sudo apt install chromium-browser xorg
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install chromium-browser xorg
再起動すると、GUIが立ち上がってしまうので、いったんCUIに戻す
$ sudo systemctl set-default multi-user.target
をすれば再起動時はcui起動のテキストモードでlogin:できる。
chromium を起動する。
$ startx /usr/bin/chromium-browser —-kiosk <website>
問題
$ startx /usr/bin/chromium-browser —-kiosk <website>
このままだと、日本語が豆腐になってしまう。(いろいろやってみたが解決せず)
Author And Source
この問題について(Ubuntu Server から chromium を kiosk mode で実行する), 我々は、より多くの情報をここで見つけました https://qiita.com/Ganesha/items/2299b7e800e72dbc90d7著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .