[Pythonmac-SIG] Banishing MacPython Dock Icon

Nick Matsakis matsakis at mit.edu
Sun Feb 27 01:40:46 CET 2005


On Sat, 26 Feb 2005, Bob Ippolito wrote:

> It's definitely a disservice.  It is used any time that pythonw is
> used.  If you set LSUIElement to 1, then you can't run applications
> with a menu bar from pythonw.  wxPython, pygame, Tkinter, Carbon, etc.
> scripts should all have a problem with this.

Well, I don't run any such scripts.  Maybe there be a pythonfl, that runs
as a faceless app.

> If you want a faceless background application, run py2app over the
> script and set the LSUIElement key to 1 in that.

It seems to me that it should be the opposite.  If you want a script that
behaves like an app, you should bundle it as an app.  If you just want a
script that runs in the background, then it shouldn't need to be bundled
up at all (this is generally how mac applications and unix processes
work).  Ultimately, I think Apple should provide an API for a faceless app
to request a "face" when it wants to interact with the user. As it is, all
this is fixed at the point the process is started.

> The weight as a reference to Monty Python.  I had a friend of mine do a
> more modern icon, but it was too snake-like for some people on the
> list

Apple may also have a problem with someone using their logo.  Why not just
use the generic application icon?  Branding?

Nick


More information about the Pythonmac-SIG mailing list