How To: Force Spotlight on OS X to re-index
From the command line:
sudo mdutil -E /
sudo mdutil -i on /
The amount of time this will take depends on how many files are on your hard drive.
How To: Force Spotlight on OS X to re-index
From the command line:
sudo mdutil -E /
sudo mdutil -i on /
The amount of time this will take depends on how many files are on your hard drive.
How To: Use Equation editor in Office 2008 (for Mac)
Equation Editor in Office 2008 should be installed by a default install of Office. If for some reason it is not, you’ll need to find your Office Disc and reinstall Office 2008 for Macintosh.
To check if Equation Editor is already installed, look in /Applications/Microsoft Office 2008/Office. The Application, Equation Editor, should located there. But you don’t need to launch it from here or you’ll get error messages saying fonts are missing. Equation Editor is meant to be used inside of Word, and other Office applications.
To use Equation Editor, first step is to launch “Word” from your toolbar, or from Applications.
In Word, click on “Insert” in the menu bar, then at the bottom choose “Object.”
Choose “Equation Editor” from the list of Object Types.
Type in the required equation using the buttons at the top of the Equation Editor to get the Mathematical Operations needed.
Once you have your equation, click the red button in the upper left hand corner to close the Equation Editor. This will automatically insert the equation you just entered into the Word document at the cursor location.
Keep in mind this is for MS Office 2008 for Mac only. If you know how to do this in Office 2011 for Mac, please comment below!
How To: Tweak OS X “Spaces”
Spaces is OSX’s cool virtual window program that allows “multiple” desktops to be setup. The thought is that it allows you to group programs together by task and thereby increasing your workflow productivity.
Apple has a great tutorial on how to really maximize it’s usefulness.
But some of us want to tweak it’s usability. For instance to disable the “teleport to another space feature” in terminal (as root)
defaults write com.apple.Dock workspaces-auto-swoosh -bool NO
killall Dock
To switch back:
defaults write com.apple.Dock workspaces-auto-swoosh -bool YES
killall Dock
To remove the animation between spaces:
defaults write com.apple.Dock workspaces-swoosh-animation-off -bool YES
killall Dock
Please comment and add any other tricks you have.
How To: Find OSX Server Serial Number
Here is the command via terminal to find the Serial Number for OS X Server.
sudo /System/Library/ServerSetup/serverserialnumberutil -get
Out put will be the serial number, the name and company that it’s registered too.
This only works on OS X Server 10.6 or higher.
How To: Fix Portable Ubuntu Remix in Windows
The Portable Ubuntu Remix or pubuntu project allows Linux to run INSIDE Windows as a native win32 application. This is not the same as running Linux within a VMWare or Virtual Machine environment.
Recent versions have become much more stable, to the point that it’s now possible to even run Gnome (a typical Linux GUI Desktop). Screenshots can be found on Lifehacker.
Installing Pubuntu is actually pretty easy, just open the downloaded file, click on the application and follow the prompts.
The first thing to do after it’s installed is to change the default user and password. (pubuntu, 123456)
1. Open up a terminal
2. Type: adduser (Replace with the new user name from here down)
3. Enter the password 123456 if prompted for pubuntu’s password and then fill out the information it asks for
4. type: cd (Just to make sure you’re in the right directory)
5. type: cp ./* ..//
6. type: cp ./.* ..//
7. type: cd ../
8. type: chown *
9. type: chown .[^.]*
10. type: chgrp *
11. type: chgrp .[^.]*
12. type: sudo nano /etc/event.d/tty1
13. Find the line near the bottom that says: exec /sbin/mingetty –autologin pubuntu tty1
14. Replace pubuntu with the new name
15. press Ctrl+X, press Y, press ENTER
16. type: sudo nano /etc/init/tty1
17. Repeat steps 13-15
18. type: sudo visudo
19. Find the line that says: root ALL=(ALL) ALL
20. Underneath it, add the following line: ALL=(ALL) ALL
21. Repeat step 15
22. type: reboot
Every once in a while pubuntu’s fstab will get messed up. If it hangs when trying to launch, you need to do this:
1. Look for the pubuntu icon in your task bar, right click it, and click restore
2. In the terminal that pops up, press ESCAPE
3. type: mount -o remount,rw /
4. type: nano /etc/fstab
5. delete the “-e” at the beginning of a line, just after cofsX.
6. Press Ctrl+X, press Y, and press ENTER
7. type: nano /etc/init.d/postmount_pubuntu.sh
8. replace the first like (#! /bin/sh) with #! /bin/bash
9. Press Ctrl+X, press Y, and press ENTER (again)
10. type: reboot