.fi

- qddswitch

qddswitch

Posted: 2022-02-06 19:32:47Edited: 2022-02-09 16:21:14
Chronological Date: 2022-02-06

qddcswitch is a Simple frontend for switching display inputs with ddcutil.

qddcswitch screenshot

This application idea started when I installed a Windows virtual machine with it's own dedicated GPU, to play Windows games and use software which only worked well on windows. Because I used Windows 7, I could not use a tool which streams the windows screen to linux, so I had to use a physical cable.

But that was not enough to create this application, but rather my monitor had only crappy touh sensitive buttons, and a horrid GUI. Thankfully the all helpfull open source devs had created ddcutil, a command line utility to use the Display Data Channel protocol to change settings etc. on monitors. And that utility also comes with a library, libddcutil, so eventually I though to create a GUI for switching inputs on monitors, after using the utility from the command line some time.

Integrating the C library in QtCreator was kinda easy, even though Qt itself uses C++. More difficult was to figure out how to implement the display input switching, as the libddcutil documentation was pretty minimal, so to say. Nevertheless, I got it working eventually, and the application is very usefull to me.

Package on Arch Linux AUR: https://aur.archlinux.org/packages/qddcswitch

Source code: https://codeberg.org/Okxa/qddcswitch