rickyrockrat / parcellite

GNU General Public License v3.0
220 stars 29 forks source link

Consider adding an option for disabling (or adjusting) xdotool's `--delay` option #92

Open a-pav opened 2 months ago

a-pav commented 2 months ago

When auto paste is enabled and you select an entry from history, there's is a typing effect and text is typed letter by letter. It's ok for short snippets, but the wait considerably increases for a multi line text.

From xdotool's manpage:

--delay milliseconds Delay between keystrokes. Default is 12ms.

You might want to consider setting it to zero in order to dump the selected entry at once or provide an option for adjusting it. Though I don't know how it would play out in the context of parcellite, but generally the faster that operation is done the better and chance of truncated text is lower.

I'm testing Parcellite 1.2.1. BTW, I can't select Key for auto paste to use ctrl+v method. I select and press OK but when I open preferences again, it is not selected.

rickyrockrat commented 2 weeks ago

The auto paste options are a little odd in how they work. I seem to recall having issues setting the key paste as well - I believe you have to un-check the mouse as one overrides the other.