Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am frequently copying and pasting text from a browser (hundreds of times per day), but sometimes the text I select has leading or trailing whitespace. Sometimes it seems that this whitespace is inserted automatically, no matter how accurately I select the text with my mouse. Is it possible to trim any leading or trailing whitespace automatically when I issue ctrl+c to X.org? Intermediate whitespace should be left intact. If it helps, I'm using fluxbox as my window manager, and glipper as my clipboard manager. OS is Debian Jessie.

Thanks!

share|improve this question

You must log in to answer this question.

Browse other questions tagged .