====== Linux on Lenovo ThinkPad X390 Yoga ====== If you want to run Linux on your ThinkPad X390 Yoga, you have come to the right place. \\ This guide focuses on Debian based Linux, sorry Fedora and Arch users! ^Status ^Notes ^ | ^Touchscreen |Works out of the box || ^Gyro/Autorotation |Works out of the box |Waydroid doesn't work in portrait mode | ^Stylus |Works out of the box |Palm rejection also works, tested in Xournal++ | ^Onscreen keyboard |Kubuntu = Install Maliit |[[:laptopwiki:guides:lenovo:thinkpad_x390yoga_linux#after_first_boot|Install Maliit]] - only on Kubuntu, Ubuntu has an onscreen keyboard built in on Wayland| ^Tablet Mode |Works out of the box |Keyboard and touchpad get disabled automatically when you rotate the device | ^Display Scaling |Works |Gnome or KDE required for 125 and 150% | ^Graphics acceleration | Works out of the box | Out of the box Intel driver is used | ^LTE |Works OBBE on Ubuntu, doesn't on Kubuntu |Fibocom L850-GL. There is a 3rd party driver in development, [[https://github.com/xmm7360/xmm7360-pci|xmm7360-pci]], haven't tested myself | ^Ethernet dongle |Works out of the box || ^Speakers |Work out of the box |Use [[https://www.reddit.com/r/thinkpad/comments/q5pt38/x1_extreme_gen_4_dolby_atmos_setup_for_linux/|this guide]] to improve audio quality (like on Windows you would use Dolby) | ^Sleep |Works out of the box |S3 Sleep | ^Docking port |Works out of the box |USB, Ethernet, Power button and Displayport works. Not sure about VGA | ^Trackpoint |Semi works |Possible to adjust curve separate from touchpad/mouse, but still stutters a lot. | ^Fingerprint reader |Gnome (Ubuntu 22.10) Only |Works onlu on Ubuntu+Gnome (doesn't work on Kubuntu+KDE). Doesn't unlock Keychain, so you need to enter password or set a blank one | ===== Questions ===== * Why do we need Gnome Or KDE? Because most DEs, except Gnome3 and KDE, lack proper fractional scaling. X390Y is a 13.3 inch device, and I personally need 125% to see anything. Gnome currently only supports 100/150/200. \\ Even then it's not perfect. 125% makes all apps that run under xwayland very blurry. While that can be semi fixed on app by app basis, it gets complicated if you use Flatpaks or Snaps. So stick to native packages. * What is Maliit? Maliit is the best (and really only existing) onscreen keyboard for Wayland. Distro choice revolves around it, as it is essential for tablet mode use. ===== Installation ===== - Since we need Maliit for our software keyboard, look into their [[https://launchpad.net/ubuntu/+source/maliit-framework|launchpad]] to see what versions are supported - At the time of writing, Jammy (22.04) isn't supported but Kinetic (22.10) is - Download: - [[https://releases.ubuntu.com/kinetic/ubuntu-22.10-desktop-amd64.iso|Ubuntu 22.10]] - [[https://kubuntu.org/getkubuntu/#:~:text=Download%20Kubuntu-,Kubuntu%2022.10,-The%20latest%20version|Kubuntu 22.10]] - Use Rufus to create the installer - GPT - No Persistence - Reboot to BIOS * Make sure you have Legacy mode disabled in the BIOS * Secure boot can be enabled - Boot the installer - Install the OS as usual * I recommend checking the "Install drivers" option - On first boot, make sure to select Plasma (Wayland) on the login screen ===== After first boot ===== - Run sudo apt update && sudo apt upgrade - Install the onscreen keyboard with sudo apt install maliit-keyboard - Go to Settings - Input - Virtual Keyboard - Select Maliit - Press Apply * If you don't see **Virtual Keyboard** section, log out and select **Wayland** in the bottom left corner. - Reboot - Import better sound profiles for speakers using [[https://www.reddit.com/r/thinkpad/comments/q5pt38/x1_extreme_gen_4_dolby_atmos_setup_for_linux/|this guide]] - Set proper trackpoint speed in Settings - Enjoy your Yoga with Linux! ===== TLDR ===== Install Ubuntu/Kubuntu **22.10** and use **Wayland** \\ Why not 22.04? Maliit doesn't work on 22.10 unless you want to compile it yourself. I don't. — //[[:laptopwiki:staff:index|dustojnikhummer]] 2023/01/21 16:50//