Jump to content

Recommended Posts

Posted

Hi all,

 

Good to be back!!

 

I've managed to remove most icons from that status bar at the top of the screen in OSX, however I can't for the life of me figure out how to remove the spotlight icon. There's no need for it as I have spotlight disabled anyway.

 

Many thanks!

Posted

I've disabled the icon by changing the permissions of the executable:

chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search

It's in my login script so it runs as root. If you're running it manually you'll need to sudo it.

 

To re-enable it, run:

chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search

 

Pretty sure it's that that nixes the icon - it comes right after the

mdutil -a -i off

in my login script, which I know for sure is what disables indexing, so that must be it!

Posted

Yeah, our Macs and Windows networks are separate.

 

You can have the macs run their own login script by adding a LoginHook to the machines.

Posted

I've done it from terminal on each machine - you're supposed to be able to do it through Open Directory/WGM but I've never got that working.

 

sudo defaults write com.apple.loginwindow LoginHook /path/to/script.sh
sudo defaults write com.apple.loginwindow LogoutHook /path/to/script.sh

 

They execute as the very first action on login, and last on logout, I believe.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...