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.
13 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.
1Just 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