Wednesday, November 24, 2010

fix spotlight crash hackintosh

I have a perfect hackintosh with GA-EP-43 board and intel core2 8400 except spotlight crash whenever try to input more three letters (or number or any other something). I had almost given up to fix it since it took more months and there was no any tip on the internet. by chance I searched a Chinese forum and here comes a tip:
jeremy xu

Posts: 1
Registered: Jun 21, 2010

Re: spotlight crash after update to 10.6.4
Posted: Jun 21, 2010 9:25 AM in response to: Jorge Gustavo G...


i have the same problem, then i copy all dictionaries in "/Library/Dictionaries" from 10.5.8 to 10.6.4 , the problem disappeared. sorry for my poor English!

I don't have 10.5.8. But I open " /Library/dictionaries" and move all (three files) out off that dictory. Aha, no more crash!!!!. I then test by copy the dictionary file back, one by one, and no crash!!!. this is really strange. Good thing is no more crash!!!

Tuesday, November 16, 2010

How can root forcefully logout a user in linux?

Use the who command to see list of logged in users and
sudo pkill -KILL -u username
to log out use

Monday, November 15, 2010

geant4 installation on Linux

I got so many troubles in trying install Geant4 on Linux (Ubuntu, CentOs, Federo....). Everytime I got Geant4 initial installation errors.

Now no any error by install the following packages before Geant4:
•libX11-dev
•g++
•libxft-dev
•libxpm-dev
•libxt-dev
•freeglut3
•freeglut3-dev
•libglut3
•libglut3-dev
•libmotif3
•libmotif-dev
•x11proto-print-dev
•libxaw7-dev
•libmudflap0
•libmudflap0-dev
•po-debconf
•intltool-debian
•subversion
•libusb-dev
•libboost-dev
•libmysql++-dev
•autoconf
•automake
•libtool

• libc6-dev-i386
•graphviz and graphviz-dev for GraphViz software
•libcxx
•libxerces28
•libxerces28-dev
•cppunit-dev


this list is from http://www.scribd.com/doc/17465713/Set-Up-Root-and-Geant4-On-Ubuntu
byJessica Chiang