Disable shadow in screen window captures

Leopard has a new unwelcome (for most) feature, a shadow around whole-window screenshots (ie, Command-Shift-4, Space). Fortunately this can be disabled from Terminal with these commands:

defaults write com.apple.screencapture disable-shadow -bool true killall SystemUIServer

To add the shadow effect back in:

defaults delete com.apple.screencapture disable-shadow

killall SystemUIServer
Comments (0)  Permalink

iPhone not remembering WiFi password

Since 2.0.2 there's a frustrating bug the iPhone doesn't remember the WiFi password. But there is a fix for jailbroken iPhones: Connect via ssh to your iphone and enter the following command:
  • chmod 777 -R /private/var/Keychanins/
On the iPhone select Settings -> General -> Reset -> Reset Network Settings

The iPhone will reboot itself and the problem is fixed.
Comments (0)  Permalink

Better way to disable autocorrection

I found it very inefficient to mod your local keyboard files in order to disable auto-correction, because you lose the ability to enable auto-correction quickly. A better way is to mod a language file which you'll never use, like Swedish, which doesn't even have a dictionary. I've modded the Swedish plist file, to match the English strings. How to use it:
  1. Copy this plist file to /System/Library/Frameworks/UIKit.framework
  2. Remove the Swedish dictionary (TextInput_sv.bundle) in /System/Library/Textinput
  3. Enable the Swedish keyboard in Settings -> General -> Keyboard -> International Keyboards
  4. Enable the keyboard for example in a text message, click on the globe icon on the left side untill you see 'None', which actually stands for: No Dictionary
  5. Done! Enjoy faster text input, without losing your local keyboard dictionary.
Comments (1)  Permalink

Stop disk image verification

While this process is a precaution against possibly installing/using corrupt files, sometimes it is completely unnecessary. To stop disk image verification forever, open Terminal and type:

defaults write com.apple.frameworks.diskimages skip-verify TRUE  

If you want verification enabled again, type the same command, replacing the "TRUE" with "FALSE".
Comments (0)  Permalink

Uninstall Cydia from iPhone

So you're running iPhone firmware 2.0.1, having the Cydia package manager installed and you're running SSH. You are also aware of the fact Cydia is slowing down your phone with it's "Base Structure" updates and you want to get rid of it but keeping SSH and still having the possibility to re-install Cydia again ? Here you go:

  • Make sure MobileTerminal is installed, you can find it in the "System" section of Cydia
  • Open Terminal and enter the following commands:

  • su root
    < enter password >
    apt-get remove cydia
    Yes, do as I say!
    killall Springboard

  • Done!
To re-install Cydia, enter install in stead of remove
Comments (7)  Permalink

Disable iPhone backups + context menu option

To skip the backup proces of iPhones running 2.0 (or higher ?) but leaving a backup option in the iPhone contextual menu to manually backup your device, enter the following commands in your terminal after you quit iTunes:

  • defaults write com.apple.iTunes AutomaticDeviceBackupsDisabled -bool true
  • defaults write com.apple.iTunes DeviceBackupsDisabled -bool true

  • To re-enable backups:

  • defaults write com.apple.iTunes DeviceBackupsDisabled -bool false

  • Keep in mind your applications, text messages and your email and calendar stuff aren't backed up anymore,
    but if you use MobileME, and you keep a local copy of your text messages (/var/private/mobile/library/SMS/sms.db), your quiet safe..

Comments (0)  Permalink
1-6/6