[clug-talk] Command line tips

Shawn sgrover at open2space.com
Thu May 7 12:33:18 PDT 2009


Combining the two tips is a *very* useful thing I find.

For instance, I may want to copy the URL and the title of a web page 
into an email.  Using the "traditional" copy/paste method, I would have 
to go to the browser twice - once to get the url, and once for the 
title.  But, if I highlight the URL, then hit CTRL-C (copy), then 
highlight the title, I'm done in the browser.  Now in the email, I use 
the middle mouse button on the subject line to put the title there, then 
put my cursor in the body and do CTRL-V (paste) to place the URL.

It's a small improvement, but I find it is very helpful in my cases. 
The applies regardless what I'm copying, or where I'm copying it too.  I 
might grab a directory path from my file browser and a command line from 
a web page, then put both into a terminal window to create a command 
line statement.

I'm sure most people know this trick, but if you didn't, perhaps you'll 
find it useful.  BTW, I've yet to see a Linux system this doesn't work 
on (as long as it is running X and a graphical desktop).  I really miss 
it when I have to use a Windows system.

Shawn

Kyle Newton wrote:
> 
> 
> On Thu, May 7, 2009 at 10:31 AM, Mark Carlson <carlsonmark at gmail.com 
> <mailto:carlsonmark at gmail.com>> wrote:
> 
>     Hello everyone,
> 
>     Last night I forgot to mention how to copy and paste into an xterm (or
>     pretty much any terminal or other program, as long as the mouse is
>     enabled.)
> 
>     To copy text, select it with your left mouse button.
> 
>     To paste the text, middle click with your mouse.
> 
>     When pasting on the command line, it will paste wherever your cursor
>     is.  When pasting to an X11 application (e.g. firefox, kate,
>     thunderbird) it will normally paste wherever you middle-click.
> 
> 
> Likewise, the default keyboard shortcut to copying (if simply 
> highlighting is not doing the trick) is "Shift-Ctrl-C".
> 
> The keyboard shortcut for pasting into an x-term is Shift-Insert
> 
> -Kyle
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying



More information about the clug-talk mailing list