Code Monkey home page Code Monkey logo

Comments (9)

haimgel avatar haimgel commented on May 13, 2024 9

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

from display-switch.

haimgel avatar haimgel commented on May 13, 2024 4

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.

from display-switch.

haimgel avatar haimgel commented on May 13, 2024 3

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.

from display-switch.

trauner avatar trauner commented on May 13, 2024 1

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

from display-switch.

universal avatar universal commented on May 13, 2024 1

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

from display-switch.

aadrian avatar aadrian commented on May 13, 2024

+1

Maybe for some of the popular distros first?

from display-switch.

universal avatar universal commented on May 13, 2024

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

from display-switch.

useretail avatar useretail commented on May 13, 2024

without too much hassle

not really, if you're using c

from display-switch.

0xpr03 avatar 0xpr03 commented on May 13, 2024

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.

from display-switch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.