I’m using the latest Fedora with sway as a WM. I have a setup for connecting the laptop to my screen via HDMI with the lid closed. With any other of my laptops, this works just fine and I can use the laptop as a “desktop”(as in with a standalone monitor) and the laptop screen shuts down. However, with the framework it seems that the screen is not turning off when I connect it to my monitor and then I close the lid.
I haven’t been able to check whether this is a configuration issue or a hardware issue, as I have no other laptops with Fedora/Sway.
You would need somekind of program or a script which handles it for you. Sway doesn’t know how to do it by itself.
There are few applications like kanshi (GitHub - emersion/kanshi: Dynamic display configuration (mirror)) that should make it pretty easy to configure.
Thanks for the response, so basically this is a sway issue?
It is not really an issue, but Sway is just a window manager, it doesn’t do anything else than manage/show your windows.
With Gnome/KDE etc, those are full desktop environments with all of the components added on top of the actual window manager (kwin for KDE and mutter for Gnome).
1 Like