Difference between revisions of "Changing Clipboard Data From The Shell"

From WebOS Internals
Jump to navigation Jump to search
Line 14: Line 14:
 
vi /tmp/webkit-clipboard
 
vi /tmp/webkit-clipboard
 
</pre>
 
</pre>
 +
 +
'''Step Three:''' Save it.
  
 
'''Tip:''' for more info on how to use vi, remember Google is your friend...
 
'''Tip:''' for more info on how to use vi, remember Google is your friend...

Revision as of 03:03, 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

Step Three: Save it.

Tip: for more info on how to use vi, remember Google is your friend...



By: JRG