[Mono-osx] How to hide mono and windows form in Mac Dock

Sandy Armstrong sanfordarmstrong at gmail.com
Thu Feb 5 09:39:42 EST 2009

On 02/05/2009 05:29 AM, d_v wrote:
> Sandy Armstrong wrote:
>> On 02/04/2009 01:16 PM, d_v wrote:
>>> Hi there,
>>> I figure I can not run my C# 2.0 .NET Windows Service on mono, so I am
>>> running the equivalent Windows Form (application) on mono.
>>> However the script editor, mono, and sometiimes the form (windows state
>>> is
>>> set to minimized) are all visible in the Dock.  I use a script to launch
>>> mono and the .exe.
>>> What do you advise is the best way to hide these programs from the Dock?
>>> I am hoping for a manual way to do this and maybe a way to do it in
>>> setup/or
>>> code so I do not have to bother the user with setting this up.
>> Make a Mac app bundle.  Download the OS X versions of MonoDevelop,
>> Banshee, or Tomboy for examples of how this is done.  These are all gtk#
>> apps, but I don't see why it wouldn't work with winforms apps.
>> By the way, there's a mono-osx list that might be more helpful with
>> future Mac questions.
>> Best,
>> Sandy
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
> Thanks for the tip.
> So I started looking up "Mac bundles" and I found this link:
> http://www.mono-project.com/Guide:Running_Mono_Applications and a section at
> the very end called "Macpack, Mac OS X only"
> Is this the way I do it?  But I am not using cocoa sharp...

I don't personally know.  Banshee has some stuff integrated in their 
makefiles.  When I make my bundles for Tomboy and Tasque I use a little 


Notice that in SVN I keep a "skeleton" of the .app hierarchy (in a 
directory called "osx").  Then I just copy the skeleton and the binaries 
to the right folder.

You can right-click any app and "Show Package Contents" to get an idea 
of how things are laid out, too.


More information about the Mono-osx mailing list