Normally, when you copy something in an X application and you close it, the content of the clipboard is lost. This is probably one of the biggest reasons why people keep saying that copy & paste in Linux "doesn't work".
GNOME Clipboard Daemon is a program that keeps the content of your X clipboard in memory, so the clipboard won't get lost even after you close the application you copied from. It's a daemon - it has no GUI. You start it and it'll run in the background and Just Work(tm).
To set this up under Ubuntu:
- Download binary from http://members.chello.nl/~h.lai/gnome-clipboard-daemon/
- Extract archive
- sudo cp gnome-clipboard-daemon /usr/bin
- Computer > Desktop Preferences > Sessions, flip to Startup Programs tab.
- Add /usr/bin/gnome-clipboard-daemon to startup programs.
- Log out, saving your session
- Log back in, enjoy a behaving clipboard.