21 August 2011

Ё-моё! / Where is my Ё?

Как вы поняли, на американском MacBook'е нет буквы "Ё" =)
Чтобы ее добавить я слегка изменил в программе Ukelele существующую русскую раскладку, которую я взял в <ukelele_dir>/System Keyboards/Cyrillic/Russian.keylayout. Итоговую раскладку и иконку к ней можно взять тут:
Скачанные файлы надо кинуть в /Library/Keyboard Layouts и перезагрузить компьютер. После этого откройте System Preferences | Language & Text | Input Sources и добавьте новую раскладку, которая называется "Russian With Yo On Tilda", в набор используемых раскладок.
Всё, наслаждайтесь великим и могучим на полную катушку!

The above is Russian specific problem.The US MacBook's Russian keyboard layout has no letter "Ё" which is loved by my =)
To solve the problem I've used application Ukelele what allows to create custom keyboard layouts. You can download my layout and its icon using the links:
Put downloaded files into /Library/Keyboard Layouts and restart the computer. After it open System Preferences | Language & Text | Input Sources and add new layout named "Russian With Yo On Tilda" to active layouts set and release all the power of Russian! ;)

The AppStore freezes forever during the application installation

I had the following problem: when I click the "Install" button (for any app) in AppStore the AppStore freezes forever. The solution was to enable the Spotlight itself (that was disabled by me in the very first days of using MacBook) and then restart AppStore. If the solution doesn't help, check that primary HDD is not excluded from Spotlight index (check it via System Preferences | Spotlight | Privacy).
Thanks to this article for saving hours in troubleshooting.

15 August 2011

Unresolved: How to enable WiFi channels above 11 on US MacBook Pro

The next (still) unsolved issue for me is how to enable channels 12-13 on my US MacBook Pro (early 2011 model) with Snow Leopard 10.6.8. The problem is because I bought my MacBook in US where the WiFi channels above 11 are banned but now I'm living in Russia where the channels 12 and 13 are allowed and (thanks God not very widely) used. I've googled for several evenings but can't find the solution. Damn it. It's double strange because my US iPad works just fine in Russia so I couldn't imagine the ability of any problems with WiFi on more expensive and mature device like MacBook. I'm still in research.

14 August 2011

How to Reininstall Xcode on Snow Leopard?

I am (mostly happy) Mac OS X 10.6 aka Snow Leopard user. Several days ago I've decided to reinstall Xcode 4.0.1 because the AppStore shows me that the update is available but updating has failed every time with message "You have updates available for other accounts. Bla-bla-bla" (It was my first "Sorry, what?"). Of course, my account is correct and couldn't be "other": I use only one account for a year both for iPad and MacOS. So from my Windows experience I've decided that reinstalling of Xcode will give me the update and solves the problem with "other" account.

The second "Sorry, what?" was when I can't find the "Uninstall" button in AppStore. OK, thanks Google, I got the receipt:
sudo /Developer/Library/uninstall-devtools --mode=all

The program has done its work and I go to AppStore and find that Xcode is still installed. WTF!? I reboot the MacBook but nothing changed. OMG! Let's continue.

Google is my friend. There are a lot of people with the same problem. And so many solutions. One worked for me:
  • sudo rm /var/db/receipts/*Xcode*
  • Remove /Applications/Install Xcode.app completely (Zip it for backup purposes, because due to periodical AppStore problems it can became impossible to download Xcode) and remove the original).
  • Restart the AppStore.
After this I can successfully install the newest Xcode.

UPDATE: Apple team had fixed the problem very well. I've updated Xcode 2 or 3 times more and get no one problem with it. Thank you guys!