You need a KVM with an EDID emulator. HDMI switcher just swaps output ports, while a KVM+EDID emulates device status.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I think what you want is an EDID emulator with passthrough or whatever it's called. EDID is how a monitor tells a device what resolution to send and other info. Some cheap HDMI splitters, adapters, audio extractors, etc will let you emulate a specific EDID. One of my audio extractors lets you fake stereo vs surround support to trick the source into sending surround - I think that's also through EDID - since if you're trying to extract surround, it might be because your real TVs EDID is for stereo I assume. So you probably want something like that in before the switch so that the laptop always thinks something is plugged in. Your switch seems to be too smart in actually passing through the real monitor's EDID so the laptop is able to see when it switches.
Just use the linux equivalent of https://github.com/VirtualDrivers/Virtual-Display-Driver
When the wayland people stop pretending you don't need it
in 3 to 5 years, sometime around when they realize that network transparency is really important actually