Select rectangular screen area

Ctrl + Alt
Hold 'Ctrl' + 'Alt' key while selecting rectangular text area of the screen with left mouse button. Should work in any terminal screen (xterm, konsole, ...) under X, if not then try with 'Ctrl' + 'Shift' + 'Alt' or two-combination of these.

12
By: knoppix5
2015-11-10 22:08:57

What Others Think

Your command killed my father and raped my mother. Srsly though, I'll try this with xfce4 running on ubuntu later I'm stuck at work and forced to use windows at the moment. I can use cygwin, or shell into one of our many Linux servers, but this is a GUI related command. I don't think I'm even allowed to use virtual box because I work for a private company and they can set whatever rules they want. Otherwise I'd use a dynamic DNS service, setup some SSH tunneling from here, use port forwarding on my router from home.. usually just putting SSH on a non standard port keeps the script kiddies away, and then run SSH on the rest of my computers as well as VNC on my primary system running X11 and maybe my macbook air, but I mostly used to set dynamic DNS and a home server just to access files on my NAS.
sonic · 146 weeks and 5 days ago
@sonic: Seems to be no way to reproduce this in pure console with gpm ( a cut and paste utility and mouse server for virtual consoles) without GUI. So, take it as it is or leave it.
knoppix5 · 146 weeks and 4 days ago
this is great! works with terminator. thanks!
emphazer · 141 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: