LoginSignup
0
1

More than 5 years have passed since last update.

[MEMO] Raspberry pi 3 初期設定まとめ

Last updated at Posted at 2016-12-14

最初に

$ sudo apt-get update
$ sudo apt-get upgrade

リモート関連設定

Raspberry Piの設定から
システムタブで,パスワードとホスト名を変更する.(デフォルトパスワードは「raspberry」)
インターフェイスタブで,SSHやその他必要に応じてEnableにする.
リブートする.

$ sudo apt-get install tightvncserver
$ vncserver
# passward設定
$ sudo apt-get install xrdp

terminalからユーザネームを消す

~/.bashrcの60行目を

PS1='${debian_chroot:+($debian_chroot)}S\[\033[01;34m\]\w\$\[\033[00m\] '

に変更.

日本語環境

メニュー→設定→raspberrypiの設定
から
ローカライゼーションタブで
ロケール・タイムゾーン・キーボード
を設定

$ sudo apt-get install ibus-mozc fonts-ipa*

IMUのアイコンを右クリック→設定
から
入力メソッドタブ

入力メソッドを「日本語 - Mozc」だけにする
(「英語」は消す)

CapsLockのCtrl化

~/.config/lxkeymap.cfgを作って

[Global]
layout = jp
variant = 
option = ctrl:nocaps

を入れる.

$ lxkeymap -a

で確認できる.

~/.config/autostart/lxkeymap.desktopを作って,

[Desktop Entry]
Name=lxkeymap
Exec=lxkeymap -a

を入れる.再起動してもできるようになる.

Node.jsを最新にする

$ sudo apt-get install nodejsだと,最新版が入ってくれない.

$ sudo npm cache clean
$ sudo npm install n -g
$ sudo n stable

とする.
(cf: http://qiita.com/setouchi/items/437e4b62e4210871496f)

0
1
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
0
1