Capture Screenshot in Tizen

From Tizen Wiki
Jump to: navigation, search

Introduction

The following article provides guidelines how to take a screenshot on a device with Tizen version 2.x or 3.

Capture Screen in Tizen 2

Please follow the guidelines below to make a screenshot on devices with Tizen 2.2.1 and Tizen 2.3:

  1. Enable developer mode on the Tizen device.
  2. Log on to the device using Smart Debug Bridge (sdb):
    sdb shell
  3. Take a screen shot on the device:
    xwd -root -out /tmp/screen.xwd
  4. Exit SDB shell:
    exit
  5. Copy the screenshot to your personal computer using SDB:
    sdb pull /tmp/screen.xwd


Capture Screen in Tizen 2.3 (Samsung Z1)

Press SamsungZ1's "Power" and "Home" button at the same time for a second , files will land into the Gallery app Or you can fetch them using :

 ~/tizen-sdk/tools/sdb pull ./opt/usr/media/Images/Screenshots

Capture Screen in Tizen 3

Please follow the guidelines below to make a screenshot on Tizen 3 profiles with Wayland which are based on Tizen:Common (including Tizen IVI):

  1. Take a screenshot using the keyboard shortcut: WIN+S
  2. Log on to the device using ssh (or SDB if is running on the Tizen device)
  3. Retrieve the PID of Weston:
    ps -ax | grep weston
  4. Replace PID in the following path to locate the screenshot: /proc/PID/cwd/wayland-screenshot.png
  5. Copy the screenshot to your personal computer using secure copy over SSH (scp) or SDB pull (if SDB is running on the Tizen device).


Troubleshooting

Empty screenshot on Freescale i.MX6

If wayland-screenshot.png is generated but it remains empty on a device with Freescale i.MX6 SoC then edit /lib/systemd/system/display-manager-run.service and remove –use-gl=0 –use-gal2d=1 to start Weston without gal2d compositor. Have a look at Freescale documentation for details regarding Weston.

See also

The article is based on the following resources: