Skip to content

Instantly share code, notes, and snippets.

@leon-anavi
Created June 11, 2015 10:25
Show Gist options
  • Save leon-anavi/47fd1620bdbafff27c8d to your computer and use it in GitHub Desktop.
Save leon-anavi/47fd1620bdbafff27c8d to your computer and use it in GitHub Desktop.
tizen-common-weston-screenshot
root@cubox-i:~# ps ax | grep weston
195 tty7 Ss+ 0:00 /usr/bin/weston --use-gl=0 --use-gal2d=1 -i0 --log=/run/display/weston.log
268 tty7 S+ 0:00 /usr/libexec/weston-keyboard
340 tty7 S+ 0:00 /usr/libexec/weston-desktop-shell
676 pts/0 S+ 0:00 grep weston
root@cubox-i:~# tail -f /run/display/weston.log
[00:00:07.749] input device 'MCE IR Keyboard/Mouse (gpio-rc-recv)', /dev/input/event4 is a pointer caps = relative-motion button
[00:00:07.750] input device 'MCE IR Keyboard/Mouse (gpio-rc-recv)', /dev/input/event4 is a keyboard
[00:00:07.750] launching '/usr/libexec/weston-keyboard'
[00:00:07.751] seat created with name default
[00:00:08.690] Compositor capabilities:
arbitrary surface rotation: no
screen capture uses y-flip: no
[00:00:08.724] Loading module '/usr/lib/weston/desktop-shell.so'
[00:00:08.732] Module '/usr/lib/weston/desktop-shell.so' already loaded
[00:00:08.734] launching '/usr/libexec/weston-desktop-shell'
[00:01:32.090] launching '/usr/libexec//weston-screenshooter'
^C
root@cubox-i:~# ls -l /proc/195/cwd/wayland-screenshot.png
-rw-r--r-- 1 display display 8148 Jan 1 00:01 /proc/195/cwd/wayland-screenshot.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment