View Full Version : Preserve clipboard content for windows migrants

07-10-2010, 09:28 PM
In case you are new to linux and have been using windows by now, you may notice that copy and paste function does not always work after the application which holds the copied content has been closed. Example of this is iceweasel. If you copy some text in iceweasel, and then close the browser you may notice that the copied text is lost and is not available for pasting anymore.
Solution to this problem is an application called clipboard-daemon, available from:

http://members.chello.nl/~h.lai/gnome-clipboard-daemon/clipboard-daemon-1.0.bin.tar.bz2 (http://members.chello.nl/%7Eh.lai/gnome-clipboard-daemon/clipboard-daemon-1.0.bin.tar.bz2)

Extract it, copy it to /usr/bin/
and then add this line in your ~/.xsessionrc : clipboard-daemon &
If you don't have .xsessionrc file in your home folder just create it. Remember the dot before .xsessionrc
The daemon will start automatically and protect the content of your clipboard :-D

07-11-2010, 02:53 PM
It crashes my Google Chrome browser when I try to open that link. I recommend http://members.chello.nl/~h.lai/gnome-clipboard-daemon/ instead.

Krishna :mrgreen:

Edit: It did not actually crash - it silently downloaded the bz2 file and closed the tab I opened with it. Sorry about that!