This library provides a "Mouse, Keyboard, and Screen" to QEMU using the D-Bus device support in QEMU and GTK 4.
Go to file
2023-04-13 15:04:40 +02:00
data/icons data: provide a symbolic and an emblem 2023-03-09 12:27:45 +01:00
docs build: Add gi-docgen based docs option 2023-03-30 13:15:00 +02:00
lib cleanup: Drop useless conditions 2023-04-13 15:04:40 +02:00
tools tools: remove unused variable 2023-02-21 17:11:22 -08:00
.editorconfig initial commit 2023-02-08 18:06:08 -08:00
.gitlab-ci.yml ci: Add a docs job 2023-03-30 13:15:00 +02:00
COPYING initial commit 2023-02-08 18:06:08 -08:00
meson_options.txt build: Add an option to disable introspection 2023-03-30 13:15:00 +02:00
meson.build Merge branch 'bilelmoussaoui/fix-subproject-build' into 'main' 2023-04-04 03:22:49 +00:00
org.gnome.libmks.mks.json build: add flatpak manifest to testing in Builder 2023-02-17 16:28:25 -08:00
README.md readme: Add missing \ 2023-03-29 13:11:41 +02:00

libmks

This library provides a "Mouse, Keyboard, and Screen" to Qemu using the D-Bus device support in Qemu and GTK 4.

Testing

By default, Qemu will connect to your user session D-Bus if you do not provide an address for -display dbus. Therefore, it is pretty easy to test things by running Qemu manually and then connecting with the test program ./tools/mks.

qemu-img create -f qcow2 fedora.img 30G
qemu-system-x86_64 \
    -enable-kvm \
    -cpu host \
    -device virtio-vga-gl,xres=1920,yres=1080 \
    -m 8G \
    -smp 4 \
    -display dbus,gl=on \
    -cdrom Fedora-Workstation.iso \
    -hda fedora.img \
    -boot d

and then to run the test widget

meson setup build
cd build
ninja
./tools/mks