Skip to content

Commit 8fb320f

Browse files
committed
chore: update README and maintainer info
1 parent e68cf0d commit 8fb320f

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ tokio = { version = "1.51.1", features = ["macros", "rt-multi-thread", "sync", "
2020
zbus = "5.14.0"
2121

2222
[package.metadata.deb]
23-
maintainer = "QD2 maintainers"
24-
copyright = "2026 QD2 contributors"
23+
maintainer = "Angelo Delicato <thelicato@duck.com>"
24+
copyright = "thelicato"
2525
license-file = ["LICENSE", "0"]
2626
extended-description = """\
2727
QD2 is a Rust and GTK4 client for QEMU's D-Bus display stack. It can discover

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,39 @@ Some features have extra requirements:
109109
- DMABUF scanout import is currently Linux-specific and depends on the host GTK stack and GPU/render node support
110110
- Private libvirt sockets often require ACLs or group membership if you want to run QD2 without `sudo`
111111

112+
## 📋 Clipboard Setup
113+
114+
If `qd2 connect` works but copy and paste do not, the missing piece is usually the guest-agent channel, not QD2 itself.
115+
116+
For plain QEMU, add a `qemu-vdagent` chardev plus a matching virtio serial port:
117+
118+
```bash
119+
-chardev qemu-vdagent,id=charchannel1,name=vdagent,clipboard=on \
120+
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":2,"chardev":"charchannel1","id":"channel1","name":"com.redhat.spice.0"}'
121+
```
122+
123+
That is the same shape QD2 expects when it inspects clipboard support.
124+
125+
For libvirt or `virt-manager`, the equivalent XML is a `qemu-vdagent` channel. If the UI does not expose it directly, open the XML editor and add:
126+
127+
```xml
128+
<channel type='qemu-vdagent'>
129+
<source>
130+
<clipboard copypaste='yes'/>
131+
</source>
132+
<target type='virtio' name='com.redhat.spice.0'/>
133+
</channel>
134+
```
135+
136+
Inside the guest:
137+
138+
- X11 desktops usually need the regular `spice-vdagent` session agent running.
139+
- Wayland guests, especially Hyprland or wlroots-based sessions, may need a Wayland-native guest agent instead of the traditional X11-focused `spice-vdagent`.
140+
141+
For Wayland guests, see [`paprika-vdagent`](https://github.com/thelicato/paprika-vdagent), a standalone Wayland SPICE guest agent that was built specifically for clipboard support without relying on X11 clipboard mirroring.
142+
143+
When clipboard still does not work, `qd2 inspect` and `qd2 doctor` are the quickest way to confirm whether QEMU is exporting both the D-Bus clipboard object and the guest-agent channel.
144+
112145
## 🌍 Platform Notes
113146

114147
- Release artifacts are produced for Linux on both `x86_64` and `arm64`.

0 commit comments

Comments
 (0)