Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 May 2013, 05:10
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Take a Shot! - yet another screenshot utility...
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
SFR


Joined: 26 Oct 2011
Posts: 571

PostPosted: Fri 22 Feb 2013, 13:15    Post subject:  Take a Shot! - yet another screenshot utility...  

Yeah, I know - there's a lot of them already and it would be complete nonsense to write another, but this one was made due to specific need - to include mouse cursor into screenshot.
I found out that ffmpeg has such ability and it's already in many Puppies, so no external tools are required.

The interface isn't beautiful, but (hopefully) intuitive in use; just keep in mind a couple of things:
- selecting region is a bit unusual: click on top-left corner of desired area and release mouse button, then click again on bottom-right corner
- cursor won't be included into screenshot (and additionally ffmpeg may behave weird in some Puppies) if you have only 16bit color depth, must be 24bit (you can change it via xorgwizard)

Requirements: Bash, Gtkdialog, xmessage, ffmpeg, xwininfo, getcurpos, awk, tr

I tested it in: Slacko-5.4 (Compiz) + briefly, using VBox, in Slacko-5.4.0.3 (JWM), Lupu-528 (Openbox), Precise-5.4.2 (JWM) and Akita-14 (JWM/Xorg; ffmpeg segfaults with XVesa).

PS. I wrote this tool primarily for myself and I don't know if ffmpeg is really wise choice for such a task, but so far works nice for me.
Anyway, I can't guarantee it'll work flawlessly in all cases. Wink

EDIT: D'oh! I forgot to add double quotes in one place to properly pass filename with spaces to defaultimageeditor. Reuploaded after 5 downloads. Sorry.
___________

Version 1.1 uploaded.

Changelog:
1. added dedicated icon (`f00).
2. removed "Open in default image..." checkbox from the main window.
3. added a new window that pops up after taking a shot, with the following options:
- View (via defaultimageviewer - usually Viewnior)
- Edit (via defaultimageeditor - usually MTPaint)
- Continue (go back to the main window)
- Exit
4. Some minor improvements.

Have fun & Greetings!
tas-1.1.pet
Description  Take a Shot! - version 1.1
pet

 Download 
Filename  tas-1.1.pet 
Filesize  3.24 KB 
Downloaded  12 Time(s) 
tas-1.0.pet
Description  Take a Shot! - version 1.0
pet

 Download 
Filename  tas-1.0.pet 
Filesize  2.78 KB 
Downloaded  88 Time(s) 
Screenshot.png
 Description   Screenshot was made using "Take a Shot!" ;))
 Filesize   25.15 KB
 Viewed   350 Time(s)

Screenshot.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.

Last edited by SFR on Wed 22 May 2013, 11:56; edited 1 time in total
Back to top
View user's profile Send private message 
Eyes-Only


Joined: 10 Aug 2006
Posts: 1022
Location: La Confederation Abenaquaise

PostPosted: Sat 23 Feb 2013, 16:19    Post subject:    

Thanks for making this SFR. True, as you've said there are already many of these floating about. But what I like about yours is the simplicity and the way it's set up. It has all the needed features I require - and none of the wasted fluff! Cool Too many times they're either far too simplistic or far too featureful. Yours is the perfect balance for all of my screenshot needs.

Thank you for creating and likewise sharing it! Very much appreciated by this fellow Puppian.

Cheers/Amicalement,

Eyes-Only
"L'Peau-Rouge d'Acadie"

_________________
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog.
*~*~*~*~*~*
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 792
Location: the Western Reserve

PostPosted: Mon 25 Feb 2013, 01:24    Post subject:
Subject description: 2nd that
 

Cool , my fluff fscap in wine doesn't quite do the cursors in linux - like Eyes-Only says, "perfect balance" in a good ui.
some 'pointers' @103k

(much prefer tas to the stock "screeny" on racy 5.4.91) - here's a dedicated icon..
tas.xpm
Description  /usr/local/lib/X11/mini-icons and Icon=tas.xpm in dotdesktop file
xpm

 Download 
Filename  tas.xpm 
Filesize  429 Bytes 
Downloaded  48 Time(s) 

Last edited by `f00 on Fri 08 Mar 2013, 14:11; edited 2 times in total
Back to top
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 1098
Location: Paris charles de Gaulle Airport (10 kms°)

PostPosted: Mon 25 Feb 2013, 02:57    Post subject: Cursor on the screenhot : good idea !
Subject description: Sure there are a lot of tools
 

mtPaint make screenshots too.
File, new, screenshot. Here below for frenchies and people speaking french.
mtPaint.png
 Description   But the cursor is a faster mean to do the job.
 Filesize   46.71 KB
 Viewed   247 Time(s)

mtPaint.png

Back to top
View user's profile Send private message Yahoo Messenger 
SFR


Joined: 26 Oct 2011
Posts: 571

PostPosted: Mon 25 Feb 2013, 08:31    Post subject:  

Thanks guys! Smile

And it's good to know that it works properly also for "external" world.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Cadejo

Joined: 29 Jun 2009
Posts: 13

PostPosted: Tue 14 May 2013, 12:17    Post subject:  

This is awesome!!!!

I was using easy shot, but this is certainly easier!
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 571

PostPosted: Wed 22 May 2013, 12:06    Post subject:  

@Cadejo: Thanks, I'm glad you like it!

@`f00: Thanks for the icon, I haven't noticed it before!

New version (1.1) has been uploaded; see the first post for details.
Screenshots below...

I hope 1.0's simplicity/usability has been preserved in the new version..? Wink

Greetings!
Screenshot1.png
 Description   TAS-1.1
 Filesize   24.96 KB
 Viewed   37 Time(s)

Screenshot1.png

Screenshot2.png
 Description   Additional window...
Note: In some Puppies xmessage won't display window decorations, so YMMV.
 Filesize   12.14 KB
 Viewed   36 Time(s)

Screenshot2.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0598s ][ Queries: 13 (0.0090s) ][ GZIP on ]