dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Feature Request: automatically paste text after processing

Open temperfugit opened this issue 9 months ago • 4 comments

I have just discovered Speech Note and I'm really liking it so far.

I am mostly using the background mode that copies the processed text to the clipboard. Currently I am watching the tray icon to see when it is done processing so I can paste the results into my active window. I think this is faster than the "text to active window" mode.

Would it be possible to have a mode that automatically pastes the processed text into the active window after it's been copied to the clipboard? It feels like this would be faster than the letter-by-letter "text to active window" mode.

Either way, thank you for developing Speech Note!

temperfugit avatar Feb 26 '25 05:02 temperfugit

Wow, interesting suggestion :)

Indeed, instead of simulating keystrokes for all the text, SP could send only "Ctrl + V"... This might work!

The only disadvantage of using system clipboard as a "proxy buffer" is that on Wayland, the application cannot access the clipboard when it is not in focus. So this method will not work. But for X11 it can be a nice optimization.

mkiol avatar Mar 01 '25 15:03 mkiol

This is a good idea. I would further request that if such a feature is implemented, the keyboard command be customisable such that the user is given at least a choice between Ctrl+V and Shift+Ctrl+V (for compatibility with terminal emulators, vim, etc.)

litmus-ritten avatar Mar 04 '25 23:03 litmus-ritten

implemented

lmtr0 avatar Oct 25 '25 02:10 lmtr0

@temperfugit code merged, you may clone and compile the main branch with flatpak builder and see it in action

lmtr0 avatar Oct 29 '25 20:10 lmtr0