i don't
quite know

.com

Macs, Movies, Games, Books, etc. The Rants of a Mad Man.

Archives Posts

OS X Lion arrived; here’s how to fix it

July 21st, 2011 by Raj

Love it or hate it OS X Lion (10.7) arrived today and it doesn’t take long for you to notice (and loathe) many of the more subtle changes Apple have made in their infinite user interface (UI) wisdom. Fortunately a lot of the changes, which I personally find not to my taste, are quite easily fixed.

The issues & fixes:


“Natural scrolling” and how to disable it
Mimicking Apple’s iOS devices Lion implements a “natural” scroll direction, you would have noticed it as soon as you tried to read or do pretty much anything on your now Lion based machine. What it means is that when you scroll your mouse down the page moves up, which goes against any conventional mouse usage since its inception. In the words of Leo Laporte: “So. You spend 27 years teaching people how to scroll. Then you turn it upside down just for fun. I think Steve is laughing at us.”

How to fix it:
Jump in to System Preferences and select “Mouse”
On the first tab (“Point & Click”) the first option is “Scroll direction: natural”. Simply un-tick this.


Large font/icons in the Finder sidebar & Mail folder list
This one jumps out at you pretty quickly, everything, everywhere just looks BIGGER!

How to fix it:
Jump in to the “General” System Preference and look for the item “Sidebar icon size” seen below


Finder status bar missing
Are your Finder windows looking particularly thin? Missing some information about how many files/folders you have in the place you’re looking or perhaps a total file size for that folder? Well that’s because Apple have turned off the status bar leaving your Finder windows borderless on the bottom.

How to fix it:
Really simple this one. You can press Command + / on your keyboard or jump up to “View” > “Show Status Bar”


Startup disk missing from Finder sidebar
First of all the “Devices” section has been moved to the bottom of the sidebar, sorry no way to fix that one, but more concerning is that your startup disk has been removed from the list meaning the Finder is really only giving you quick links to your home folder. Sure there’s an icon on the desktop for your hard drive but that’s pretty lame if I have to go there to access it every time!

How to fix it:
Jump in to Finder’s preferences (either through the menu Finder > Preferences or by pressing Command + ,) and click on the “Sidebar” icon in the toolbar. Here you’ll see a list of items you can turn on & off in your toolbar. Down the bottom you can enable “Hard disks” if it is missing. If you have a “-” in the box next to it that means that it’s only displaying some of your hard disks in the sidebar, keep clicking it until it changes to a tick to get them all.


Library folder in home folder missing
The Library folder holds some very important information on how your applications will run and their settings. It’s also a commonly used folder by people who know what they’re doing to free up hard drive space, clean out old preference files for long deleted apps, fonts and much, much more. Apple have hidden the Library folder that’s in your home folder as (at a guess) a way of stopping people screwing up their application and OS installs. A fair move but for many they’ll want it back!

How to fix it:
This one’s a really simple one but it’s going to involve a little Terminal action. Pop open Terminal (Applications > Utilities) and paste in the following line:
chflags nohidden ~/Library/


Auto correct while typing
Further blurring the lines between desktop and mobile (iOS) experiences Lion introduces the popup predictive text box you’ve become acustom to writing all those text messages. Annoyingly it also enables the “auto correct” feature meaning that even if you type a word that you know is the one you want Lion goes ahead and places what it thinks in. As a programmer you most definitely do NOT want this function on I assure you.

How to fix it:
Another one squirrelled away in System Preferences. Open the “Language & Text” System Preference pane and select the “Text” tab.
Deselect the “Correct spelling automatically” option and I’ve found I needed to restart all the apps I had open or reboot to be sure.

Filed under Mac, Tech having 8 Comments »

Archives Posts

My first Cocoa adventure: The Huawei E169 Monitor

December 20th, 2009 by Raj

E169Monitor

Having moved in to a new place a few months ago I was once again greeted with the issue of not having an internet connection until the powers that be connected the relevant wires and flicked their respective switches. This; an all far too familiar occurrence I’ve had dealt with in a timely fashion in times gone by (it helped when you worked for a telco) would this time blow out to well over a month to which point relying on my iPhone would not cut it. Coming to my rescue a good friend (thank you Gavlar) bestowed upon me a USB wireless internet dongle that would suffice my addiction until normality was restored with some ADSL.

Armed with an Optus flashed Huawei E169 I was quick to find that at the time there was no software around that was compatible with the relevantly new Mac OS X – Snow Leopard (10.6.x). The solution was to set up the device as you would any other modem and install some lovely modem scripts and what not from Huawei’s website, this got you online but I then found my next problem, reception! It seemed that the Optus network had a little difficulty in particular areas of my CBD apartment and not having an real software to report things like signal strength and data network I spent a good amount of time walking around my place laptop in hands “guessing” that the reception was actually best 1m to the left of my kitchen stove at ground level laying on the floor.

As you can imagine I quickly got sick of that game and thusly decided I’d take a look at just how complicated it was to find out the signal strength was directly from the device. A few googles later and I’d opened a connection directly to the serial device through the terminal and was now actively seeing what I was after albeit in a rather nerdy fashion. Coincidently at the same time as this I was ploughing through Aaron Hillegass’ 3rd edition of “Cocoa Programming for Mac OS X” and thought to myself “Hey, why not create a program to scrape this nerdy jargon and present it visually.” and that’s exactly what I did.

So here you’ll find a little program I like to call the E169 Monitor, because that’s pretty much what it does, monitor your E169′s data connection reporting back on things like signal strength and network connection type (WCDMA, HSDPA, etc) as well as giving you a couple of buttons to connect and disconnect.

Credit where credit is due; a lot of the code in here would not have been possible had it not been for the wonderful AMSerialPort project that makes connecting and reading from serial (USB) connections so much easier than the standard Cocoa libraries and to make the whole connect/disconnect functionality work (and I’m still not sure I understand) I’ve borrowed heavily from the source of the now defunct CheetahWatch, a program which essentially did everything I’ve done and more back in the days of the E220 and OS X 10.4. I really wish this project was picked up again and nurtured because it is a really fantastic effort, if I actually owned one of these wireless cards I think I’d even try an revive it myself, even with my rather fledgling cocoa skills.

Rambling and thanks aside a link to my Xcode project is available here & below. Do with it as you will but please be aware that I’m offering no support, this is all just a learning experience for me that I thought others may find useful. I’ve only tested this code on my own machine, an Intel based MBP running 10.6.2. I hope you can get some use out of it, I had fun doing it and throwing back to the days I used to have to manually enter AT commands to dial the local BBS.

Download my E169 Monitor Xcode Project files. (3.1MB)

Useful Resources: AMSerialPort Project, CheetahWatch application

Filed under Mac having 1 Comment »

Archives Posts

Snow Leopard Box Art = Crapola

September 9th, 2009 by Raj

snowleopardBoxArt

Call me crazy but I absolutely despise the artwork that’s on Apple’s latest Mac OS X release. I mean come on, seriously, did Apple fire all of their graphic designers as a part of brew-ha-ha around the Global Financial Crisis or did someone decide they could just phone-it-in one day whilst the overseeing lord El-Jobso was away sick leaving Tim Cook & Phil Schiller dropped the approval ball?! I have never been so appalled by Apple’s efforts in an area that has always set them apart!
It would appear I’m not the only one with a grudge to bear as the folks over at Gizmodo are even running a contest on who can design something less shitty!

As for Snow Leopard itself, it’s had its problems, but overall I’m quite happy with how things are chugging along. But still, it’s no excuse for that google image, stock-photo, clip-art, crapola of a picture that adorns the box. Pull up your socks Apple!

Filed under Mac having 4 Comments »

Archives Posts

A Hard Drive & A Time Machine

July 7th, 2009 by Raj

timemachineUnfortunately it’s been a while since I’ve had a chance to do anything particularly nerdy let alone blog about it, thankfully for my adorning masses I’ve chosen to make my “back-in-the-saddle” return with a jump straight in to the deep end. That and quietly going for the record of how many cliche metaphors one can use in the same sentence.

You see just this week gone by I found myself in the unusual position of nerd boredom. I hadn’t done anything really “hands-dirty-nerdy” and my little girly hands were an itch with possibilities. The new Apple Macbook Pro’s had just been released for starters and it took all my will power to not just dash out and buy one for example but I was blessed (or smote) by the good lords of geek with the ghastly sound of a hard drive platter scraping from inside my Macbook Pro’s Aluminium enclosure. Again, scrounging every last fiber of restraint to not run out and buy a new laptop I decided to take the high road and upgrade the hard drive and keep my existing rig, both satisfying my need for nerd and keeping my costs at a 20th of the cost.

