Install package:
sudo pacman -S libchewing ibus ibus-chewing
Set daemon on your system startup
ibus-daemon
2020年3月21日 星期六
Install Cascadia Code on linux
Download Cascadia Code 1911.21
Release: https://github.com/microsoft/cascadia-code/releases
Move into local directory
mkdir -p ~/.local/share/fonts && move *.ttf ~/.local/share/fonts
Refresh fonts cache with fc-cache
fc-cache -f -v
Good Good Good
Release: https://github.com/microsoft/cascadia-code/releases
Move into local directory
mkdir -p ~/.local/share/fonts && move *.ttf ~/.local/share/fonts
Refresh fonts cache with fc-cache
fc-cache -f -v
Good Good Good
ubuntu比較簡單
sudo apt install fonts-cascadia-code
2020年3月15日 星期日
第一次自幹NAS就上手
準備工具
- 舊硬碟(SATA2) 500G,舊電腦退役
- 變壓器(12V)硬碟用,5V 3A(RPI用,2.5A以上比較穩定)
- SATA 轉USB
可以順暢播放youtube?
可以,不過基本上播放影片就會讓CPU滿載了
Rpi nas的現成方案
OpenMediaVault
安裝script
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
Android 投放
By Raspberry Pi As Chromecast Alternative (Raspicast)
安裝方法
$ sudo apt-get install libjpeg8-dev libpng12-dev
$ git clone https://github.com/HaarigerHarald/omxiv $ cd omxiv
$ make ilclient
$ make -j4
$ sudo make install
在android上下載Raspicast,之後就可以實現投影了,不過部份程式不能用(應改只有影音串流有用)
已知問題:
- 不能投影pdf和microsoft文件(可惜,不然能夠作小型chromecast)
- 可以投影youtube
動態IP
反正只在區網用,也不太需要了八。
利用ubuntu連接到RPI3 Samba伺服器
Smb://192.168.0.108/Public
Mount nfs
mount -t cifs //10.10.10.1/movie /mnt -o username=anonymous
2020年3月14日 星期六
Play PC:Redive on linux qemu
Environment:
3. Modify QEMU or APK
4. Good Good Good
Play PC:Redive:
Play Good Good Azurlane:
‧Ubuntu 19.10
‧libvirt 5.4.0
‧qemu-system-x86 4.0
how to:
1. Run android x86 with QEMU script:
qemu-system-x86_64 \
-enable-kvm \
-m 4096 \
-smp 4 \
-cpu host \
-soundhw es1370 \
-machine q35 \
-device virtio-mouse-pci -device virtio-keyboard-pci \
-serial mon:stdio \
-boot menu=on \
-net nic \
-net user,hostfwd=tcp::4444-:5555 \
-device virtio-vga,virgl=on \
-display gtk,gl=on \
-machine usb=on -usb -device usb-tablet \
-hda android9-test.qcow2
2. Install Magisk3. Modify QEMU or APK
4. Good Good Good
Play PC:Redive:
訂閱:
文章 (Atom)