зеркало из https://github.com/mono/mail-archives.git
118 строки
5.1 KiB
HTML
118 строки
5.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] How to hide mono and windows form in Mac Dock
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20How%20to%20hide%20mono%20and%20windows%20form%20in%20Mac%20Dock&In-Reply-To=21851379.post%40talk.nabble.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="001955.html">
|
|
<LINK REL="Next" HREF="001957.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] How to hide mono and windows form in Mac Dock</H1>
|
|
<B>Sandy Armstrong</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20How%20to%20hide%20mono%20and%20windows%20form%20in%20Mac%20Dock&In-Reply-To=21851379.post%40talk.nabble.com"
|
|
TITLE="[Mono-osx] How to hide mono and windows form in Mac Dock">sanfordarmstrong at gmail.com
|
|
</A><BR>
|
|
<I>Thu Feb 5 09:39:42 EST 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="001955.html">[Mono-osx] How to hide mono and windows form in Mac Dock
|
|
</A></li>
|
|
<LI>Next message: <A HREF="001957.html">[Mono-osx] How to hide mono and windows form in Mac Dock
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#1956">[ date ]</a>
|
|
<a href="thread.html#1956">[ thread ]</a>
|
|
<a href="subject.html#1956">[ subject ]</a>
|
|
<a href="author.html#1956">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>On 02/05/2009 05:29 AM, d_v wrote:
|
|
><i>
|
|
</I>><i>
|
|
</I>><i> Sandy Armstrong wrote:
|
|
</I>>><i> On 02/04/2009 01:16 PM, d_v wrote:
|
|
</I>>>><i> Hi there,
|
|
</I>>>><i>
|
|
</I>>>><i> I figure I can not run my C# 2.0 .NET Windows Service on mono, so I am
|
|
</I>>>><i> running the equivalent Windows Form (application) on mono.
|
|
</I>>>><i>
|
|
</I>>>><i> However the script editor, mono, and sometiimes the form (windows state
|
|
</I>>>><i> is
|
|
</I>>>><i> set to minimized) are all visible in the Dock. I use a script to launch
|
|
</I>>>><i> mono and the .exe.
|
|
</I>>>><i>
|
|
</I>>>><i> What do you advise is the best way to hide these programs from the Dock?
|
|
</I>>>><i> I am hoping for a manual way to do this and maybe a way to do it in
|
|
</I>>>><i> setup/or
|
|
</I>>>><i> code so I do not have to bother the user with setting this up.
|
|
</I>>><i> Make a Mac app bundle. Download the OS X versions of MonoDevelop,
|
|
</I>>><i> Banshee, or Tomboy for examples of how this is done. These are all gtk#
|
|
</I>>><i> apps, but I don't see why it wouldn't work with winforms apps.
|
|
</I>>><i>
|
|
</I>>><i> By the way, there's a mono-osx list that might be more helpful with
|
|
</I>>><i> future Mac questions.
|
|
</I>>><i>
|
|
</I>>><i> Best,
|
|
</I>>><i> Sandy
|
|
</I>>><i> _______________________________________________
|
|
</I>>><i> Mono-osx mailing list
|
|
</I>>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
|
|
</I>>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
</I>>><i>
|
|
</I>>><i>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> Thanks for the tip.
|
|
</I>><i> So I started looking up "Mac bundles" and I found this link:
|
|
</I>><i> <A HREF="http://www.mono-project.com/Guide:Running_Mono_Applications">http://www.mono-project.com/Guide:Running_Mono_Applications</A> and a section at
|
|
</I>><i> the very end called "Macpack, Mac OS X only"
|
|
</I>><i>
|
|
</I>><i> Is this the way I do it? But I am not using cocoa sharp...
|
|
</I>
|
|
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
|
|
script:
|
|
|
|
<A HREF="http://svn.gnome.org/viewvc/tomboy/trunk/bundle-mac-app.sh?view=markup">http://svn.gnome.org/viewvc/tomboy/trunk/bundle-mac-app.sh?view=markup</A>
|
|
|
|
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.
|
|
|
|
Sandy
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="001955.html">[Mono-osx] How to hide mono and windows form in Mac Dock
|
|
</A></li>
|
|
<LI>Next message: <A HREF="001957.html">[Mono-osx] How to hide mono and windows form in Mac Dock
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#1956">[ date ]</a>
|
|
<a href="thread.html#1956">[ thread ]</a>
|
|
<a href="subject.html#1956">[ subject ]</a>
|
|
<a href="author.html#1956">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|