Thunderbird Roxapp
-UPDATEDx4-
Even though thunderbird -h shows the -mail option, my Thunderbird doesn't understand it, so this update is just to eliminate an error message when run from the command line.
-UPDATEDx3-
I separated out all the code into a start script to save as /usr/local/bin/thunderbird or something, so this is now just a very basic roxapp to go with it.
http://www.murga-linux.com/puppy/viewto ... 156#182156
I fixed the code, so mailto: links from other programs are handled correctly. I suspect it needs to be fixed for links to news channels or whatever they are too, but I don't use any, so complain if you want that fixed.
-UPDATEDx2-
Sorry - I slightly broke the splash screen with the first update.
-UPDATED-
I made the splash more sensible. Now you see the splash if no Thunderbird is running, or if opening compose window, as this is slow whether or not TB is already running. The only time you don't see the splash when it would be handy is when just opening to the Inbox if a compose window is already open.
------------
For desktop/openwith menu.
If you use the thunderbird start script from
here as well, then you get these features:
If files are dropped on it (or it is used from the openwith menu) then it will open a compose window with the file(s) attached. If clicked on, it will open Thunderbird to the inbox (or I guess whatever is the default view if another is possible). If right-clicked on it has a menu with options to start all the different things you can start Thunderbird in from the command line:
Read Mail, Write Mail/News, Read News, Address Book, Preferences.
Now handles mailto: links passed from other programs.
I'm sure there is a much more efficient (and therefore beautiful) way of doing the code.
Has a splash screen that is extremely easy to disable if you want.
Thunderbird is not in standard Puppies - they have the Seamonkey mail/news component and/or Sylpheed.
-------------------------
EDIT - the below is obviously not correct any more, I just don't have the time to correct it and shift it to the other thread, and I won't delete it as it might be useful to someone.
------------------------
EDIT
I just realised that the splash screen doesn't show up if Thunderbird is running, and you right click-compose. If you want it to, add
Code: Select all
elif [ "$1" = "-compose" ]; then
if which gxmessage > /dev/null
then
gxmessage -timeout $DISPLAY_TIME -buttons "" -bg "#d0ffd0" -borderless -center -title "Thunderbird" "
Thunderbird is starting" &
else
xmessage -timeout $DISPLAY_TIME -buttons "" -bg "#d0ffd0" -center -fn "10x20" -title "Thunderbird" " Thunderbird is starting " &
fi
before the last fi in the AppRun file.