How to copy/paste tab characters via the Clipboard into terminal session on gnome / ubuntu

How do i copy text that includes tab characters from a text editor, let's say gedit into a terminal session on ubuntu/gnome? I am on ubuntu 12.0.4 using gnome classic.

UPDATE This same issue happens in CentOs - basically seems to apply to any gnome.

1

3 Answers

As I mentioned on the OS X version of this question, pasting tabs works fine. But copying them in the first place is tricky on Linux.

There does not appear to be any solution to this.

1

Just select the text you want to copy, and then middle click on the terminal. On most *nix systems, selecting copies and middle click pastes.

Alternatively, you can select => right click=>copy => terminal => right click=> paste

Or, simply Ctrl+C,Ctrl+V

Have a look here for a short explanation of the Linux/Unix clipboard and the X buffer.

10

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like