Gpe-scap

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(order)
Line 1: Line 1:
 +
{{applications}}
 +
 
{| align="right"
 
{| align="right"
 
   | __TOC__
 
   | __TOC__
Line 31: Line 33:
 
ln -s /lib/libc.so.6 /lib/libc.so
 
ln -s /lib/libc.so.6 /lib/libc.so
 
</pre>
 
</pre>
 +
 +
[[Category:Applications]]

Revision as of 08:46, 28 August 2008

This is a part of the applications that run on the Openmoko Phones. For a list of all applications, goto Applications

Contents

gpe-scap is an gui-application for taking screenshots of your mobile phone. It offers the possibility of saving the taken screenshots or uploading them to http://scap.linuxtogo.org .

Installation

gpe-scap is in the offical 2008.8 repository and can be installed with the gui-installer via: "INSTALLER -> install -> Miscellaneous -> gpe-scap".

Alternativly one can install it via the command line with:

opkg install gpe-scap

Usage

Gui

After installation there's an icon with the name "Take screenshot" on the mainscreen. With pressing the icon gpe-scap is started and takes a screenshot. The big disadvantage with this method is, that gpe-scap can just do a screenshot of the place where it was started and it always takes a screenshot with it's own loading-symbol which renders this method of taking a screenshot totally useless.

Workaround
Create a simple shell script, which calls gpe-scap after five seconds.
sleep 5
gpe-scap

Place it in /usr/bin. chmod +x. Replace gpe-scap in the line "Execute = gpe-scap" in the file /usr/share/applications/gpe-scap.desktop with the name of the script file. Now, when you start the screenshot application via the GUI, not much will happen. You have five seconds to switch to the application you wish to capture. The gpe-scap window will automatically pop up with the current screenshot, if it was successful.

ssh

The other and way better method of taking a screenshot with gpe-scap is doing it via ssh. For this method one has to open the window, menu or whatever he wants to take a screenshot of on his device. Then you connect via ssh to the device and execute:

DISPLAY=:0 gpe-scap

Now you get a perfect screenshot of whatever you want.

Bugs

Some versions of gpe-scap are unable to save or upload PNG files, due to a wrongly linked library. Try

ln -s /lib/libc.so.6 /lib/libc.so
Personal tools

Contents

gpe-scap is an gui-application for taking screenshots of your mobile phone. It offers the possibility of saving the taken screenshots or uploading them to http://scap.linuxtogo.org .

Installation

gpe-scap is in the offical 2008.8 repository and can be installed with the gui-installer via: "INSTALLER -> install -> Miscellaneous -> gpe-scap".

Alternativly one can install it via the command line with:

opkg install gpe-scap

Usage

Gui

After installation there's an icon with the name "Take screenshot" on the mainscreen. With pressing the icon gpe-scap is started and takes a screenshot. The big disadvantage with this method is, that gpe-scap can just do a screenshot of the place where it was started and it always takes a screenshot with it's own loading-symbol which renders this method of taking a screenshot totally useless.

Workaround
Create a simple shell script, which calls gpe-scap after five seconds.
sleep 5
gpe-scap

Place it in /usr/bin. chmod +x. Replace gpe-scap in the line "Execute = gpe-scap" in the file /usr/share/applications/gpe-scap.desktop with the name of the script file. Now, when you start the screenshot application via the GUI, not much will happen. You have five seconds to switch to the application you wish to capture. The gpe-scap window will automatically pop up with the current screenshot, if it was successful.

ssh

The other and way better method of taking a screenshot with gpe-scap is doing it via ssh. For this method one has to open the window, menu or whatever he wants to take a screenshot of on his device. Then you connect via ssh to the device and execute:

DISPLAY=:0 gpe-scap

Now you get a perfect screenshot of whatever you want.

Bugs

Some versions of gpe-scap are unable to save or upload PNG files, due to a wrongly linked library. Try

ln -s /lib/libc.so.6 /lib/libc.so