The time now is Sun 15 Dec 2019, 23:40
All times are UTC - 4 |
Page 1 of 9 [134 Posts] |
Goto page: 1, 2, 3, ..., 7, 8, 9 Next |
Author |
Message |
SFR

Joined: 26 Oct 2011 Posts: 1749
|
Posted: 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 >= 0.8.1, ffmpeg/avconv, xwininfo, getcurpos, awk, tr, gifsicle (optional), xrectsel (optional)
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).
TAS is currently developed on Fatdog64.
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.
______________
tas_NLS-1.15.pet contains the following translations:
- Polish (me)
- Spanish (nilsonmorales & vicmz) [needs updating]
- French (musher0 & charlie6) [needs updating]
- Dutch (Bert) [needs updating]
- Portuguese (vicmz) [needs updating]
- Italian (vicmz) [needs updating]
- German (L18L) [needs updating]
_______________
Changelog:
Version 1.1:
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.
Version 1.2:
- i18n (gettext)
Version 1.3:
- bugfix: filename with a colon in its name won't save onto FAT partition nor this forum (thanks to don570)
Version 1.4:
- output formats: removed - TGA, PCX, PPM; added - GIF
- added options to take sequence of snapshots
- 'Add datestamp' checkbox now adds only date
- new checkbox 'Add timestamp'
- program icon changed (/usr/local/lib/X11/mini-icons/mini-camera.xpm)
- lots of minor fixes
Version 1.5:
- bugfix: problems with GIFs in Wary (thanks to Geoffrey)
Version 1.6:
- fixed GIF looping issue in older versions of ffmpeg (thanks to Geoffrey)
- added "Scale" option
- added command-line option "quick", which instantly takes a snapshot of the entire screen
- some other fixes and internal improvements
Version 1.7:
- added tooltip that clarifies 'Window' and 'Region' modes
- when "Number of frames" = 1, "Frames per seconds" gets insensitive (works only if Gtkdialog >= 0.8.3)
- support for photocamera.svg icon from Woof-CE
Version 1.8:
- Added "Toggle extra options" togglebutton, which shows/hides "Number of frames" & "Frames per second" options
- Settings are retained also if TAS window has been closed without taking a screenshot
- Some minor fixes & changes
Version 1.9:
- compatibility with avconv
Version 1.10:
- possible fix for supposed avconv/ffmpeg clash (problem reported by Relztrah)
- fixed date/time stamps not being calculated correctly if DELAY and/or Window/Region modes has been used
Version 1.11:
- disabled beep for Quickshot (it's taken immediately, so there's no point to have it)
- added checkbox "Beep on Shot" (thanks to MochiMoppel)
- can use avplay/ffplay (they support more formats than aplay) as a player for BEEPFILE - aplay as a fallback
- standard beep command as a fallback, if /usr/share/audio/beep_high.wav doesn't exist (thanks to MochiMoppel)
- the default BEEPFILE as well as DEFAULTIMAGEVIEWER and DEFAULTIMAGEEDITOR can be specified in ~/.take_a_shot.rc config file (no need to edit the code anymore)
- added checkbox "Show timer" - it displays a timer in the center of the screen if DELAY > 0
Version 1.12:
- fix for different treatment of newline by 'read' cmd in Bash-4.4 (thanks to peebee & 01micko)
- fix for newer ffmpeg that does not recognize '+nomouse' option anymore
- can make use of xrectsel, if available
- ditched xmessage; everything's done in Gtkdialog now
- minor corrections/fixes
Version 1.13:
- removed 'Add datestamp' and 'Add timestamp' checkboxes; instead a user can freely insert date's % parameters into filename
- fix: some ancient versions of ffmpeg may not support '-draw_mouse' option
- minor corrections
Version 1.14:
- fix: replace slashes to underscores in filename after evaluating date format options (thanks to MrDuckGuy)
Version 1.15:
- added 'Discard' button to the preview dialog (thanks to MochiMoppel)
- increased the size of the preview image (1/5 -> 1/3)
Have fun &
Greetings!
 |
Description |
Take a Shot! - version 1.15 MD5: 1015a7bb1e3caa2571b5909fef429c0f tas-1.15.pet
|

Download |
Filename |
tas-1.15.pet |
Filesize |
7.68 KB |
Downloaded |
1886 Time(s) |
Description |
Langpack for tas-1.15 (pl, es, fr, nl, pt, it, de) MD5: b4b51a180536ef71c8c1761db0050d8b tas_NLS-1.15.pet
|

Download |
Filename |
tas_NLS-1.15.pet |
Filesize |
7.12 KB |
Downloaded |
1164 Time(s) |
Description |
|
Filesize |
22.28 KB |
Viewed |
1456 Time(s) |

