+ Post New Thread
Results 1 to 7 of 7
Mac Thread, Remove Spotlight Icon in Technical; Hi all, Good to be back!! I've managed to remove most icons from that status bar at the top of ...
  1. #1

    Join Date
    Jul 2008
    Location
    Merseyside
    Posts
    295
    Thank Post
    16
    Thanked 10 Times in 10 Posts
    Rep Power
    14

    Remove Spotlight Icon

    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!

  2. #2
    dayzd's Avatar
    Join Date
    Nov 2009
    Location
    In front of computer
    Posts
    403
    Thank Post
    74
    Thanked 59 Times in 48 Posts
    Rep Power
    24
    I've disabled the icon by changing the permissions of the executable:
    Code:
    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:
    Code:
    chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
    Pretty sure it's that that nixes the icon - it comes right after the
    Code:
    mdutil -a -i off
    in my login script, which I know for sure is what disables indexing, so that must be it!

  3. #3

    Join Date
    Jul 2008
    Location
    Merseyside
    Posts
    295
    Thank Post
    16
    Thanked 10 Times in 10 Posts
    Rep Power
    14
    dayzd: you mention a login script, do your users ONLY logon to osx and not windows?

  4. #4
    dayzd's Avatar
    Join Date
    Nov 2009
    Location
    In front of computer
    Posts
    403
    Thank Post
    74
    Thanked 59 Times in 48 Posts
    Rep Power
    24
    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.

  5. #5

    Join Date
    Jul 2008
    Location
    Merseyside
    Posts
    295
    Thank Post
    16
    Thanked 10 Times in 10 Posts
    Rep Power
    14
    ahh right i see. how do i do this then ?

  6. #6
    dayzd's Avatar
    Join Date
    Nov 2009
    Location
    In front of computer
    Posts
    403
    Thank Post
    74
    Thanked 59 Times in 48 Posts
    Rep Power
    24
    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.

    Code:
    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.

  7. #7

    Join Date
    Jul 2008
    Location
    Merseyside
    Posts
    295
    Thank Post
    16
    Thanked 10 Times in 10 Posts
    Rep Power
    14
    ok thanks, ill take a look!

SHARE:
+ Post New Thread

Similar Threads

  1. Remove Network Icon From Computer
    By FN-GM in forum Windows 7
    Replies: 13
    Last Post: 16th June 2011, 12:06 PM
  2. zenworks application launcher - remove an icon
    By LCPSWolf in forum Netware
    Replies: 2
    Last Post: 8th August 2008, 12:14 PM
  3. Remove NOD32 tray icon
    By cookie_monster in forum Windows
    Replies: 6
    Last Post: 17th June 2008, 03:03 PM
  4. Remove Print Icon
    By sqdge in forum Windows
    Replies: 5
    Last Post: 12th October 2007, 02:12 PM
  5. Removing Tray Icons for all users
    By sLiDeR in forum Windows
    Replies: 5
    Last Post: 1st August 2007, 12:03 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •