chapu-debian.sh 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. apt install firmware-linux firmware-linux-free firmware-misc-nonfree firmware-realtek firmware-amd-graphics intel-media-va-driver mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vdpau-driver-all libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libva-drm2 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx
  2. apt install maliit-keyboard qtvirtualkeyboard-plugin dkms linux-headers-amd64
  3. apt install hunspell xinput
  4. gsettings set org.maliit.keyboard.maliit enabled-languages "['es', 'emoji']"
  5. gsettings set org.maliit.keyboard.maliit theme BreezeDark
  6. apt install qtvirtualkeyboard-plugin
  7. rm /usr/share/sddm/scripts/Xsetup
  8. touch /usr/share/sddm/scripts/Xsetup
  9. echo "#!/bin/sh" >> /usr/share/sddm/scripts/Xsetup
  10. echo "displayfix" >> /usr/share/sddm/scripts/Xsetup
  11. touch /bin/displayfix
  12. chmod +x /bin/displayfix
  13. echo "#!/bin/sh" >> /bin/displayfix
  14. echo "xrandr --output eDP --rotate right" >> /bin/displayfix
  15. echo "xinput set-prop \"FTS3528:00 2808:1015\" --type=float \"Coordinate Transformation Matrix\" 0 1 0 -1 0 1 0 0 1" >> /bin/displayfix
  16. echo "xinput map-to-output 11 eDP" >> /bin/displayfix
  17. echo "[Wayland]" >> /home/user/.config/kwinrc
  18. echo "InputMethod=/usr/share/applications/com.github.maliit.keyboard.desktop" >> /home/user/.config/kwinrc
  19. cp -r spi-amd-6.4 /usr/src/
  20. sudo dkms add spi-amd/6.4
  21. sudo dkms build spi-amd/6.4
  22. sudo dkms install spi-amd/6.4
  23. cp -r cirrus-drivers/* /lib/firmware/
  24. cp maliit-keyboard /usr/local/bin/
  25. chmod +x /usr/local/bin/maliit-keyboard