Live data from Hacker News

DeskHop – Fast Desktop Switching

github.com

141–150 of 285 posts

Re: DeskHop – Fast Desktop Switching

#141
This is amazing!

I'm saying that as a long-time user of a desktop setup consisting of Lin-Mac-Win boxes arranged left-to-right for at least two decades. Polyglot is to programming languages as multi-platform is to hardware. Fortunately, that's gotten easier as system-on-a-chip or SoC designs have proliferated in the last few years.

My current setup consists of 2x $250 Ryzen SoC Mac-mini copies straight outta Shenzhen and an M1 MBP.

I only wish that the once resilient world of open source KVM solutions such as synergy had not devolved into a recursive nightmare of forks where getting a working multi-platform open source software KVM without cost is challenging. Sadly, my current setup uses a good 'ole KVM switch but the button pressing is distracting.

I look forward to trying something like this again one day. Thanks for sharing!

Re: DeskHop – Fast Desktop Switching

#144

What I really need is this + monitor input switching. I want to use both my monitors with both computers and just be able to hit a single button to swap everything.

My m32u monitor has a built in kvm switch and I switch between my Mac and pc with a button push. Monitor/keyboard/mouse and usb speakers

Re: DeskHop – Fast Desktop Switching

#145

Earlier quoted context omitted.

It is not putting your mouse itself in absolute mode (only graphics tablets really operate in absolute mouse mode). It's just outputting absolute mode reports to the host. Absolute mouse HID report has a logical/physical min/max, not just delta. Regardless of size of screen, min/max correspond to the boundaries in absolute mode. So it's just keeping track internally of the incremental relative accumulation of your mo…

As I understand GPIO speed is limited and below usb 2.0 speed if I am not mistaken. So what is the maximum speed of this setup? How ‘gaming” gaming mouse can be?

From a quick google search (to make sure I'm not just stating my memories, but actual facts) the RP2040 can toggle a GPIO at about 66MHz (via its PIOs. Otherwise a bit slower, and using more CPU). USB 1 is 1.5 or 12Mbps, so you should have no issues even if you bit bang it.

Despite the USB protocol overhead, it is plenty even for a gaming mouse. Pretty sure there's no point polling it at above 1 kilohertz or so.

Re: DeskHop – Fast Desktop Switching

#146

What I really need is this + monitor input switching. I want to use both my monitors with both computers and just be able to hit a single button to swap everything.

Many KVM switches do this, just search Amazon for KVM switch + HDMI/Display Port, but they're often not great in my experience. My last one only lasted a couple of years and would sometimes fail to pick up my monitor.

Re: DeskHop – Fast Desktop Switching

#147

I’ve been using a software solution for this for over a decade. It’s called Synergy ( https://symless.com/synergy ) and it is fast - switches instantly over wifi and also works across Windows/Mac/Linux.

Cant believe I am only learning about this now. Darn - I've needed this for over a decade. Also, havent heard Full Sail in a really long time... Had a friend from growing up that went there and became famous... THanks for the link - Ill be installing this around my place today :-)

https://github.com/debauchee/barrier is the still-open fork.

Re: DeskHop – Fast Desktop Switching

#149
post #81

Earlier quoted context omitted.

This was a concern for me, that is why i've used Synergy over VPN and it worked quite well. It also works on networks where you can't reach the other pc's that way.

tailscale makes the VPN easy these days.

I also like zerotier

Re: DeskHop – Fast Desktop Switching

#150
post #52

I have a similar project inspired by another similar project ( https://github.com/jfedor2/screen-hopper ). My own version of this consists of two programs. One program runs on a Linux desktop and listens to input events from the Linux input subsystem (evdev). When you press a specific key, it will start consuming all events and sending them over USB serial to a RPI Pico. Pressing the key again will toggle back into p…

Would you be willing to throw it into a repo with a warning that it is user-beware with no support?
Post reply on HN