Changing Clipboard Data From The Shell

From WebOS Internals
Revision as of 03:02, 3 August 2009 by Jrg (talk | contribs)
Jump to navigation Jump to search

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.


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...