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 Wed 01 Jul 2015, 13:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
New mtPaint-snapshot: Wait 2, 5, or 10 sec, or modify
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 03 Jun 2005
Posts: 680
Location: Fort Wayne, Indiana, USA

PostPosted: Sat 22 May 2010, 10:59    Post_subject:  New mtPaint-snapshot: Wait 2, 5, or 10 sec, or modify  

Don't like waiting 10 seconds to arrange your screen for a screenshot, when 2 seconds would do? No problem. Just untar this revised mtpaintsnapshot.sh script, put it in /usr/bin, run it, wait 2 (or 5) seconds instead of 10, and make good use of all those saved seconds. If you want yet another number of seconds, it's as easy for you to modify this script as it was for me. Just look at this code:

    <input file icon=\"gtk-refresh\"></input>
    <label>Wait 5 Sec</label>
   <action>(echo 20; sleep 1 ; echo 40; sleep 1 ; echo 60 ; sleep 1 ; echo 80; sleep 1 ; echo 100 ) | Xdialog --title 'Puppy Screenshot' --beep-after --wrap --screen-center --center --no-buttons --gauge 'Please wait & prepare your screen ' 10 50 100 ; exec mtpaint -s &</action>
   <action>exit: Screenshot</action>

On the "action" line, you'll note that the numbers after the "echoes" are percentages of the total time to wait. So, if you wanted 4 instead of 5 seconds, you'd just change "5" to "4" in the label, and change "echo 20" (etc.) to this:

(echo 25; sleep 1 ; echo 50; sleep 1 ; echo 75 ; sleep 1 ; echo 100 )
 Filesize   10.21 KB
 Viewed   720 Time(s)



Filename  mtpaintsnapshot.sh.tar.gz 
Filesize  643 Bytes 
Downloaded  484 Time(s) 

It's stupid to use inferior software for ideological reasons.
--Linus Torvalds
Back to top
View user's profile Send_private_message Visit_website 

Joined: 10 Sep 2011
Posts: 4740
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 17 Jun 2014, 14:40    Post_subject: 2014 MTpaint Video francophone
Sub_title: Découvrez discover MTpaint

2014 MTpaint Video snapshot. Je vais refaire ma video en rajoutant Waiting choice
francophone video MTpaint
Ouvrir le tar gz le mettre dans /usr/bin, lancer le programme
Vous pouvez adapter le nombre de secondes...
Perfect !it works Thanks sir Smile

Root is the glass, Pelo wants the wine.
Back to top
View user's profile Send_private_message YIM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1639s ][ Queries: 12 (0.0755s) ][ GZIP on ]