INTERACT FORUM
More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: bob on November 26, 2013, 05:38:32 pm
-
Linux has 3 distinct copy/paste buffer systems.
We are starting with the least complex, the same method xterm uses (cut buffers).
To synchronize the primary and clipboard clipboards you can use a little utility autocutsel.
sudo apt-get install autocutsel
then run the synchronizer commands from a terminal or put them in your X startup scripts.
autocutsel -fork &
autocutsel -selection PRIMARY -fork &
I wish I'd know about this a while ago since I prefer using xterm over the various ones that come with kde, etc.
The problem was the lack of ability to copy / paste between xterm and other apps (at least the way my system is configured).
-
Don't know which widget library are you using.
For example Qt has perfect support for clipboard:
http://doc.qt.digia.com/4.6/dnd.html#the-clipboard
-
We don't use any widget library, since we want to be platform independent.
We'll need to implement clipboard ourselves, it's on the list (but that list has a lot of things on it)
-
Now I understand you...
I didn't expect that answer.
It's a huge effort to create a multi platform library from scratch.
I've seen many multiplatform apps with Qt, Java (SWT, Swing), Python made with no effort.