Page 1 of 4

Screeny - screen capture utility

Posted: Wed 22 Feb 2012, 10:13
by 01micko
This is something I knocked together for my own use at the commandline, but it was simple enough to write a small gtkdialog GUI and share..

Screeny

Language support thread

Like the name?

It does what it says, takes a screeny, either fullscreen or window, for fullscreen there is a customisable delay setting that is remembered.

It does have a dependency not included in Puppy, it's only small..

xwd

This is included with slackware/debian so if running Slacko or dpup-Exprimo please search your PPM for "xwd". Or if you can't find it the reports are that the Wary/Racy version works fine. (edited 120224)

For Racy/Wary/Lupu you can use the attached xwd.

Enjoy!

(sorry, no screen shot :lol: )

EDIT
0.8 posted
-bugfix in "waiting.." splash, thanks Tman,L18L
-added NLS ar (thanks BDX) and fr (thanks charlie6)
0.7 posted
-added gettext for localisation. Many thanks to L18L
-consolidated all code to one script, I thought that would be easier and probably smaller for gettext
-bugfix for window shots resizing if smaller than 600px, again L18L
-added "noarch" to the extension, only "xwd" is arch dependent
--NOTE: I have removed all the older versions.
0.6 posted
-changed the delay from an entry box to comboboxtext and hard coded delays from 1-10 to prevent the use of insane values in the entrybox
0.5 posted
-rearranged the gui, all checkboxes now in "File" menu under Preferences
-added option to open in defaultpaint (usually mtpaint, but can be gimp or whatever you set as defaultpaint)
-added simple help file and about file.
-windowed shots get the forum compat treatment if chosen too, be aware that small windows get enlarged, but if you don't want that turn off forum compatibility
NOTE: your settings will be removed on installation, easy to reset
0.4 posted
-forum compatibility mode for fullscreen only, thanks to Flash
0.3 posted 120731
-added frame to window shot, thanks to CatDude
0.2 posted
-removed duplicate code
-added naming
-bugfix, fullscreen splash was running concurrent to main function.

Posted: Wed 22 Feb 2012, 10:52
by Sylvander
1. Does it...
(a) Include the cursor?

(b) Save to a location specified by the user?

(c) In a filetype specified by the user?

Posted: Wed 22 Feb 2012, 13:06
by majorfoo
Sylvander wrote:1. Does it...
(a) Include the cursor?

(b) Save to a location specified by the user?

(c) In a filetype specified by the user?
Just d/l and tried it out.

a) Did not include the cursor in the screenshot

b) Saved to /root with name of capturexxxx.png

c) FIletype provided by program

It is a small program and gives you either a full screen or the window you specify by hovering mouse over the window.

Nice--

Re: Screeny - screen capture utility

Posted: Wed 22 Feb 2012, 13:56
by sheldonisaac
01micko wrote: xwd

This is included with slackware/debian/ubuntu so if running Slacko, dpup-Exprimo or Lupu please search your PPM for "xwd".

For Racy/Wary you can use the attached xwd.
May I ask for some help?

I have Lucid Puppy 5.2.8-004.

I tried to configure package manager to include ubuntu-lucid-main, and then searched for xwd

Not found.

Thank you.

Re: Screeny - screen capture utility

Posted: Wed 22 Feb 2012, 15:19
by majorfoo
sheldonisaac wrote:
01micko wrote: xwd

This is included with slackware/debian/ubuntu so if running Slacko, dpup-Exprimo or Lupu please search your PPM for "xwd".

For Racy/Wary you can use the attached xwd.
May I ask for some help?

I have Lucid Puppy 5.2.8-004.

I tried to configure package manager to include ubuntu-lucid-main, and then searched for xwd

Not found.

Thank you.
I downloaded the screeny. pet and the xwd provided by 01micko in this post and it works in my full install of puppy 5.2.8-004. I am posting from this version and have captured both full and window with no problems.
I tried in slacko-5.3.2.4 and it works there also

Posted: Thu 23 Feb 2012, 14:35
by darkcity
yep it works on 5.29 too, just using the racy xwd.pet

however, i loaded all three ubuntu repositories main, multi and uni - xwd not to be found -

Does this mean it isn't in the repositories - could have been added after lucid?

Posted: Thu 23 Feb 2012, 23:59
by Semme
Search <extended> x11-apps.

Posted: Fri 24 Feb 2012, 00:22
by MinHundHettePerro
Nice one :).

