Skip to content

[Bug] xclip not detected on X11 #256

@vmarinescu

Description

@vmarinescu

Description

Clipboard mode is not working despite xclip being installed on X11.

Steps to Reproduce

  1. install xclip
  2. install voxtype, download model, setup systemd service and configure clipboard mode
  3. press keybind for dictation

Expected Behavior

transcribed text is pasted or present in the clipboard

Actual Behavior

transcribed text is visible in the logs but not pasted or available in the clipboard

Environment

  • OS/Distro: Kubuntu 24.04
  • Compositor: KDE Plasma
  • Voxtype version: voxtype 0.6.3
  • Installation method: .deb
  • Whisper model: small.en

Logs

Run voxtype -vv and paste relevant output:

2026-03-09T23:53:29.216852Z  INFO Transcription completed in 7.55s: "Test 1, 2, 3."
2026-03-09T23:53:29.240833Z  INFO Transcribed: "Test 1, 2, 3."
2026-03-09T23:53:29.241890Z DEBUG clipboard (wl-copy) not available, trying next
2026-03-09T23:53:29.241898Z ERROR Output failed: All output methods failed. Ensure wtype, dotool, ydotool, wl-copy, or xclip is available.
2026-03-09T23:53:29.241928Z TRACE State file updated: idle
^C2026-03-09T23:54:02.301573Z  INFO Received SIGINT, shutting down...
2026-03-09T23:54:02.301675Z  INFO Daemon stopped
2026-03-09T23:54:02.303995Z DEBUG Hotkey listener stopping
➜  ~ which xclip
/usr/bin/xclip

Additional Context

I tried with and without ydotool. Both mode = "paste" and mode = "clipboard" are not working.

However, mode = "type" + fallback_to_clipboard = true works to have the transcribed text in the clipboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions