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 15 Nov 2019, 17:40
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 9 of 9 [134 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1742

PostPosted: Thu 16 Feb 2017, 15:01    Post subject:  

mavrothal wrote:
I do not know about "any" but in slacko and xenial 32 and 64 bit versions works just fine.

Thanks for confirmation!

Quote:
Just unpack make it executable and copy Wink

Oh yeah, corrected.

Quote:
(the static file is small but still 10+ times bigger that the dynamic one so puppy builders might consider compiling it)

By all means, that would be the right way of doing it.
The static one is only for testing purposes, since it should work everywhere.

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 
musher0

Joined: 04 Jan 2009
Posts: 14465
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Feb 2017, 15:05    Post subject:  

SFR,

Your message overshadowed mine (bottom of previous page)!

I attached a xrectsel for 32-bits pet archive to it, in case it is useful.
Works fine with your TAS-1.13 (please see attached screen shot).

IHTH.
region-select-with-xrectsel-in-TAS.jpg
 Description   
 Filesize   14.15 KB
 Viewed   532 Time(s)

region-select-with-xrectsel-in-TAS.jpg


_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2377
Location: Queensland

PostPosted: Thu 16 Feb 2017, 16:18    Post subject:  

xrectsel compiled in Tahr 32bit, source from git version 0.3.2
xrectsel-0.3.2.pet
Description 
pet

 Download 
Filename  xrectsel-0.3.2.pet 
Filesize  3.51 KB 
Downloaded  314 Time(s) 

_________________
Carolina: Recent Repository Additions

Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14465
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Feb 2017, 16:37    Post subject:  

You've beat me by 1,8 Kb! Smile
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2377
Location: Queensland

PostPosted: Thu 16 Feb 2017, 16:51    Post subject:  

musher0 wrote:
You've beat me by 1,8 Kb! Smile


Code:
strip --strip-unneeded xrectsel


That took mine from 30.2kB to 9.7kB Very Happy

_________________
Carolina: Recent Repository Additions

Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14465
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Feb 2017, 17:24    Post subject:  

Geoffrey wrote:
musher0 wrote:
You've beat me by 1,8 Kb! Smile


Code:
strip --strip-unneeded xrectsel


That took mine from 30.2kB to 9.7kB Very Happy

I know the trick, Geoffrey. Mine went from 27 Kb to 6.536 Kb. However
I did include a little doc directory at /usr/share/doc/xrectsel.

Besides, it's not what I'm talking about, but never mind. The important
thing is not your compilation or mine, but that TAS now has a tool which
enables users to do regional screen crops properly and easily on 32-bits.

I looked for --enable-static=no in the configure parameters and it wasn't
there. It didn't have an --enable-dynamic=something either, BTW. I
suppose it's not important to have those parms for such a small utility.

Also, what's the glibc version of the TahrPup you compiled xrectsel on?

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2377
Location: Queensland

PostPosted: Thu 16 Feb 2017, 17:56    Post subject:  

musher0 wrote:
what's the glibc version of the TahrPup you compiled xrectsel on?


Code:
root# ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19

_________________
Carolina: Recent Repository Additions

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


Joined: 26 Oct 2011
Posts: 1742

PostPosted: Sun 10 Mar 2019, 13:55    Post subject:  

Version 1.14:

- fix: replace slashes to underscores in filename after evaluating date format options (thanks to MrDuckGuy)

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
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 4047
Location: Worcestershire, UK

PostPosted: Mon 11 Mar 2019, 05:31    Post subject:  

SFR wrote:
Version 1.14:

Uploaded to noarch for woof-ce builds....

_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Back to top
View user's profile Send private message Visit poster's website 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1925
Location: Japan

PostPosted: Sun 18 Aug 2019, 23:46    Post subject:  

Hi SFR, slow and lazy as always I finally updated from 1.10 to 1.14 .
I like the new preview display. Some of my earlier modifications I carried over and some are now taken care of in the newest version Very Happy

One of my modifications may be of interest for other users and I wonder if you have plans to add a 'Discard' function to future TAS versions. I often find right after a shot that I missed. Mostly wrong timing, or wrong selection. I want to delete that shot I just made and try again. For this I added a 'Discard' button:

    <hbox homogeneous="true" space-fill="true" space-expand="true">
    <button>
    <label>'$(gettext "Discard")'</label>
    <input file stock="gtk-delete"></input>
    <action>EXIT:discard</action>
    </button>

    <button>
    <label>'$(gettext "View")'</label>
    <input file stock="gtk-find"></input>
    <action>EXIT:view</action>
    </button>
    <button>
    <label>'$(gettext "Edit")'</label>
    <input file stock="gtk-edit"></input>
    <action>EXIT:edit</action>
    </button>
    <button>
    <label>'$(gettext "Continue")'</label>
    <input file stock="gtk-redo"></input>
    <action>EXIT:relaunch</action>
    </button>
    <button>
    <label>'$(gettext "Quit")'</label>
    <input file stock="gtk-quit"></input>
    <action>EXIT:quit</action>
    </button>
    </hbox>
    </vbox>
    <action signal="hide">exit:abort</action>
    </window>'

    eval $($GTKDIALOG -cp GUI_POST)

    case "$EXIT" in
    discard)
    rm "${SAVENAME}"
    exec "${MY_NAME}" relaunch
    ;;
    view)
    $DEFAULTIMAGEVIEWER "${SAVENAME}"
    ;;