And small, at that.

In regard to the comments above about including the cursor and mouse pointer - yes, please, but this feature is seemingly hard to implement, judging from all the screen-shooters out there ...

Cheers /MHHP

Posted: Fri 24 Feb 2012, 00:35
by 01micko
Hi guys

Thanks for reports.

Sorry about that ubuntu thing , I'll edit the main post.

I am not going to add features, I made this for myself and decided to share.. adding "features" makes bloat and introduces potential for bugs, This does what it does, and it's very simple to edit the image in mtpaint, gimp or whatever.
I may consider including the user's choice for naming the file.

Have fun :P

-EDIT

Ok, I posted v0.2 and added naming.. if you must save in other than your $HOME directory you should be able to add any subdirectory as part of the entry. For example:

Code: Select all

my-documents/my-screeny
will save as $HOME/my-documents/my-screeny.png. Don't add the file extension.
Also fixed a couple of small bugs.

see up page

Posted: Tue 28 Feb 2012, 19:58
by Jasper
Hi o1micko.

This is to thank you for screeny and to test:

if I can post a .png file here.

Posted: Mon 30 Jul 2012, 22:20
by 01micko
0,3 is posted, frame of window is now captured, thanks to CatDude

see main post

Posted: Tue 31 Jul 2012, 03:26
by Flash
I don't see how you can say Screeny is more functional than mtPaint. True, Screeny can capture just an open window, which could be very handy, but mtPaint can crop and/or scale any screenshot to 600 pixels wide, so the forum will show it, then save it as a jpeg. :)

Posted: Tue 31 Jul 2012, 05:03
by 01micko
Flash wrote:mtpaint
"mtpaint -s" :wink: , which is the engine behind the mtpaintsnapshot.sh in most Puppies.

Maybe I could add a checkbox to auto scale full screen snaps to 600px wide.. I think you would like that feature and it shouldn't create much bloat or introduce bugs.

--------------------------------------------

Later, ok now has a forum compatibility checkbox :)

Posted: Tue 31 Jul 2012, 14:06
by Flash
Very nice. Quick, too. :)

In that shot, if you had chosen "Window", which window would Screeny choose?

Posted: Tue 31 Jul 2012, 21:07
by 01micko
I'm glad you asked that Flash.

The cursor turns into a cross hair looking cursor and you just hover over the window you want and click.

Cheers

Posted: Wed 01 Aug 2012, 09:42
by CatDude
Hi
Flash wrote:In that shot, if you had chosen "Window", which window would Screeny choose?
01micko wrote:I'm glad you asked that Flash.

The cursor turns into a cross hair looking cursor and you just hover over the window you want and click.
Just make sure that the window to be captured IS NOT obscured (behind) any others,
otherwise this will happen: (see pics)

CatDude
.

Posted: Thu 20 Sep 2012, 22:34
by `f00
Mmhm, including the pointer in a cap (even with a fancy full-service-cap+ wine-app like FSCap) can be tricky in Puppy .. it's all about the difference in how the pointer is drawn and by what, how it relates to the rest of the draw and so on.

Ridiculously easy (and the pointer image shows as expected without any special consideration for mask, etc) with fscap in native win32..

Screeny - screen capture utility

Posted: Thu 20 Sep 2012, 23:59
by Monsie
Hi Mick,

I have installed Screeny-0.4 on my Wary desktop, and although it works very well as is, I would like to have your app work with my PrtScr key --like I have been able to do with mtpaintsnapshot. While I am able to configure Screeny to run when using the PrtScr key, it does not capture and save a screenshot, despite appearing to go through the motions of doing so... --and I have no idea why. :?

It seems to me that once I have set the key binding properly in JWM, it should just work, and therefore no additional lines of code for your scripts are necessary... --any ideas, suggestions?

Thanks in advance,
Monsie

Posted: Fri 21 Sep 2012, 16:34
by aragon
Monsie, have you installed xwd?

Aragon

Screeny - screen capture utility

Posted: Sat 22 Sep 2012, 08:39
by Monsie
aragon,

Thanks, indeed I did install xwd. When I indicated that Screeny
works very well as is
I meant that it runs fine from the desktop menu when I use the mouse.

Further, the fact that I am unable to get Screeny to work with my keyboard at the moment is not a deal breaker for me... rather, it's a preference and also a curious puzzle that I would like help with solving, and in the process I am sure that I will learn some things along the way...

Monsie