dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Use wl-clipboard,Klipper and QClipboard to copy text to the clipboard

Open lmtr0 opened this issue 1 month ago • 4 comments

closes #338

For simulated Ctrl+V in Wayland. Tries to copy using wl-clipboard; if it fails, then falls back to:

  • KDE Klipper
  • QClipboard

lmtr0 avatar Nov 09 '25 16:11 lmtr0

Almost there. Please add also:

  - --talk-name=org.kde.klipper # advanced access to the system clipboard

to net.mkiol.SpeechNote.yaml and net.mkiol.SpeechNote-tiny.yaml.

Done!

lmtr0 avatar Nov 16 '25 15:11 lmtr0

Summary:

  • Addressed all the style issues
  • Wayland clipboard functions are now clearer with set and get functions inside the wl_clipboard namespace.
  • Ran clang-format to address other possible formatting errors
  • Built and tested

lmtr0 avatar Nov 16 '25 19:11 lmtr0

Addressed feedback and built to check errors

lmtr0 avatar Nov 17 '25 18:11 lmtr0

@mkiol Done!

lmtr0 avatar Nov 17 '25 19:11 lmtr0

Hi, done!

lmtr0 avatar Nov 23 '25 13:11 lmtr0

Thank you for the review!

PS: It was a great experience!

lmtr0 avatar Nov 23 '25 16:11 lmtr0