mtPaint development
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
I meant it's probably the shell-wrapper that's responsible.wjaguar wrote:Naturally, it is - but in which way precisely?
I don't know if they changed it in 4.20, but it used to be an xmessage with a 8 sec. timeout running in the background, then sleep 10, then "exec mtpaint -s".
Could be the xmessage doesn't terminate properly or something (maybe they changed it to gtkdialog, which is known to have a problem with processes going on if you close it from the titlebar...
The output of ps is obviously what you need... (I don't seem to have that problem with 4.12)
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
-
- Posts: 632
- Joined: Tue 02 Oct 2007, 07:39
Looks like the tcl shell script is the source of the problem,not mtPaint.Dougal wrote:I meant it's probably the shell-wrapper that's responsible.wjaguar wrote:Naturally, it is - but in which way precisely?
I don't know if they changed it in 4.20, but it used to be an xmessage with a 8 sec. timeout running in the background, then sleep 10, then "exec mtpaint -s".
Could be the xmessage doesn't terminate properly or something (maybe they changed it to gtkdialog, which is known to have a problem with processes going on if you close it from the titlebar...
The output of ps is obviously what you need... (I don't seem to have that problem with 4.12)
Code: Select all
tclsh /usr/bin/mtpaintsnapshot.sh
After editing the image and closing the window,the mtPaint process ends nicely. The tcl shell script remains as an active process (isn't terminated).
After making 100 screenshots with mtPaint,you get 100 instances of the shell script running in the background,wasting precious resources.
------
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
That's just grand... gotta love it when people complicate something and not do it properly.panzerpuppy wrote:After making 100 screenshots with mtPaint,you get 100 instances of the shell script running in the background,wasting precious resources.
------
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
Seconded.Dougal wrote:That's just grand... gotta love it when people complicate something and not do it properly.
From curiosity, I looked at this script - and here is what is wrong with it:
The silly thing is lacking any "exit" statements!
It needs three of them - one on the "Cancel" line, instead of "$win delete", and one after each "exec mtpaint -s".
And if I can see it immediately, without writing one line of Tcl in my whole life, then I wonder what the script's author was thinking...
- Attachments
-
- mtpaintsnapshot.sh.gz
- Gzipped script with "exit"s added
- (426 Bytes) Downloaded 877 times
Thanks, Dmitry. I have added your fix to the Official Patches & Updates thread that is stickied at the top of Additional Software (Pups n Stuff) forum.wjaguar wrote:Seconded.Dougal wrote:That's just grand... gotta love it when people complicate something and not do it properly.
From curiosity, I looked at this script - and here is what is wrong with it:
The script developer had the right idea, in that he was offering a broader choice of options in a simpler package, but as with any community there is a wide variety of abilities and sometimes we fall victim to that. Still I'd rather have 20 such problems, quickly resolved, than miss out on one really innovative approach that makes a big difference to the usability of our little distribution. After all, that's why we are so attached to mtPaint, isn't it?
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hi here's some icons I changed in the latest version
ttuuxxx
ttuuxxx
- Attachments
-
- mtpaint.jpg
- (46.23 KiB) Downloaded 983 times
-
- graphics.tar.gz
- (34 KiB) Downloaded 593 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I updated the gtk theme I did a few years back for compiling, Looks better
ttuuxxx
ttuuxxx
- Attachments
-
- Gtk-Icons-1.1.tar.gz
- (32.04 KiB) Downloaded 355 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Hello.ttuuxxx wrote:I updated the gtk theme I did a few years back for compiling, Looks better
My brain is not performing today...
I do not understand how to use the archive Gtk-Icons-1.1.tar.gz
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
You need to compile the latest version and follow the instructions located in mtPaint-3.44.89-1/src/icons1/README
which reads
This directory contains icons and mouse pointers that are compiled into mtPaint. It is possible to create custom icon sets to suit personal taste. For example in order to create and build a new set try:
1) cp -r icons1 icons-new
2) Edit the icons and pointers in icons-new as required (this is where you copy the new icons to the new icons-new folder) Then
3) ./configure icons-new
4) make
which reads
This directory contains icons and mouse pointers that are compiled into mtPaint. It is possible to create custom icon sets to suit personal taste. For example in order to create and build a new set try:
1) cp -r icons1 icons-new
2) Edit the icons and pointers in icons-new as required (this is where you copy the new icons to the new icons-new folder) Then
3) ./configure icons-new
4) make
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
I downloaded your icons and just dumped them over top of the originals and compiled without "icons-new" and it worked without probs.ttuuxxx wrote:You need to compile the latest version and follow the instructions located in mtPaint-3.44.89-1/src/icons1/README
which reads
This directory contains icons and mouse pointers that are compiled into mtPaint. It is possible to create custom icon sets to suit personal taste. For example in order to create and build a new set try:
1) cp -r icons1 icons-new
2) Edit the icons and pointers in icons-new as required (this is where you copy the new icons to the new icons-new folder) Then
3) ./configure icons-new
4) make
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Cool glad they worked, It took a lot of effort to get them looking that well. The format he uses doesn't display shadows/transparent images. Basically full pixel colour.rg66 wrote:I downloaded your icons and just dumped them over top of the originals and compiled without "icons-new" and it worked without probs.ttuuxxx wrote:You need to compile the latest version and follow the instructions located in mtPaint-3.44.89-1/src/icons1/README
which reads
This directory contains icons and mouse pointers that are compiled into mtPaint. It is possible to create custom icon sets to suit personal taste. For example in order to create and build a new set try:
1) cp -r icons1 icons-new
2) Edit the icons and pointers in icons-new as required (this is where you copy the new icons to the new icons-new folder) Then
3) ./configure icons-new
4) make
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I'm glad to see people using them, Makes it all worthwhilerg66 wrote:Sorry, I forgot to say thanks for the icons. They look much better, appreciate the effort.ttuuxxx wrote: Cool glad they worked, It took a lot of effort to get them looking that well. ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)