Gpe-scap

From Openmoko

Revision as of 18:10, 10 July 2009 by Glenn (Talk | contribs)

Jump to: navigation, search
Gpe-scap on Om-2008

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

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 .

Contents

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. http://docs.openmoko.org/trac/ticket/1777

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.

Or even more simple: Just change the following line in /usr/share/applications/gpe-scap.desktop and insert the sleep there:

Exec=sleep 5;gpe-scap


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

See also

External links


Gpe-scap.png Gpe-scap

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


Homepage: http://gpe.linuxtogo.org/projects/gpe-scap.shtml
Package: gpe-scap
Tested on: Om 2008.8

Personal tools
Gpe-scap on Om-2008

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

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. http://docs.openmoko.org/trac/ticket/1777

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.

Or even more simple: Just change the following line in /usr/share/applications/gpe-scap.desktop and insert the sleep there:

Exec=sleep 5;gpe-scap


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

See also

External links


Gpe-scap.png Gpe-scap

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


Homepage: http://gpe.linuxtogo.org/projects/gpe-scap.shtml
Package: gpe-scap
Tested on: Om 2008.8