Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Making BOINC invisible

Making BOINC invisible
Thread Tools
Warren Pease
Mac Enthusiast
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 29, 2007, 09:06 PM
 
I was wondering how I can make BOINCManager invisible. I have it set to open when I login, and it installs an icon from which I can control and quit it in the menubar. So I figure, I could stand to use more space in my dock.

I remember reading about changing one value that would hide the application from the dock.
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 29, 2007, 09:59 PM
 
In the application's Info.plist, add the key "LSUIElement" with the value "1".
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Warren Pease  (op)
Mac Enthusiast
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 29, 2007, 10:19 PM
 
Hmm. Doesn't seem to be working. Here is the info.plist I edited with Property List Editor.
Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>BOINCManager</string> <key>CFBundleIconFile</key> <string>BOINCMgr.icns</string> <key>CFBundleIdentifier</key> <string>edu.berkeley.boinc</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>BNC!</string> <key>CFBundleVersion</key> <string>5.4.9</string> <key>LSUIElement</key> <integer>0</integer> </dict> </plist>
Should the value be a string, integer, boolean? Are applications cached?
     
Thinine
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Jan 30, 2007, 12:34 AM
 
LSUIElement should be a boolean I believe, not an integer.
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 30, 2007, 12:56 AM
 
According to the documentation, it should be a string.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Warren Pease  (op)
Mac Enthusiast
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 30, 2007, 01:01 AM
 
found:
Runtime Configuration Guidelines: Property List Key Reference

but setting:

Code:
<key>LSUIElement</key> <string>2</string>
doesn't seem to have an effect.
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 30, 2007, 11:13 AM
 
That's because LSUIElement only has one value — "1" — that does anything.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Warren Pease  (op)
Mac Enthusiast
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 30, 2007, 01:08 PM
 
Originally Posted by Chuckit View Post
That's because LSUIElement only has one value — "1" — that does anything.
My eye caught the table for LSUIPresentationMode. Still changing the value to 1 still shows the icon in the dock. Maybe it can't be done?
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 30, 2007, 03:53 PM
 
Changes to the Info.plist don't always take immediately (in fact, they usually don't). Try restarting.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Warren Pease  (op)
Mac Enthusiast
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 31, 2007, 01:08 PM
 
So, I've restarted a couple of times and so far, still no effect. Would the fact that it has a menubar item be forcing it to show in the Dock?
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Feb 3, 2007, 01:58 PM
 
Try moving the application onto your desktop. That should force the LaunchServices cache to refresh.
     
Thinine
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Feb 3, 2007, 05:27 PM
 
I was just about to say that. Moving it anywhere should force the cache to refresh.
     
Warren Pease  (op)
Mac Enthusiast
Join Date: Jan 2007
Status: Offline
Reply With Quote
Feb 6, 2007, 10:45 PM
 
Originally Posted by Mithras View Post
Try moving the application onto your desktop. That should force the LaunchServices cache to refresh.
Bingo! That did it!
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 05:31 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,