Contents

Install Raspberry

Install Raspberry

ibus-pinyin

ibus-pinyin is an input method for traditional Chinese. Here is the installation procedure.

1
2
3
$ sudo apt install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
$ sudo im-config -s ibus
$ sudo apt install ibus-pinyin

Terminator

Terminator is a GNOME based terminal. Here is the installation procedure.

1
$ sudo apt-get install terminator

Add user

Scripe to add user

1
2
3
4
#!/bin/bash
groupadd -g 8888 cosmos
useradd -m -u 9009 -g 8888 -c ",," -s /bin/bash -G adm,dialout,cdrom,sudo,audio,
video,plugdev,games,users,input,netdev,spi,i2c,gpio dyiwu

fonts

Reference:

Remmina

Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks.

Remmina supports multiple network protocols in an integrated and consistent user interface.

The profile options relax-order-checks and glyph-cache, which are under profile’s advanced tab, need be enabled to make remmnia work in Raspberry Pi.

xfreerdp /w:1900 /v:MyDNSServername /relax-order-checks +glyph-cache

Reference:

SAMBA Client

Access network SAMBA share from Pi Client

Install required packages

1
$ sudo apt-get install  samba-common smbclient samba-common-bin smbclient  cifs-utils

Create directory for mount point

1
2
3
4
$ sudo mkdir /mnt/DS420P
$ sudo mkdir /mnt/DS420P/video
$ sudo mkdir /mnt/DS420P/music
$ sudo mkdir /mnt/DS420P/photo

Create a credential file for saving the user name and password.

1
2
3
$ sudo cat /home/pi/.smbcred
username=xyz
password=password_of_xyz

Save this credential file and change its permissions so it is not readable by others.

1
2
$ sudo chown xyz:xyz /home/pi/.smbcred
$ sudo chmod 600 /home/pi/.smbcred

Create entries on /etc/fstab

1
2
3
4
5
$ grep cifs /etc/fstab
//ds420p/video  /mnt/DS420P/video cifs credentials=/home/pi/.smbcred  0  0
//ds420p/music  /mnt/DS420P/music cifs credentials=/home/pi/.smbcred  0  0
//ds420p/photo  /mnt/DS420P/photo cifs credentials=/home/pi/.smbcred  0  0

Test it,

1
2
3
4
5
$ sudo mount -a
$ df | grep DS420P
//ds420p/video 7742705752 7561820676 180885076  98% /mnt/DS420P/video
//ds420p/music 7742705752 7561820676 180885076  98% /mnt/DS420P/music
//ds420p/photo 7742705752 7561820676 180885076  98% /mnt/DS420P/photo

PulseAudio Volume Control

1
$ sudo apt install pavucontrol

Pi 3B USB boot

Reference