Tiny Core Extensions > TCE Tips & Tricks

Howto: take a screenshot on Weston

(1/3) > >>

aus9:
Hi

press the logo key (and) s should output a png file in your home dir.

offtopic
#######

screenshot.sh and other screenshot apps are unlikely to work on Wayland.

Apparently this is a feature of Wayland

--- Quote ---Apps can no longer see everything on the screen and spy on you.
--- End quote ---

ref
https://support.hubstaff.com/screenshot-capture-support-wayland-linux/

Rich:
Hi aus9
If you are running 32 bit and feel like experimenting, see if  grabber.tcz  works on it.

aus9:
Rich

I grabbed the info file as I only run 64 bit and WOW you are the author. Congrats

How do I build it for 64 bit? or any plans to submit to 64.

I am interested as I have built a compositor for Wayland and "it's" screen capture does not yet work for me,
so having another way to capture would be excellent. And the Weston kb combo does not work on my new compositor

Rich:
Hi aus9
Attached are the source files for  grabber  if you would like to try compiling it. I don't have 64 bit hardware. You'll need to
adjust the  CompileGrabber  script. You might want to move the 2  gcc  lines to the top of the script followed by an  exit
command until you get it compiling correctly.

    [EDIT]: Attachment removed and reposted here: http://forum.tinycorelinux.net/index.php/topic,18412.msg138492.html#msg138492

aus9:
@ Rich

thanks I am sure I need to tidy it up into a build script but I must have got most things right as proof on libX
https://imgur.com/a/ohdVU7t

but on sway....running grabber.....the screen goes blank but the little box appears
pressing s then q shows a screenshot is grabbed but unfortunately its just a blank image or black image

this is not the fault of grabber, I believe it relates to Wayland as mentioned above.

In case I have made mistakes can I start a new thread for grabber? Or is imgur image proof that any mistakes are minor?

cheers

Navigation

[0] Message Index

[#] Next page

Go to full version