Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to copy from the clipboard in android into terminal?

I installed "Terminal IDE" on my phone. However, I would like to copy certain URLs into a vim file. This is what I am currently doing:

  1. Open up default browser in Android
  2. Copy a URL
  3. Enter Terminal IDE or any terminal emulator on the phone and try to paste and nothing from Android pastes into the terminal

I have tried to paste in bash, paste in vim using P, and "*p, and I even tried to look for where the clipboard is stored. I do not have a rooted phone so that last part was kind of difficult.

Is there a way to get stuff from the Android clipboard into Terminal IDE or any terminal emulator?

I have version 2.3.4

like image 756
thequerist Avatar asked Jan 22 '12 22:01

thequerist


1 Answers

Android Terminal Editor (Jack Palevich), in the Android market, allows you to paste content saved to your clipboard (on the actual device) into the command line.

In your case, after copying the URL from the browser, open up the terminal and long-press anywhere in the terminal until a box pops up with a list of options. The list should have a paste option, and it will paste the last thing added to your clipboard.

Also, you don't need root to use it for basic commands.

like image 138
Khasm08 Avatar answered Sep 19 '22 18:09

Khasm08