Last active
March 28, 2021 12:03
-
-
Save dotsh/7e647e2f4fec06d085a6902ea0f0a4cb to your computer and use it in GitHub Desktop.
Zorin Linux Lite install on Lenovo Miix 310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download Zorin Lite and use etcher.io or dd to create a liveUSB | |
boot the liveUSB | |
hit the "e" key to modify the kernel parameters in Grub | |
add "pwm-lpss pwm-lpss-platform" to the line : "linux ......" | |
cat > paysage.sh << EOF | |
#! /bin/sh | |
xrandr --output DSI-1 --rotate right && xinput set-prop 'FTSC1000:00 2808:1015' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1 | |
exit 0 | |
EOF | |
cat > portrait.sh << EOF | |
#! /bin/sh | |
xrandr --output DSI-1 --rotate normal && xinput set-prop 'FTSC1000:00 2808:1015' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1 | |
exit 0 | |
EOF | |
cat >> /etc/initramfs-tools/modules << EOF | |
pwm_lpss_platform | |
EOF | |
GRUB_CMDLINE_LINUX_DEFAULT="video=DSI-1:800x1280e acpi_osi= i915.modeset=1 fbcon=rotate:1 video.use_native_backlight=1 i915.enable_fbc=1 i915.enable_rc6=1 i915.semaphores=1 nospalsh quiet" | |
gigi | |
cat >> /etc/lightdm/lightdm-gtk-greeter.conf << EOF | |
keyboard=onboard --theme=Modern | |
EOF | |
cat > /etc/lightdm/rotate.sh << EOF | |
#! /bin/bash | |
xrandr --output DSI-1 --rotate right | |
xinput set-prop 'FTSC1000:00 2808:1015' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1 | |
exit 0 | |
EOF | |
cat >> /etc/lightdm/lightdm.conf << EOF | |
[SeatDefaults] | |
display-setup-script=/etc/lightdm/rotate.sh | |
EOF | |
cd /lib/firmware/rtlwifi/ | |
sudo wget https://raw.githubusercontent.com/hadess/rtl8723bs/master/rtl8723bs_nic.bin | |
sudo wget https://raw.githubusercontent.com/hadess/rtl8723bs/master/rtl8723bs_bt.bin | |
chmod 644 rtl8723bs_nic.bin | |
chmod 644 rtl8723bs_bt.bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment