8

Use case:

  1. I'm writing an email, and need a snippet from a text file.
  2. Open the file in Gedit (or Kate, for that matter) and copy the desired snippet.
  3. Close text editor, return to email.
  4. Paste snippet into email -- oh wait! Nothing is pasted, apparently because closing the text editor causes the clipboard to empty. Not my intention!

What does work:

4b. Return to email, paste snippet, back to editor, close editor.

I can't figure out if there is a way to prevent Gedit (and/or Kate) from clearing the clipboard, or how else to avoid step 4b which seems a rather roundabout way to work around an unintuitive behaviour.

Help?

PS. Apologies, I know that this is not directly related to Ubuntu, but my Google-fu is weak and I don't know where else I'll find an expertly answer (or any answer at all, seriously, how do you search for something like that?). Right now, I'm on Linux Mint 11 LXDE, but I've suffered from the same on stock Ubuntu and Kubuntu as well.

PPS. To me this behaviour seems very unnatural, but I see it here and there in Linux: also in the KDE screenshot tool (substitute "image" for "snippet" and "image editor" for "email"). Is it really just me?

KlaymenDK
  • 469
  • 1
  • 4
  • 12
  • Spotted a link to "ClipboardPersistence". Installed Parcellite which seems to work (as long as I remember to start the dang thing). Wondering why this isn't standard. But I can get on with my work now. – KlaymenDK May 29 '12 at 12:43
  • 5
    this is the WORST User experience ever. I'm always having the issue !! – Cyril N. Jul 05 '17 at 16:20
  • 1
    7 years....and they still didn't manage to solve this issue !! – razor May 29 '19 at 08:15

2 Answers2

2

The Ubuntu wiki on Clipboard Persistence suggests that what I'm seeing is a bug but at the same time the intended behaviour. I am now using Parcellite to make things work for me. Thank you for your suggestion.

KlaymenDK
  • 469
  • 1
  • 4
  • 12
0

Another option is Klipper. It stores your clipboard entries, and allows you to search them. Have you ever wanted to reuse something that you copied an hour ago, or even yesterday? You can, with Klipper.

Tom
  • 750
  • 4
  • 6