Clipboard on linux
I met some troubles about using clipboard on linux (openSUSE-KDE). I hope you 'll solve it for me. Thank you!
On windows, I use below code for set string to clipboard:
After that, I can paste it to everywhere outside my program (using Ctr+V or paste)
StringSelection ss = new StringSelection(str);
But on linux, after set string to clipboard, I can't paste it anywhere (Ctr+V --> paste nothing, right click and paste --> nothing happen)