How to Get Mac Apps on the Mac OS X Dock?
I have successfully compiled gimp (!!) and I would like to put it's icon on the Mac OS X Dock. Dragging the /opt/local/bin/gimp shortcut doesn't work. How would I create a Gimp Icon button on my dock? Thanks! -- Jeffrey Thompson <jthompsonic@gmail.coM>
Jeffrey Thompson wrote:
I have successfully compiled gimp (!!) and I would like to put it's icon on the Mac OS X Dock. Dragging the /opt/local/bin/gimp shortcut doesn't work. How would I create a Gimp Icon button on my dock? Thanks! --
Open /Applications/Applescript Launch 'Script Editor' Type something like the following: tell application "Finder" do shell script "open-x11 /opt/local/bin/gimp" end tell Save this to /Applications with a suitable filename e.g. runGimp - or even just Gimp Open /Applications in Finder and drag your new file into the dock. Enjoy Good luck David Rowe
On Jan 16, 2008 6:26 AM, Jeffrey Thompson <jthompsonic@gmail.com> wrote:
I have successfully compiled gimp (!!) and I would like to put it's icon on the Mac OS X Dock. Dragging the /opt/local/bin/gimp shortcut doesn't work. How would I create a Gimp Icon button on my dock? Thanks!
is there a Gimp in your /Applications/MacPorts folder? -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
No the gimp executable is in /opt/local/bin/gimp. This solution** works pretty well except the shell command is: "do shell script "/opt/local/bin/gimp". I haven't figured out how to compile the script yet but when I click the Run button it does open Gimp. So I would think somehow I create a Mac-recognized application, drop that in the /Applications folder and then drag that onto the Doc. **http://www.nabble.com/How-to-Get-Mac-Apps-on-the-Mac-OS-X-Dock--to14883507.h... On Wed, 2008-01-16 at 11:42 -0800, paul beard wrote:
On Jan 16, 2008 6:26 AM, Jeffrey Thompson <jthompsonic@gmail.com> wrote: I have successfully compiled gimp (!!) and I would like to put it's icon on the Mac OS X Dock. Dragging the /opt/local/bin/gimp shortcut doesn't work. How would I create a Gimp Icon button on my dock? Thanks!
is there a Gimp in your /Applications/MacPorts folder?
-- Paul Beard / www.paulbeard.org/ < paulbeard@gmail.com/paulbeard@gmail.com>
Save As "Application" and you're done. Scott Jeffrey Thompson wrote:
No the gimp executable is in /opt/local/bin/gimp.
This solution** works pretty well except the shell command is: "do shell script "/opt/local/bin/gimp". I haven't figured out how to compile the script yet but when I click the Run button it does open Gimp. So I would think somehow I create a Mac-recognized application, drop that in the /Applications folder and then drag that onto the Doc.
**http://www.nabble.com/How-to-Get-Mac-Apps-on-the-Mac-OS-X-Dock--to14883507.h...
On Wed, 2008-01-16 at 11:42 -0800, paul beard wrote:
On Jan 16, 2008 6:26 AM, Jeffrey Thompson <jthompsonic@gmail.com> wrote: I have successfully compiled gimp (!!) and I would like to put it's icon on the Mac OS X Dock. Dragging the /opt/local/bin/gimp shortcut doesn't work. How would I create a Gimp Icon button on my dock? Thanks!
is there a Gimp in your /Applications/MacPorts folder?
-- Paul Beard / www.paulbeard.org/ < paulbeard@gmail.com/paulbeard@gmail.com>
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
After selecting "Application" for the File Format I also unchecked the "Startup Screen". Anyone know how to get an icon like the one in /opt/local/share/icons/hicolor/24x24/apps/gimp.png to be the Application Icon that can be placed on the Dock? On Wed, 2008-01-16 at 12:18 -0800, Scott C. Kennedy wrote:
Save As "Application" and you're done.
Here's what I did... 1) Download a high-resolution image of the icon you want to use. 2) Then (if Using Leopard go to next step) open the Icon with GraphicConverter & save it. 3) In Finder, select the saved File (with a preview icon that shows the image) and hit APPLE-I (or select File -'Get Info') 4) In Finder, select the file you want to have that Icon, and hit APPLE-I (or select File -'Get Info') 5) Drag the top left image of the icon you want onto the top left image of the fiel you want it on. 6) Delight the world with your new-fu! Scott Jeffrey Thompson wrote:
After selecting "Application" for the File Format I also unchecked the "Startup Screen".
Anyone know how to get an icon like the one in /opt/local/share/icons/hicolor/24x24/apps/gimp.png to be the Application Icon that can be placed on the Dock?
On Wed, 2008-01-16 at 12:18 -0800, Scott C. Kennedy wrote:
Save As "Application" and you're done.
Based on what you said to do, here's what I did (I have Leopard): 1. I double clicked the /opt/local/share/icons/hicolor/64x64/apps/gimp.png file, which opened it in preview 2. Then I did an Edit->Select All, and then Edit->Copy 3. Then I located the Script Application file and did a "Get Info" on it. 4. Then, I clicked the top left icon (it gets a blue highlight around it) and did a paste command (APPLEKEY+V) And now I have a Gimp Icon on my Dock. Thanks for the info. On Wed, 2008-01-16 at 13:15 -0800, Scott C. Kennedy wrote:
Here's what I did...
1) Download a high-resolution image of the icon you want to use. 2) Then (if Using Leopard go to next step) open the Icon with GraphicConverter & save it. 3) In Finder, select the saved File (with a preview icon that shows the image) and hit APPLE-I (or select File -'Get Info') 4) In Finder, select the file you want to have that Icon, and hit APPLE-I (or select File -'Get Info') 5) Drag the top left image of the icon you want onto the top left image of the fiel you want it on. 6) Delight the world with your new-fu!
Scott
Jeffrey Thompson wrote:
After selecting "Application" for the File Format I also unchecked the "Startup Screen".
Anyone know how to get an icon like the one in /opt/local/share/icons/hicolor/24x24/apps/gimp.png to be the Application Icon that can be placed on the Dock?
On Wed, 2008-01-16 at 12:18 -0800, Scott C. Kennedy wrote:
Save As "Application" and you're done.
On Jan 16, 2008 12:13 PM, Jeffrey Thompson <jthompsonic@gmail.com> wrote:
No the gimp executable is in /opt/local/bin/gimp.
[/Users/paul]:: port provides /Applications/MacPorts/Gimp.app/Contents/Info.plist /Applications/MacPorts/Gimp.app/Contents/Info.plist is provided by: gimp-app Yes, but the gimp-app port saves you from having to create an Applescript wrapper by making a wrapper of its own and installing it where you would expect it. Someone has already done all this for, if you installed the meta-port. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
On Jan 16, 2008, at 3:13 PM, Jeffrey Thompson wrote:
No the gimp executable is in /opt/local/bin/gimp.
is there a Gimp in your /Applications/MacPorts folder?
-- Paul Beard / www.paulbeard.org/ < paulbeard@gmail.com/paulbeard@gmail.com>
Did you bother to look in /Applications/MacPorts? The MacPorts gimp port *also* installs Gimp.App in that location whose icon you would have seen if you had bothered to look. William Davis frstanATbellsouthDOTnet Mac OS X.5.1 Darwin 9.1.0 X11.app 2.1.2 - (xorg-server 1.3.0-apple7) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non
On Jan 16, 2008 10:16 PM, William Davis <frstan@bellsouth.net> wrote:
Did you bother to look in /Applications/MacPorts? The MacPorts gimp port *also* installs Gimp.App in that location whose icon you would have seen if you had bothered to look.
I'm not sure the gimp port does by default: I think it's the meta-port. But the description of gimp vs gimp-app doesn't make it clear to me. [/Users/paul]:: port info gimp gimp 2.4, Revision 3, graphics/gimp (Variants: universal, macosx, animation) http://www.gimp.org/ This is a META port for the gimp2 which includes help and documentation, support for icns, jp2000 and RAW formats, content-aware rescaling Gutenprint and scanner frontends and even a nice theme (Nodoka). Mac OS X users also get a Gimp.app bundle, a "Show in Finder" menu and clipboard integration. Library Dependencies: icns-gimp, gimp-jp2, gimp-lqr-plugin, gimp-user-manual, gtk-nodoka-engine, gutenprint, ufraw, xsane, gimp-app, macclipboard-gimp, macfile-gimp Platforms: darwin Maintainers: nomaintainer@macports.org -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
I did bother to look for an /Applications/MacPorts and I don't have one. Sent from my iPhone On Jan 17, 2008, at 2:08 AM, "paul beard" <paulbeard@gmail.com> wrote:
On Jan 16, 2008 10:16 PM, William Davis <frstan@bellsouth.net> wrote:
Did you bother to look in /Applications/MacPorts? The MacPorts gimp port *also* installs Gimp.App in that location whose icon you would have seen if you had bothered to look.
I'm not sure the gimp port does by default: I think it's the meta- port. But the description of gimp vs gimp-app doesn't make it clear to me.
[/Users/paul]:: port info gimp gimp 2.4, Revision 3, graphics/gimp (Variants: universal, macosx, animation) http://www.gimp.org/
This is a META port for the gimp2 which includes help and documentation, support for icns, jp2000 and RAW formats, content- aware rescaling Gutenprint and scanner frontends and even a nice theme (Nodoka). Mac OS X users also get a Gimp.app bundle, a "Show in Finder" menu and clipboard integration.
Library Dependencies: icns-gimp, gimp-jp2, gimp-lqr-plugin, gimp- user-manual, gtk-nodoka-engine, gutenprint, ufraw, xsane, gimp-app, macclipboard-gimp, macfile-gimp Platforms: darwin Maintainers: nomaintainer@macports.org
-- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
On Jan 17, 2008, at 2:08 AM, paul beard wrote:
On Jan 16, 2008 10:16 PM, William Davis <frstan@bellsouth.net> wrote:
Did you bother to look in /Applications/MacPorts? The MacPorts gimp port *also* installs Gimp.App in that location whose icon you would have seen if you had bothered to look.
I'm not sure the gimp port does by default: I think it's the meta- port. But the description of gimp vs gimp-app doesn't make it clear to me.
[/Users/paul]:: port info gimp gimp 2.4, Revision 3, graphics/gimp (Variants: universal, macosx, animation) http://www.gimp.org/
This is a META port for the gimp2 which includes help and documentation, support for icns, jp2000 and RAW formats, content- aware rescaling Gutenprint and scanner frontends and even a nice theme (Nodoka). Mac OS X users also get a Gimp.app bundle, a "Show in Finder" menu and clipboard integration.
Library Dependencies: icns-gimp, gimp-jp2, gimp-lqr-plugin, gimp- user-manual, gtk-nodoka-engine, gutenprint, ufraw, xsane, gimp-app, macclipboard-gimp, macfile-gimp Platforms: darwin Maintainers: nomaintainer@macports.org
-- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
If you do sudo port install gimp you get the metaport installed and therefore, as you say Gimp.App is also installed in /Applications/Macports. To install directly (no metaport and so no Gimp.App) you must do sudo install gimp2. Since he talked about the gimp port and not the gimp2 port it appeared he had done the former not the later. ;) William Davis frstanATbellsouthDOTnet Mac OS X.5.1 Darwin 9.1.0 X11.app 2.1.2 - (xorg-server 1.3.0-apple7) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non
On Jan 17, 2008 10:47 AM, William Davis <frstan@bellsouth.net> wrote:
Since he talked about the gimp port and not the gimp2 port it appeared he had done the former not the later. ;)
It's by no means clear if you just ask for the gimp or gimp.app what you may end up with. If RFEs are being taken note of, perhaps a text response when the user requests an ambiguous port name might be in order for a later release of the ports system. # port install gimp install meta gimp with Aqua app META port for the gimp2 which includes help and documentation, support for icns, jp2000 and RAW formats, content-aware rescaling Gutenprint and scanner frontends and even a nice theme (Nodoka). Mac OS X users also get a Gimp.app bundle, a "Show in Finder" menu and clipboard integration.) [y/n] install gimp with command-line application only [y/n] -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
paul beard wrote:
It's by no means clear if you just ask for the gimp or gimp.app what you may end up with.
If RFEs are being taken note of, perhaps a text response when the user requests an ambiguous port name might be in order for a later release of the ports system.
Hm, "gimp" is not ambigious. But maybe the ports should be named different. gimp and gimp2 are just too confusing, I think. Solutions: a) Rename gimp2 to gimp and gimp to gimp-extra b) Leave gimp as it is and rename gimp2 to gimp-base Rainer
On Jan 17, 2008 4:37 PM, Rainer Müller <raimue@macports.org> wrote:
paul beard wrote:
It's by no means clear if you just ask for the gimp or gimp.app what you may end up with.
If RFEs are being taken note of, perhaps a text response when the user requests an ambiguous port name might be in order for a later release of the ports system.
Hm, "gimp" is not ambigious. But maybe the ports should be named different. gimp and gimp2 are just too confusing, I think.
[/Users/paul]# port list gimp* gimp @2.4 graphics/gimp gimp-app @2.4.0 aqua/gimp-app gimp-gap @2.2.2 graphics/gimp-gap gimp-jp2 @0.1 graphics/gimp-jp2 gimp-lqr-plugin @0.3.0-6 graphics/gimp-lqr-plugin gimp-print @4.2.7 print/gimp-print gimp-user-manual @0.13 graphics/gimp-user-manual gimp2 @2.4.3 graphics/gimp2 You don't think the first two and the last one are ambiguous?
Solutions: a) Rename gimp2 to gimp and gimp to gimp-extra b) Leave gimp as it is and rename gimp2 to gimp-base
Or ask what users would expect and do that. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
paul beard wrote:
Hm, "gimp" is not ambigious. But maybe the ports should be named different. gimp and gimp2 are just too confusing, I think.
[/Users/paul]# port list gimp* gimp @2.4 graphics/gimp gimp-app @2.4.0 aqua/gimp-app gimp-gap @2.2.2 graphics/gimp-gap gimp-jp2 @0.1 graphics/gimp-jp2 gimp-lqr-plugin @0.3.0-6 graphics/gimp-lqr-plugin gimp-print @4.2.7 print/gimp-print gimp-user-manual @0.13 graphics/gimp-user-manual gimp2 @2.4.3 graphics/gimp2
You don't think the first two and the last one are ambiguous?
What I meant was: If the user wants "gimp", he should get gimp. There is no reason to ask the user any questions what he wants to install. In this case, the short description you see by port search does make clear what these port contain. I would go by gimp2, since it sounds newer than gimp. Rainer
On Jan 17, 2008 7:13 PM, Rainer Müller <raimue@macports.org> wrote:
If the user wants "gimp", he should get gimp. There is no reason to ask the user any questions what he wants to install. In this case, the short description you see by port search does make clear what these port contain. I would go by gimp2, since it sounds newer than gimp.
I'm in violent agreement. I think ambiguity should be avoided. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
On Jan 18, 2008, at 07:30, Tim Lynch wrote:
[/Users/paul]# port list gimp* gimp @2.4 graphics/gimp gimp-app @2.4.0 aqua/gimp-app gimp-gap @2.2.2 graphics/gimp-gap gimp-jp2 @0.1 graphics/gimp-jp2 gimp-lqr-plugin @0.3.0-6 graphics/gimp-lqr- plugin gimp-print @4.2.7 print/gimp-print gimp-user-manual @0.13 graphics/gimp-user- manual gimp2 @2.4.3 graphics/gimp2
You don't think the first two and the last one are ambiguous?
How about: gimp-cmdline gimp-app
Most things installed by MacPorts are for use on the command line, so I would be in favor of avoiding a suffix like "-cmdline".
well, the fact remains that installing the Aqua bits for the Gimp uses all of 196k of disk space: is there any compelling reason *not* to install it by default? [/Applications/MacPorts]# du -sk Gimp.app/ 196 Gimp.app/ Especially when you consider that, deep in the bowels of all that stuff, you find a script[*] that simply runs the command-line app. /Applications/MacPorts/Gimp.app/Contents/Resources/script -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
On 18 Jan 2008, at 16:54, Ryan Schmidt wrote:
On Jan 18, 2008, at 07:30, Tim Lynch wrote:
[/Users/paul]# port list gimp* gimp @2.4 graphics/gimp gimp-app @2.4.0 aqua/gimp-app gimp-gap @2.2.2 graphics/gimp-gap gimp-jp2 @0.1 graphics/gimp-jp2 gimp-lqr-plugin @0.3.0-6 graphics/gimp-lqr- plugin gimp-print @4.2.7 print/gimp-print gimp-user-manual @0.13 graphics/gimp-user- manual gimp2 @2.4.3 graphics/gimp2
You don't think the first two and the last one are ambiguous?
How about: gimp-cmdline gimp-app
Most things installed by MacPorts are for use on the command line, so I would be in favor of avoiding a suffix like "-cmdline".
Should we rename gimp2 to gimp-core (I though about using gimp-x11, but since it can be installed w/o X11 that wouldn't work either) Randall Wood randall.h.wood@alexandriasoftware.com http://shyramblings.blogspot.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
participants (9)
-
David Rowe
-
Jeffrey Thompson
-
paul beard
-
Rainer Müller
-
Randall Wood
-
Ryan Schmidt
-
Scott C. Kennedy
-
Tim Lynch
-
William Davis