Manually using scap

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(link to find out what scap means)
(catchg)
 
(4 intermediate revisions by one user not shown)
Line 22: Line 22:
 
==See also==
 
==See also==
 
*[[Gpe-scap]]
 
*[[Gpe-scap]]
[[Category:Application Developer]]
+
 
 +
[[Category:Applications]]
 +
[[Category:Middleware]]
 +
[[Category:Screen]]

Latest revision as of 06:23, 21 July 2009

[edit] Screen shot upload service scap

If you don't use the standard gui and your neo lacks the menu entry for scap you can do the same with a simple shell script:

#!/bin/sh -e
n=/tmp/scap$$.png
fbgrab $n
curl \
 -F file=@$n \
 -F key=secret \
 -F model=`uname -n` \
 -F submit=Upload \
 -F text=no\ comment \
 http://scap.linuxtogo.org/tickle.php
rm $n

you need the packages for curl and fbgrab:

ipkg install fbgrab curl

that's all.

[edit] See also

Personal tools

Screen shot upload service scap

If you don't use the standard gui and your neo lacks the menu entry for scap you can do the same with a simple shell script:

#!/bin/sh -e
n=/tmp/scap$$.png
fbgrab $n
curl \
 -F file=@$n \
 -F key=secret \
 -F model=`uname -n` \
 -F submit=Upload \
 -F text=no\ comment \
 http://scap.linuxtogo.org/tickle.php
rm $n

you need the packages for curl and fbgrab:

ipkg install fbgrab curl

that's all.

See also