|
_________________ [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 Mon 19 Aug 2019, 08:43; edited 38 times in total
|
Back to top
|
|
 |
Eyes-Only

Joined: 10 Aug 2006 Posts: 1046 Location: La Confederation Abenaquaise
|
Posted: 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! 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
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 808 Location: the Western Reserve
|
Posted: Mon 25 Feb 2013, 01:24 Post subject:
Subject description: 2nd that |
|
, 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..
Description |
/usr/local/lib/X11/mini-icons and Icon=tas.xpm in dotdesktop file
|

Download |
Filename |
tas.xpm |
Filesize |
429 Bytes |
Downloaded |
1332 Time(s) |
Last edited by `f00 on Fri 08 Mar 2013, 14:11; edited 2 times in total
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Mon 25 Feb 2013, 02:57 Post subject:
Cursor on the screenhot : good idea ! Subject description: Sure there are a lot of tools |
|
Sure there are a lot of tools : here pupsnap
mtPaint make screenshots too.
File, new, screenshot.
or file, action, delayed screenshot
Is'nt it easy to affect screenshot keypad with this job ? Sometimes, i copy the program icon in the task bar (from usr/share/applications)
Description |
|
Filesize |
34.84 KB |
Viewed |
3816 Time(s) |

|
Description |
|
Filesize |
18.53 KB |
Viewed |
3935 Time(s) |

|
Last edited by Pelo on Fri 28 Jun 2013, 04:01; edited 3 times in total
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1749
|
Posted: Mon 25 Feb 2013, 08:31 Post subject:
|
|
Thanks guys!
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
|
|
 |
Cadejo
Joined: 29 Jun 2009 Posts: 75
|
Posted: Tue 14 May 2013, 12:17 Post subject:
|
|
This is awesome!!!!
I was using easy shot, but this is certainly easier!
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1749
|
Posted: 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..?
Greetings!
Description |
TAS-1.1 |
Filesize |
24.96 KB |
Viewed |
4109 Time(s) |

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

|
_________________ [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
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 14554 Location: Gatineau (Qc), Canada
|
Posted: Sun 23 Jun 2013, 05:05 Post subject:
|
|
Good morning, SFR.
Please find attached a French translation* of your very well made "Take A Shot!" utility.
Best regards.
musher0
~~~~~~~~~~~~~
* Corrected version is here: http://murga-linux.com/puppy/viewtopic.php?p=709832&sort=lastpost#709832
_________________ musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Last edited by musher0 on Sun 23 Jun 2013, 20:23; edited 1 time in total
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1749
|
Posted: Sun 23 Jun 2013, 12:49 Post subject:
|
|
Hey Musher0, thank you for translation.
FYI: you missed two spots @ lines 193 and 235.
However, I just gettext'ed TAS, so you can use MoManager now, if you'd like, then I could add your translation to tas_NLS.pet.
From my side I made PL.
First post updated.
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
|
|
 |
nilsonmorales

Joined: 15 Apr 2011 Posts: 946 Location: El Salvador
|
Posted: Sun 23 Jun 2013, 14:36 Post subject:
Spanish locale |
|
check first please, .mo and .po files add
Description |
|

Download |
Filename |
MoManager-es-tas-1.2.tar |
Filesize |
10.5 KB |
Downloaded |
1159 Time(s) |
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1749
|
Posted: Sun 23 Jun 2013, 15:27 Post subject:
|
|
Thanks, added to tas_NLS-1.2.pet.
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
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Sun 23 Jun 2013, 17:11 Post subject:
|
|
Hello everyone
Good job Nilson!
I have attached a slightly reviewed version of your Spanish locale.
Thanks for this app, SFR. Now I can easily explain (without heavier programs) why I often translate 'cursor' as 'puntero' (the mouse pointer, see pictures below).
Description |
|

Download |
Filename |
tas_es.tar.gz |
Filesize |
1.7 KB |
Downloaded |
1201 Time(s) |
Description |
|
Filesize |
33.7 KB |
Viewed |
4063 Time(s) |

|
Description |
|
Filesize |
39.29 KB |
Viewed |
3947 Time(s) |

|
_________________ Puppy Linux en español
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 1107
|
Posted: Sun 23 Jun 2013, 17:57 Post subject:
|
|
and Dutch translation
(a bit off-topic: I have often wondered why nobody creates a screenshot tool that actually uses the 'printscreen' key...just one key to hit and presto...probably more difficult to implement than I imagine )
TAS works very well though!
Thank you SFR
Description |
|

Download |
Filename |
MoManager-nl-tas-1.2.tar.gz |
Filesize |
1.41 KB |
Downloaded |
1151 Time(s) |
_________________

|
Back to top
|
|
 |
nilsonmorales

Joined: 15 Apr 2011 Posts: 946 Location: El Salvador
|
Posted: Sun 23 Jun 2013, 18:29 Post subject:
|
|
thanks vicmz , you are correct my friend
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Sun 23 Jun 2013, 18:55 Post subject:
|
|
Portuguese and Italian attached at the end of this message.
Bert wrote: | a bit off-topic: I have often wondered why nobody creates a screenshot tool that actually uses the 'printscreen' key...just one key to hit and presto...probably more difficult to implement than I imagine |
Not really off-topic, I think. I had the same question, too. Until Argolance developed a screenshot utility for ToOpPy that does use the Print Screen key, so our screenshot experts (01micko for screeny, SFR for TAS, Radky for PupSnap) could ask Argolance how he did it, if they want to include this feature in their utilities.
***EDIT***
Portuguese locale reviewed
Description |
|
Filesize |
45.32 KB |
Viewed |
3878 Time(s) |

|
Description |
|

Download |
Filename |
tas_pt.tar.gz |
Filesize |
1.72 KB |
Downloaded |
1204 Time(s) |
Description |
|

Download |
Filename |
tas_it.tar.gz |
Filesize |
1.71 KB |
Downloaded |
1187 Time(s) |
Description |
|
Filesize |
21.63 KB |
Viewed |
3881 Time(s) |

|
_________________ Puppy Linux en español
Last edited by vicmz on Sun 23 Jun 2013, 20:49; edited 1 time in total
|
Back to top
|
|
 |
|
Page 1 of 9 [134 Posts] |
Goto page: 1, 2, 3, ..., 7, 8, 9 Next |
|
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
|