Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

reddevil0728

macrumors regular
Original poster
Jun 19, 2010
246
33
H8GfG.jpg


Can someone advise what is the cause of this and how to get rid of it?

Clicking either one will do the same thing.
 

Feed Me

macrumors 6502a
Jan 7, 2012
831
6
Location Location
I had this. You need to rebuild the LaunchServices cache.

Open terminal, and paste the following in:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\
LaunchServices.framework/Versions/A/Support/lsregister -kill\
-r -domain local -domain system -domain user

EDIT: the above command doesn't work, see below for working version.
 
Last edited:

reddevil0728

macrumors regular
Original poster
Jun 19, 2010
246
33
I had this. You need to rebuild the LaunchServices cache.

Open terminal, and paste the following in:

This is wat i get

Last login: Sat Sep 1 19:35:18 on console
reddevil0728-MacBook-Pro:~ reddevil0728$ /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\
> LaunchServices.framework/Versions/A/Support/lsregister -kill\
> -r -domain local -domain system -domain user
lsregister: [OPTIONS] [ <path>... ]
[ -apps <domain>[,domain]... ]
[ -libs <domain>[,domain]... ]
[ -all <domain>[,domain]... ]

Paths are searched for applications to register with the Launch Service database.
Valid domains are "system", "local", "network" and "user". Domains can also
be specified using only the first letter.

-kill Reset the Launch Services database before doing anything else
-seed If database isn't seeded, scan default locations for applications and libraries to register
-lint Print information about plist errors while registering bundles
-convert Register apps found in older LS database files
-lazy n Sleep for n seconds before registering/scanning
-r Recursive directory scan, do not recurse into packages or invisible directories
-R Recursive directory scan, descending into packages and invisible directories
-f force-update registration even if mod date is unchanged
-u unregister instead of register
-v Display progress information
-dump Display full database contents after registration
-h Display this help
reddevil0728-MacBook-Pro:~ reddevil0728$
 

reddevil0728

macrumors regular
Original poster
Jun 19, 2010
246
33
whoops, sorry, try this:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

it works!

cheers mate!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.