Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux support? #4

Closed
twilco opened this issue Sep 3, 2020 · 9 comments · Fixed by #22
Closed

Linux support? #4

twilco opened this issue Sep 3, 2020 · 9 comments · Fixed by #22
Assignees
Labels
enhancement New feature or request

Comments

@twilco
Copy link

twilco commented Sep 3, 2020

This is an awesome project! Do you have any plans for Linux support?

@aadrian
Copy link

aadrian commented Sep 3, 2020

+1

Maybe for some of the popular distros first?

@universal
Copy link
Contributor

the following might be helpful for the switching part under linux/ubuntu https://askubuntu.com/questions/860761/ubuntu-command-line-to-change-input-source-on-a-display-monitor

@haimgel
Copy link
Owner

haimgel commented Sep 3, 2020

Linux support should totally be possible, without too much hassle. I'll look into this.

@haimgel haimgel self-assigned this Sep 3, 2020
@haimgel haimgel added the enhancement New feature or request label Sep 3, 2020
@useretail
Copy link

useretail commented Sep 4, 2020

without too much hassle

not really, if you're using c

@trauner
Copy link

trauner commented Sep 7, 2020

Here’s a quick KVM via USB switch proof of concept in bash that uses lsusb and xrandr for detection and monitor switching for a single monitor. Seems to work alright when testing on Fedora 32 boxes. https://gist.github.com/trauner/5ab3d5bb58dcb068e5332720fe7ef739

@haimgel
Copy link
Owner

haimgel commented Sep 7, 2020

I'm currently trying to unify the codebase into just one language, not two (only Rust for all three platforms), once this is done I'll look into adding a proper Linux support.

@haimgel haimgel linked a pull request Sep 10, 2020 that will close this issue
@haimgel
Copy link
Owner

haimgel commented Sep 10, 2020

Hey, I've got some preliminary Linux support working: Please see the linked PR #22 for details. I'd appreciate if someone with a real Linux desktop could give it a try.

@universal
Copy link
Contributor

as commented on the pull-request, seems to be working fine for me under ubuntu 20.04 :-) thanks for the work

@0xpr03
Copy link

0xpr03 commented Jan 11, 2021

Yep works also also on KUbuntu 18.04. Thanks again for how much additional features this got!

For documentation: it'll output

[ERROR] Failed to set display '22787' to Hdmi1(0x11) (I2c(Os { code: 121, kind: Other, message: "Remote I/O error"

on my system, because it seems to try also changing the laptop display input.. But this doesn't break anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants