mbrunt Posted November 16, 2011 Posted November 16, 2011 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!
dayzd Posted November 16, 2011 Posted November 16, 2011 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!
mbrunt Posted November 16, 2011 Author Posted November 16, 2011 dayzd: you mention a login script, do your users ONLY logon to osx and not windows?
dayzd Posted November 16, 2011 Posted November 16, 2011 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.
mbrunt Posted November 16, 2011 Author Posted November 16, 2011 ahh right i see. how do i do this then ?
dayzd Posted November 16, 2011 Posted November 16, 2011 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now