PDA

View Full Version : [How To]hide an app from the dock



Orbit
September 15th, 2003, 11:33 PM
to do this and make it so its like a background app just add <key>NSUIElement</key>
<string>1</string>

into the plist file of that application
good for hiding msn at skool from teachers :p

symphonix
September 16th, 2003, 12:10 AM
Ooooh, great hack! :)

Orbit
September 16th, 2003, 01:04 AM
just found it at resexcellence in about rb

AppMan
September 19th, 2003, 07:57 AM
sweet

Orbit
September 19th, 2003, 02:35 PM
if the application dosent have a plist then open it up in a res editor and look for plist and modify it in there

cybiko123
September 26th, 2003, 09:46 AM
Great idea!

Orbit
September 26th, 2003, 02:47 PM
thaks yes it is very usefull aye

kanecorp
October 9th, 2003, 04:56 PM
Panther has this by default

Zammy-Sam
October 9th, 2003, 05:43 PM
Really? Where and how?

kanecorp
October 9th, 2003, 05:46 PM
Originally posted by Zammy-Sam
Really? Where and how?

i'm sorry i misread this fourm

g/re/p
October 9th, 2003, 09:13 PM
Originally posted by Wise_Monk
to do this and make it so its like a background app just add <key>NSUIElement</key>
<string>1</string>

into the plist file of that application
good for hiding msn at skool from teachers :p





dude, it will STILL show up in process veiwer or when using ps aux in terminal -
i though of both of them the second i read your post, and i'm not even a teacher! lol

Arden
October 9th, 2003, 09:34 PM
Yes, if you do this and a teacher looks at the processes you're running, they will show up. But for simple glances at the screen, such applications will appear not to be running. Windows can't do that, as far as I know.

Zammy-Sam
October 10th, 2003, 03:11 AM
I just tried this on launchbar. Didn't work to me. I searched for the file in home/Library/Preferences and added the line SOMEWHERE but nada. Where do I have to add this line exactly?

Zammy-Sam
October 10th, 2003, 03:12 AM
Oh, I should add:
does it work with panther too? Am running panther 7b74 here...

Arden
October 10th, 2003, 03:50 AM
In the info.plist file, add it right before the
</dict> tag, and make sure you put it on two lines, indented like the rest of them.

And I don't see why it wouldn't work with Panther, it uses the same package contents for applications... in other words, the application's contents don't change just because you're in Panther.

Zammy-Sam
October 10th, 2003, 04:24 AM
Doesn't work...

this is my line:
...
<string>YES</string>
<key>ShowWelcomePage</key>
<false/>
<key>NSUIElement</key>
<string>1</string>
</dict>
</plist>

I restarted the app, but it's still there... :(

Arden
October 10th, 2003, 05:20 AM
Log out and log back in. If it doesn't work, change the 1 to a 0 and try again.

Zammy-Sam
October 10th, 2003, 06:39 AM
tnx, arden, but it doesn't want to hide. Tried changing 0 and 1... nada.. Could it be I am taking the wrong plist-file? It's actually the only one after searching for launchbar.
Did you or anyone else hide launchbar successfully? I don't need that icon there and it's running on startup...

Arden
October 10th, 2003, 06:56 AM
Are you doing it correctly? It should be info.plist within the application package.

Zammy-Sam
October 10th, 2003, 07:20 AM
:D
arden, you gotta kill me! ;)
I didn't check the prog-content, but searched for all launchbar files in the finder. I was editting this file: at.obdev.LaunchBar.plist
:D
And now it's working... sorry for bothering ;)

Orbit
October 10th, 2003, 03:51 PM
so is there a way to hide things from the procces viewer?

Arden
October 10th, 2003, 10:21 PM
Sam: LOL, yeah, that helps.

Monk: Sure there is. It's called the Quit command.

joshr
October 10th, 2006, 11:48 PM
i want to do this to the finder - is that possible? when i try adding this key/value to com.apple.finder.plist nothing happens.

reason i ask is this thread: http://macosx.com/forums/showthread.php?t=38250

dnk
November 26th, 2006, 04:01 PM
i want to do this to the finder - is that possible?

If don't use Finder you can quit it. Open Terminal and type
defaults write com.apple.finder QuitMenuItem -bool yes
Logout/login and you will be able to quit Finder.