微電腦 - GPD Pocket 2 - 安裝系統(Debian 9)



1. 下載並安裝http://cdimage.debian.org/mirror/cdimage/archive/9.4.0/amd64/iso-cd/debian-9.4.0-amd64-xfce-CD-1.iso
2. 安裝Wifi驅動

$ sudo apt-get install kernel-package firmware-intel-sound pulseaudio firmware-iwlwifi -y

3. Fix Touchscreen

$ sudo vim /etc/udev/rules.d/90-goodix-touchscreen.rules
    ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{name}=="Goodix Capacitive TouchScreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"

4. Build Kernel 5.2.0(修復聲音以及亮度調整)

$ cd
$ wget https://github.com/torvalds/linux/archive/v5.2.tar.gz
$ tar xvf v5.2.tar.gz
$ cd linux-5.2
$ cp /boot/config-$(uname -r) .config
$ make menuconfig
$ make -j8
$ make modules
$ sudo make modules_install
$ sudo make install

5. Fix Tearing

$ sudo mkdir -p /etc/X11/xorg.conf.d
$ sudo vim /etc/X11/xorg.conf.d/20-intel.conf
    Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "TearFree" "true"
    EndSection

6. 最佳DPI設定

Settings => Appearance => Fonts => DPI => 150
Settings => Window Manager => Style => Default-hdpi
Settings => Settings Manager => Settings Editor => xsettings => Gtk => IconSizes gtk-large-toolbar=48,48:gtk-small-toolbar=48,48:gtk-menu=48,48:gtk-dialog=48,48:gtk-button=48,48:gtk-dnd=48,48 Settings => Settings Manager => Settings Editor => xfce4-panel => size => 48