Difference between revisions of "Changing Clipboard Data From The Shell"
Jump to navigation
Jump to search
Hopspitfire (talk | contribs) (New page: How to put data into the clipboard from a rooted Pre. The "'''/tmp/webkit-clipboard'''" file is where "copied" data is stored (hence clipboard). If you want to change what is on the "cli...) |
|||
| Line 1: | Line 1: | ||
| − | + | == Changing Clipboard Data From The Shell == | |
| − | + | When you use the copy and paste function on your Pre the string has to go somewhere. Right? Well, from what I learned from '''tharris''' which was that the string goes to a file called '''webkit-clipboard''' which is located in the '''/tmp''' directory. | |
| − | |||
| − | + | == Steps == | |
| + | |||
| + | |||
| + | '''Step One:''' Root your Pre. | ||
| + | |||
| + | '''Step Two:''' Edit your clipboard file '''(you need to at least copy and paste something once for the file to show up)''' | ||
| + | |||
| + | <pre> | ||
| + | vi /tmp/webkit-clipboard | ||
| + | </pre> | ||
| + | |||
| + | '''Tip:''' for more info on how to use vi, remember Google is your friend... | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | By: JRG | ||
Revision as of 02:02, 3 August 2009
Changing Clipboard Data From The Shell
When you use the copy and paste function on your Pre the string has to go somewhere. Right? Well, from what I learned from tharris which was that the string goes to a file called webkit-clipboard which is located in the /tmp directory.
Steps
Step One: Root your Pre.
Step Two: Edit your clipboard file (you need to at least copy and paste something once for the file to show up)
vi /tmp/webkit-clipboard
Tip: for more info on how to use vi, remember Google is your friend...
By: JRG