Normally, had I opted to purchase a new machine, I start from scratch, reinstalling everything, copying over Mail Libraries, Photos, etc manually and giving myself a fresh start, but as I was only giving the old girl a new ticker I thought I’d do a straight copy restoring my file hierarchy to its full glory via the use of my Time Machine backups. A trick of the Mac trade I’ve yet to make use of.

The hard drive install was as straight forward as can be, a few screws here a torque screwdriver there and Bob’s your Grandfather’s Nephew she was humming to the new tune of a 500GB 7200rpm drive. The next and what i’d also envisaged to be the more lengthy portion of the process of the restoration process then began.

Mac OS X install DVD whirring away in the drive, we arrived at the “Migration Assistant” portion of the install offering the option of “Restoring from a Time Machine backup”. Excellent, that’s exactly what I’d like to do thanks. A click or two later I had a screen asking me what user accounts and applications I’d like to restore, selecting them all and clicking Next I began the two hour wait for the copying process to complete. One movie length break later I returned to see that the progress bar and status text had indeed indicated that everything was all tikity-boo but I was unable to continue on to the next step. I thought I’d just let it whir away for a while, sometimes these progress bars are less than accurate (at a stretch) and I figured it’d all be over soon enough. Two episodes of Deadwood later and there was still no movement to which I threw it in and restarted the `puter myself. Everything booted up fine, even had my user account there for me to log in to but that was about the end of the good news. A Dock riddled with question marks and no mail to be found it looked like the only things that had actually been copied successfully was my Network System Preferences, connecting to my Wi-Fi as soon as it logged in. Balls.

By this time it was about 10pm and I couldn’t be ferked sitting there doing a manual copy so I thought, “You know what Time Machine/Migration Assistant Restore Process, I’m going to give you one more crack of the whip. Balls this up again and the engagement is off!!” So after reformatting and going through the OS X install process again to begin the restoration it was about midnight and I left it all to whizz away as I dreamt of ponies and unicorns battling to death in the Roman Colosseum; as you do.

Waking the next morn to find a beautiful dew adorning my bedroom windows there was a smell of success in the air. Perhaps it was the restoration had worked and I was about to be full of glee, yet again it could’ve been the new air freshener I’d purchased the day before permeating its aroma through out the house? Fortunately for my sanity and the now back on again wedding between myself and Apple technology it was the former and there before me stood the exact same desktop as a day before, same wallpaper, same icons, same file system, same launch items on login, had Time Machine fulfilled its end of the bargain to my wildest dreams?! It would appear so!

Everything appeared to be exactly where I’d left it prior to the transplant. Wrapped! No idea exactly how long it took to complete having let it go whilst asleep but we can safely say it was over two hours (120Gb of data to copy via USB2) and less than twelve (I slept in!) But really, who cares, IT’S ALIVE!!!

Now all of that was a few days ago… and while everything seemed perfect from the casual observers point of view, it would seem that deep down in the bowels of a file system that I roll with there have been a few “issues”, allow me to list them for you now…

  • Pretty much anything out of the normal “Mac” root folders gets missed. For instance my SVN repository in /svn hasn’t been backed up or restored.
  • Similarly all of the stupid OS X apache example files are back in /Library/WebServer/Documents and my /etc/httpd.conf file has been overwritten
  • Aperture wouldn’t launch, my photos were fine but I had to reinstall the application
  • I had to do OS X updates all over again from 10.5.2 (Which was on the discs that came with the Mac)
  • My Nortel/Apani VPN software had to be reinstalled and didn’t work at all to begin with

All in all, a very small price to pay, and not a lot of work to get things back to normal considering all of my preferences, my mail, calendars, contacts, images, movies, music, applications were back and working. So I guess the question is whether or not I’d use this method the next time or not. Well, yes I would, but if it was a new Mac I was about to obtain I’d most likely stick to my tried and true method of a fresh install & manual copy. Why? Well, I come from an old school and tend to “clutter” a machine over time, an issue your average ham sandwich [person] is unlikely to have.

So go forth, propagate your Mac’s hard drive Guy Pearce style and feel safe about doing so, the process actually works.

Filed under Mac, Tech having 1 Comment »