blob: 5b33c9a69d2a3516bf3deb240b5b39f38477d346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
cat <<EOF
Before run this application at first time, please type listed commands below:
sudo gpasswd -a YOUR_USERNAME video
sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
sudo chmod u+s /usr/bin/fbterm
And then add this line to your .fbtermrc:
input-method=fcitx-fbterm
If you want to display and input Chinese characters when you login to the tty without typing a series commands, please add this line to your .bashrc:
[[ \$(tty) == \/dev\/tty[0-9]* ]] && /usr/bin/fbterm && exit
EOF
}
post_upgrade() {
post_install $1
}
|