I decided to fix that Oddmuse:Moblogging thing... I can again send MMS containing both pictures and text to one of my email addresses where procmail will filter those mails, pipe them into a little Perl program, which will extract the data and post it using Oddmuse:wikiput.
---
I used Platypus to create a dock item for the Gimp. I installed gimp via fink, so there was no icon associated with it. And I didn’t want to install Gimp.app because that was about 80MB instead of 10MB; all libraries come bundled, I assume.
So, first a script that starts X11 if necessary, reads the fink init files, and ignores the first parameter (the directory of the script) if necessary. This is necessary when a file is dropped on the icon.
#!/bin/sh test -r /sw/bin/init.sh && . /sw/bin/init.sh if [ ! -f /tmp/.X0-lock ]; then startx & sleep 5 fi if [ -d "$1" ]; then shift fi export DISPLAY=:0.0 exec /sw/bin/gimp-real --no-shm --no-xshm "$@"
I also got the icon from Gimp.app site, chose the advanced option “Is droppable”, and I was done. Neat.
It took a bit longer to figure it out, of course... ;)
#Software
(Please contact me if you want to remove your comment.)
⁂
From the bathroom?
– Anonymous 2005-03-06 20:47 UTC
---
Just beautiful.
– Tim Cambrant 2005-03-06 21:12 UTC
---
grusig
– Helmut Schroeder 2005-03-07 01:31 UTC