As it is known, noone has yet figured out how to make A311D output to the internal display and HDMI on MNT Reform / MNT Pocket Reform at the same time, and switching from one to the other is not automatic. We might integrate buttons for this in a future wayland desktop panel, but in the meantime here are two commands I use (you could also bind these to keyboard shortcuts in .config/sway/config).
To use these, you need to sudo apt install wlr-randr once.
Uuuh kanshi is for wayland what autorandr is for xorg. I used to be a autorandr user. This is perfect! If only one display can be used at a time, why would one not automatically switch to hdmi right as it is plugged in? Thank you!
I used to use autorandr too, and the one thing I miss about it when using Kanshi is that you have to manage the config file manually; there’s no equivalent of autorandr --save. But the upside to that is that I have my Kanshi config in my dotfiles so it applies to all my machines as well.
For now I only have it configured to switch if I plug into specific monitors, but if you find a way to have it switch to any connected HDMI device when plugged in I’d be interested in seeing what that config looks like.
Unfortunately, I don’t seem to be having much success with kanshi. It works “sometimes” but after a few unplugs and replugs I start getting messages like:
failed to apply configuration for profile 'Reform Undocked'
So my internal screen stays black. Re-plugging HDMI brings at least that one back but at some point, turning on HDMI will fail as well with: