I’m working on a daemon & collection of other tools and configs to bring better support for 2-in-1 convertible tablets/laptops to Wayland/wlroots compositors!

This is a preview of how it works on my Lenovo Miix 320-10icr, though I want to extend support to as many devices as possible in the future!

code

Right now the only other supported device is the Google Caroline (“Samsung Chromebook Pro”) though I’m looking to support as many devices as possible! Right now, I’m working on better hardware detection to make it work out of the box on more devices.
If you have one of such devices, feel free to get in touch, my contact info is on my website: yukijoou.kemonomimi.gay, I’d be more than happy to help you make your device work with this tool!

Notable features right now:

  • Working screen rotation using iio sensors
  • Keyboard/basestation detection using libusb and specific pid/vids
  • Hooks that run on docking/undocking, so you can write your own shell scripts to do fancy things
  • A fcitx add-on that adds hooks on input field focus/unfocus to bring full on-screen keyboard support with IME to Wayland (probably the most useful part of this project, may be nice to have on Linux mobile distros if you’re into that sorta things!)
  • F04118F@feddit.nl
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    This is awesome! I hope it takes off. Don’t have any tablet or convertible laptop right now so I can’t help with that but I’ll bookmark it for when I do.

  • eltimablo@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I wish this existed like a week ago. I’m literally about to give my friend my older Ideapad 2-in-1 because Linux doesn’t support any of the convertible features. Ah well.

  • AlmightyTritan@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Oh this is super neat. I was having an issue with this on my Dell Latitude 5320 2-in-1 and only managed to get around it by installing some gnome extensions.

    I never would have thought it might be related to Wayland.