image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 14th, 2001, 05:41 AM
aishafenton's Avatar
Most remote member
 
Join Date: May 2001
Location: New Zealand
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
aishafenton is on a distinguished road
Question

Hi,

Does anyone know of a way to hide a running application's dock icon?

For instance.. I like to have Stickies running in the background but I don't want to have it cluttering up my dock..

And on a more general note..
Does anyone else out there think that in OSX there needs to be something equivalent to the Window's (yuk) System tray??

I do like the dock.. but some things I run just don't require that much attention...

Thanks,
Aisha

Reply With Quote
  #2  
Old May 16th, 2001, 05:42 PM
Registered User
 
Join Date: Nov 2000
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
griffman is on a distinguished road
Sort of...

Here's a description of how to do it:

http://www.macosxhints.com/article.p...10420005353216

However, the problem is that this puts the app in background mode, which means you can't type in it -- so Stickies is not a good candidate. But other 'process only' tasks may be...

-rob.
__________________
Visit macosxhints.com ... A community-built "how do I?" site for OS X!
Reply With Quote
  #3  
Old June 14th, 2001, 03:59 AM
tismey's Avatar
Official Bartender
 
Join Date: Jun 2001
Location: Behind the bar, stoopid!
Posts: 559
Thanks: 0
Thanked 0 Times in 0 Posts
tismey is on a distinguished road
Question Re: Sort of...

Quote:
Originally posted by griffman
Here's a description of how to do it:

[url]http://www.macosxhints.com/article.php?
is macosxhints still there? Whenever I try and connect to it nowadays, I just get a time-out error (and this is on many different machines/OSs/Browsers, so it ain't that....)

Anyway, my point is, I've been wondering how to hide a running app's icon for a bit, but can't get to this page to find out how to do it.

Help?
__________________
PB G4 500/256/OSX 10.1.3/9.2.2
Griffin iMic
LaCie Firewire Studiodrive CDRW
PB 1400cs/32/OS 8.5
PB 170/8/OS 7.6
iPod

Droppin' science like a cartoon anvil...
Reply With Quote
  #4  
Old June 16th, 2001, 02:16 AM
aishafenton's Avatar
Most remote member
 
Join Date: May 2001
Location: New Zealand
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
aishafenton is on a distinguished road

This hack does work.. but it still isn't the complete solution. The problem with this hack is that it puts the application into permanent background mode.. meaning that no keystrokes can go to it...

So doing this to Stickies, for example, is a bad idea, since you wouldn't be able to type to it...

Any other ideas anyone???



Quote "www.macosxhints.com" ...

----------
If you'd like to have an application running, but without a dock icon, there's a way achieve this by modifying the application's plist file. Read the rest of this article if you'd like the (fairly simple) instructions.

NOTE: This one goes in the clearly 'experimental' category. I have not tried this myself yet, but the source (the X4U mailing list) is generally good, and it seems to make logical sense. Use at your own risk!!

Open a terminal session, and first navigate to the "Contents" folder of the application you'd like to modify (note - you may want to make a backup of the app first, especially if it's one of the Apple-installed applications). This example uses Key Caps:

cd 'Applications/Utilities/Key Caps.app/Contents/'

Now, edit the Info.plist file:

vi Info.plist

You can use vi, pico, or emacs to do the editing.

Just before the closing Just before the closing </dict> tag, add

<key>NSBGOnly</key>
<string>1</string>

Save the edited Info.plist, then launch Key Caps from the GUI (it's in /Applications). If your edit was successful, you should see the Key Caps window come up, but no icon in the dock.
Reply With Quote
  #5  
Old October 6th, 2001, 08:53 PM
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
prahn is on a distinguished road
Hide App Icon in Dock

Does anybody know how I can hide an icon from an app in the Dock. I always have DropDrawers running. (A great little utility with a nice Aqua interface). I never want it to quit...

What can I do to make the icon in my Dock disappear?
Reply With Quote
  #6  
Old October 6th, 2001, 08:59 PM
Jadey's Avatar
sosumi
 
Join Date: Apr 2001
Location: CANADA
Posts: 771
Thanks: 0
Thanked 0 Times in 0 Posts
Jadey is on a distinguished road
An application has to be written to do this. Some have this feature implemented. Email the author and ask if she will consider adding it in.
Reply With Quote
  #7  
Old October 6th, 2001, 09:35 PM
Iuis's Avatar
Registered User
 
Join Date: Jul 2001
Location: Mexico
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Iuis is on a distinguished road
What can I do to make the icon in my Dock disappear?

I am not sure if I understand your Question..why would you want an icon disappear if you have it always running?
can't you just drag it out of the dock?
Reply With Quote
  #8  
Old October 6th, 2001, 09:49 PM
Darkshadow's Avatar
wandering shadow
 
Join Date: Jul 2001
Location: DE, USA
Posts: 1,532
Thanks: 0
Thanked 0 Times in 0 Posts
Darkshadow is on a distinguished road
If it's a Cocoa app you want to do this to, you're in luck, but if it's a Carbon app you'll have to get the author of it to implement it.

If it's a Cocoa app, navigate to it, control-click (or right click on the mouse if you have a two button one), select 'Show Package Contents' from the pop up menu.

Open up the Contents folder. There will be a file called Info.plist. Open that up in your favorite text editor (NOTE: if you open it up in TextEdit, make sure that it is set to plain text, NOT rich text format).

At the bottom, before the <xmp></dict></xmp> line, add this in:

<xmp><key></xmp>NSUIElement<xmp></key></xmp>
<xmp><string></xmp>1<xmp></string></xmp>

Then save the file, and restart the the app if it's running.

Note that this will also disable the application's menu bar...you won't be able to see that, either.

If you want to set it back to normal, all you have to do is either change the 1 in that second line to 0, or just delete both lines. Restart the app if it's running.
__________________
I am but a lonely shadow,
Doomed forever to roam and wander.
But if you allow me to pause before I must go,
I'll spin you tales of mystery and wonder.


Site: Night Productions
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I tell X to open all files in this app. twister Mac OS X System & Mac Software 3 June 25th, 2003 01:22 PM
forcing a docked app to open a file popey.marin Mac OS X System & Mac Software 1 June 25th, 2001 04:19 AM
Dock in right side of menu bar Piet Keizer Apple News, Rumors & Discussion 26 June 19th, 2001 09:21 AM
Why would someone not upgrade? jdog Apple News, Rumors & Discussion 32 June 6th, 2001 01:31 PM
Dock Suggestions JohnJTanner Apple News, Rumors & Discussion 0 November 8th, 2000 05:31 PM


All times are GMT -5. The time now is 03:50 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.