Screenshot.png
 Description   
 Filesize   27.65 KB
 Viewed   166 Time(s)

Screenshot.png

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12837
Location: S.C. USA

PostPosted: Sun 18 Aug 2019, 23:59    Post subject:  

Very good idea MochiMoppel Very Happy

I too sometimes want to discard and try doing it over.

Thanks for the code!

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1742

PostPosted: Mon 19 Aug 2019, 08:42    Post subject:  

Hey Mochi!

Sure, good idea. Thanks!
___________

Version 1.15:

- added 'Discard' button to the preview dialog (thanks to MochiMoppel)
- increased the size of the preview image (1/5 -> 1/3)

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
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 773

PostPosted: Mon 19 Aug 2019, 09:11    Post subject:  

Hey Mochi
Like the 'Discard' addition. Very Happy

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
josejp2424


Joined: 01 Aug 2010
Posts: 510

PostPosted: Mon 19 Aug 2019, 09:38    Post subject: thanks
Subject description: thanks
 

MochiMoppel wrote:
Hi SFR, slow and lazy as always I finally updated from 1.10 to 1.14 .
I like the new preview display. Some of my earlier modifications I carried over and some are now taken care of in the newest version Very Happy

One of my modifications may be of interest for other users and I wonder if you have plans to add a 'Discard' function to future TAS versions. I often find right after a shot that I missed. Mostly wrong timing, or wrong selection. I want to delete that shot I just made and try again. For this I added a 'Discard' button:

    <hbox homogeneous="true" space-fill="true" space-expand="true">
    <button>
    <label>'$(gettext "Discard")'</label>
    <input file stock="gtk-delete"></input>
    <action>EXIT:discard</action>
    </button>

    <button>
    <label>'$(gettext "View")'</label>
    <input file stock="gtk-find"></input>
    <action>EXIT:view</action>
    </button>
    <button>
    <label>'$(gettext "Edit")'</label>
    <input file stock="gtk-edit"></input>
    <action>EXIT:edit</action>
    </button>
    <button>
    <label>'$(gettext "Continue")'</label>
    <input file stock="gtk-redo"></input>
    <action>EXIT:relaunch</action>
    </button>
    <button>
    <label>'$(gettext "Quit")'</label>
    <input file stock="gtk-quit"></input>
    <action>EXIT:quit</action>
    </button>
    </hbox>
    </vbox>
    <action signal="hide">exit:abort</action>
    </window>'

    eval $($GTKDIALOG -cp GUI_POST)

    case "$EXIT" in
    discard)
    rm "${SAVENAME}"
    exec "${MY_NAME}" relaunch
    ;;
    view)
    $DEFAULTIMAGEVIEWER "${SAVENAME}"
    ;;


thanks MochiMoppel
and excellent idea

_________________
Shiba Inu | Pupjibaro jessie | My Blog
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 9 of 9 [134 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9
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.2351s ][ Queries: 12 (0.0666s) ][ GZIP on ]