2

Generally this feature is there in web-pages, text files that when you double click( or select some text area) and drag it some other location, then it gets paste over there.

like-this

like above I selected so that and drag.

I was wondering if same is possible in gnome-terminal which we use in linux system. If any one has idea kindly share.

2 Answers 2

4

It doesn't look like it. You can drag into the terminal, but apparently you can't drag from the terminal. Perhaps you already knew that though.

What you should know, is that selecting copies into a separate buffer, that middle clicking pastes from. That'll be a bit faster anyway, and it works with gnome-terminal.

1

You can't do it visually, in a GUI-mouse fashion. The terminal is line-oriented and selection only works within that framework.

See gnome-terminal usage guide

"To select a character at a time, click on the first character that you want to select and drag the mouse to the last character that you want to select. To select a word at a time, double-click on the first word that you want to select and drag the mouse to the last word that you want to select. Symbols are selected individually. To select a line at a time, triple-click on the first line that you want to select and drag the mouse to the last line that you want to select."

The 'dragging' mentioned here refers to adding to the selection area, not dragging the selected text. Once you finish dragging and lift up on the mouse button, the selected text is automatically copied to the clipboard. Then you can use the middle-mouse button to paste it into your destination application.

Or, once the text is selected, use Control-Shift-C to copy, or right-click in gnome-terminal and select Copy, and then Control-Shift-V to paste, or select Paste from the context menu in gnome-terminal. These are extra keystrokes or mouse clicks. The automatic placement of the selected text onto the clipboard makes it very nice to just go paste with one mouse click. That's only one more mouse-click than the feature you're seeking.

If you want, you can add a request for this feature to the gnome-terminal package at Launchpad. I don't see any bugs there about this.

(Need link to procedure to adding feature requests/bug reports here.)

Alternatively, you can try a different terminal emulator:

List of good emulators from TechDriveIn

"List of terminal emulators you may never have heard of"

Argument - er, Discussion - on the best terminal emulator

I won't list them all here, reading the information about each from these links or your own search should help you decide which is the best one for you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .