Hacker News new | ask | show | jobs
by pabs3 1784 days ago
If you get bored of the polling, there is a tool that does this in an event driven way:

https://github.com/haimgel/display-switch/ https://haim.dev/posts/2020-07-28-dual-monitor-kvm/ https://news.ycombinator.com/item?id=24357308

1 comments

Nice thank you. I was originally using udev and launchd to drive actions based on events, but they took up to 10 seconds to switch. A purpose built tool would like the ones you linked I assume would not have that problem.
I haven't used it, but the blog post makes it sound like it is instant.