compromise copy and paste schemes in linux

April 25th, 2007 mysurface Posted in autocutsel, Common, nohup | Hits: 76497 | 4 Comments »

In Linux, usually we have two major schemes for copy and paste. We can copy by pressing control+c , paste by pressing control+v ( right click and select copy or paste in context menu) in various GTK/KDE application. Another ways of perform copy and paste is highlight the text and hit middle mouse click.

Certain application only support one of them, virtual terminal such as xterm, aterm, rxvt etc uses only highlight for selection and middle click for paste. So sometimes you may having issues copy text from Firefox web browser to your xterm or wise versa.

Therefore, autocutsel comes to help. By running autocutsel, you may compromise both ways of copy and paste. The simple way to run autocutsel is open a terminal, and type the line bellow.

nohup autocutsel &

You now can close your terminal and enjoy your copy and paste. To know what is nohup? check out Don’t terminate even I close the terminal.

Unfortunately, autocutsel is not in Ubuntu repo (I doubt it is in any other distro’s repo too, but I am not too sure too.), you couldn’t apt-get it. Therefore, you need to download the source and compile by yourself. Check out the hints from installing from tarball if you have no idea how to compile.


4 Responses to “compromise copy and paste schemes in linux”

  1. Just to let you know, KDE has an application named klipper which is started by default. Beside keeping the last X (configurable) clipboard entries or automatically taking actions on specific clipboard strings, it also has this option to keep both clipboards same or separated, just as your liking.

  2. Hello! I could have sworn I’ve been to this web site before but after browsing through many of the posts I realized it’s new to me. Anyhow, I’m definitely happy I found it and I’ll be book-marking it and checking back often!

  3. The homepage has moved:

  4. Thanks for sharing your thoughts about linux
    by example. Regards

Leave a Reply