Saturday, January 12, 2013

Restarts quickly but slow to start from cold boot

I've said it before, my G74Sx is a great laptop. But every now and then something unexpected happens. This time, I decided to upgrade my hard drives to Seagate Momentus XT 750 GB Hybrid Disk Drives. I wanted these drives because each as an 8 GB Solid State NAND based storage and a proprietary algorithm that determines what files you use the most and places those files in NAND storage rather than magnetic. The net effect is that your favorite programs start up and run much faster. There was also another bonus in that the Operating System drive would memorize OS files as well allowing for faster boot times.

The problem:
Once installed and the old drives cloned to the new drives, I noticed that my cold boot times were very long, well over a minute was spent on a black screen just after the Windows Logo screen and prior to the Login screen. However, a restart was quick and snappy, bringing me to my desktop (after taking the time to enter my password) in under 25 seconds, probably less if I was carefully timing it.

For convenience, I posted my system specs below:


System
Manufacturer ASUSTeK Computer Inc.
Model G74Sx
Total amount of system memory 12.0 GB RAM
System type 64-bit operating system
Number of processor cores 4
Storage
Total size of hard disk(s) 1372 GB
Disk partition (C:) 328 GB Free (674 GB Total)
Disk partition (D:) 595 GB Free (699 GB Total)
Media drive (E:) CD/DVD
Media drive (F:) CD/DVD
Media drive (H:) CD/DVD
Graphics
Display adapter type NVIDIA GeForce GTX 560M
Total available graphics memory 8948 MB
Dedicated graphics memory 3072 MB
Dedicated system memory 0 MB
Shared system memory 5876 MB
Display adapter driver version 9.18.13.479
Primary monitor resolution 1920x1080
DirectX version DirectX 10
Network
Network Adapter Atheros AR9002WB-1NG Wireless Network Adapter
Network Adapter Realtek PCIe GBE Family Controller
Network Adapter VirtualBox Bridged Networking Driver Miniport
Network Adapter VirtualBox Bridged Networking Driver Miniport
Network Adapter VirtualBox Host-Only Ethernet Adapter

Naturally, I scoured the internet for a resolution, but none could be found. I read  through forums, blogs, manufacturers' web sites, etc. Everything was mentioned from reinstalling the OS, the drives were defective, don't clone the drives, turn off everything you don't need, update drivers, and so on. In some cases, the advice (update drivers) rendered my system unbootable and unrepairable and I had to reimage the drive.

I knew one thing for sure, restarts were faster than cold boots. Why?

This led me to use msconfig.exe to set the boot log and start comparing what was loaded for a cold boot versus a restart. Checking the box for Boot Log creates a log file called ntbtlog.txt in the C:\Windows directory. Since the file doesn't always exist, I removed the existing one and let it create a new one for a cold boot, then moved that file to the desktop and renamed it. Then I did a restart and copied that file afterwards.



This is what I found:




It might be hard to see, but this is a program I like to use for just such things. It's called Notepad++ and my favorite aspect of this program is the ability to compare two documents and point out the changes. In this case, on the far right you see that most everything is Blue, indicating that it all matches. What you are looking for are the lines of different color which I'm showing above. Here there is one new line in green with a '+' next to it. In both panes is a line with up and down arrows, indicating that the line exists in both documents, but in different order. The green line is the important one as that is the ONLY line that is different between a cold boot and a restart.

This line reads:

Loaded driver \SystemRoot\System32\Drivers\RtsUVStor.sys

Again, I thought the internet could help me with this file, but alas, Google kept suggesting a different file name as none like this could be found. At least, nothing with any significance. There were a number of websites where others had posted their log files with no particular emphasis on that one file.

So, without any additional guidance and knowing only that this one file was different and apparently not required for a restart, I saved a backup of the file on my desktop and removed it from the Drivers folder.

Voila! Now my cold boot is as quick as my restart. Now, I have no idea what that file does, but since a restart didn't need it, neither do I. :-)

So, for anyone else having issues with cold boot being much much longer than a restart, use the log file to help you see the difference, check with the internet as to what those files are and if they are needed. Remember, you are always taking a risk by listening to what others say and I know that removing this file could have rendered my system useless, again. I wasn't concerned this time because I had a full backup, but you should always do the same before removing system files. Of course, you should be fairly comfortable with restoring and repairing Windows in the event of a failure. You can expect that I must issue the disclaimer that I cannot be held responsible for any damage or loss of data caused by advice I've provided that you wish to follow.



For anyone that needs to know about changing out hard drives, there's many sites to explain how to do it. I used two pieces of software to make my life easier. They are both produced by the same company and both completely free for non-commercial use.

EaseUS Disk Copy Freeware
EaseUS Partition Master

The first utility allows for the cloning of drives. I used it to make a bootable flash drive which is necessary to clone the C: drive. Once cloned and the new drives installed, I used the second to resize the partitions because the clone is an exact copy and I wanted to use the remaining disk space for my two drives. It's that simple!

[UPDATE] I discovered the purpose of that file I removed and, most importantly, why booting is so slow with it. RtsUVStor.sys is the Realtek USB 2.0 Media Card Reader Driver. I happened to notice that in Device Manager it was no longer functioning. So, I uninstalled it, scanned for new hardware, and when it reinstalled the hardware the RtsUVStor.sys file was restored. So, I left it there and rebooted. Once again, everything was very slow to start. However, since I knew that I had an empty Micro SD adapter card in that slot, I removed the card and shut down again. Upon start up, no problem, fast as ever. It seems that it was trying to mount and read the card before launching into Windows. In any case, I can leave things as they used to be and just remember not to keep the card in the slot. 

Saturday, December 22, 2012

[SOLVED] Unfortunately, Clock has stopped

This solution was published on the hajma blog. Pavel Heimlich deserves full credit here, but I am reposting it for convenience as it was an extremely simple fix for my Galaxy S2 running Cyanogenmod 10. Incidentally, the reason I had an error was that I lost my data connection due to some update and didn't have a recent backup, so I had to go back to a stock install of the OS. When I was restoring programs with Titanium Backup I noticed that, for some reason, Clock was not installed, so I installed it too. Then I got the above error. I use my phone as an alarm and really needed this back, hence the search for the procedure I've posted below.

When I upgraded my xperia ray from CM7 to CM9(FXP128), I was greeted by the message 'Unfortunately, Clock has stopped' whenever the phone started and anytime I touched the Clock widget. Apart from being annoying it meant I couldn't set my alarms so this became a priority one issue :-)

I opened the Terminal Emulator and typed:


$ su 
# logcat

Then I held 'Volume down' (a.k.a. Ctrl) and 'c' to stop the output. I scrolled a bit up in the output and found a line that said:

E/SQLiteOpenHelper( 5231): Couldn't open alarms.db for writing (will try read-only): E/SQLiteOpenHelper( 5231): android.database.sqlite.SQLiteException: Can't downgrade database from version 7 to 5

OK, so this is where it's breaking. I wasn't really interested in finding out what should the proper combination of ownership/permissions for the file as I didn't really trust it would end just here, downgrading database version offers a range of situations that can go wrong. And since I don't really care for my past alarm clock times, I got rid of the old database:

# cd /data/data/com.android.deskclock/databases 
# mv alarms.db alarms.db.bak 

Problem solved.


Thanks Pavel!

Thursday, March 29, 2012

Workaround for Finger Sensing Pad on ASUS laptops

History:

I love my ASUS G74Sx laptop, it rocks in so many ways, except... The godawful, horrible, annoying, PITA trackpad.

Let me explain for those who are not yet plagued with the nasty bit of software attached to this otherwise decent hardware. It is my understanding that the Sentelic Finger Sensing Pad is actually very similar to the ones found on Mac laptops and are in fact made by the same company. However, the software to drive them is entirely different. The Mac software is impeccable, smooth scrolling in all directions, almost no lag, perfect execution of acceleration and speed, etc. The Windows software is laggy, inconsistent, and buggy. Most of the time, I use an external mouse with my laptop. I expect the system to disable the trackpad when an external mouse is plugged in, but it doesn't keep that setting for long. The trackpad is very sensitive to the point where a slight touch activates it. Where this becomes a problem is that I'll be happy-go-luckily typing away on my blog, letter, or essay when all of the sudden the trackpad wakes up and moves my cursor to a whole different part of the document. I type faster than my eyes can see (or my brain registers, not sure which) such that it takes a few words before I realize what happened. Then I get mad, I end up deleting some very important text. In any case, this is unacceptable. I've checked to see that the Fn+f9 option to disable the trackpad was still on, and it was. The system tray indicates the trackpad should not be working, but there it is, in all its glory, taking over my mouse movements. Not to mention, there isn't a disable option in device manager. I've scoured the internet for better drivers and software to no avail.

At one point, I thought it might be related to my existing USB mouse. I decided to use a different mouse and thought for a moment that the problem went away, but it just took a random amount of time to show up.

So, what can I do?

If you don't want to bother with reading all the stupid problems I discovered along the way to a resolution, then just click here to go to the solution to this problem. However, it would benefit anyone to read the rest just to learn how Logitech, Windows, and ASUS all work (or rather, don't work) together to create a seemingly impossible problem.

Things to consider:

One thing I had to consider is what happens when I move my laptop and disconnect the external mouse. Sure, I could uninstall the trackpad and reinstall it before moving my computer to a location where I would need the trackpad, then uninstall it when done. That seems like a hassle to me, and I don't want to keep going to device manager to do this either. Plus, the install requires a reboot to work, apparently.

Another weird thing is that the trackpad is treated like a PS/2 mouse rather than a USB mouse. I find this to be very odd, I thought everything was USB these days, including internal mice and keyboards.

I decided to revert to a simple PS/2 mouse driver instead, but the option to disable never showed up. I'm guessing it's because the system doesn't truly allow one to disable a PS/2 device and I believe this to be a BIOS setting since the OS in no way controls or assigns IRQs.

Worse still, Windows will not simply allow me to uninstall the device without a reboot.

Back in the early days of A+ I recall that some computers had APIC (advanced programmable interrupt controller) support. That is, the OS could control IRQ settings. This had to be enabled in the BIOS as to whether the BIOS handled hardware IRQ assignments with or without the option for the OS to change them. On a laptop, it makes little sense for BIOS to give this option to the OS since there is no room for changes. However, we can see that my dilemma requires that I do have this functionality.


An attempted resolution:

Since I've done all this evaluation, I thought it meant that I could purchase one of the new wireless trackball mice with the really small USB receiver. With this, I could simply disable the trackpad in the BIOS and use the wireless mouse all the time.

However, I discovered a new and even more shocking outcome. When I reboot my computer with the trackpad disabled, my keyboard is also disabled. That's right, I have to use the onscreen keyboard just to log in. At first I wasn't sure why this happened and so I reverted back to the way things were previously by re-enabling the trackpad in the BIOS, and then the keyboard worked.

I'm not sure who is at fault here, the BIOS or Logitech? I think it is a combination in that disabling the trackpad might also disable the keyboard, although it didn't do this with my other USB mouse. I noticed when I installed the new mouse that it also installed a keyboard driver, and when I booted into the system with the trackpad and keyboard now disabled, there was only the driver for the non-existent Logitech keyboard. My thought here is that Windows can use multiple mice, but only wants one active keyboard. Since it thinks that there is one based on the new mouse and some BIOS setting, it doesn't see the built in keyboard any longer. With the trackpad enabled, there must be some change in the BIOS in assigning the IRQ so that Windows does not ignore the built in keyboard. I am only guessing at all of this, but it's all really annoying.

I also thought I might have found a workaround. I thought, "what if I uninstall the trackpad, it will disable it until the next boot?" So I tried this. Unfortunately, it doesn't disable it, Windows used a generic PS/2 mouse driver instead, without the option to disable it with the external mouse, thus making this even more annoying, not better.


The Solution!

I thought all was lost and I had one more idea. Why it took me so long to think of this, I can't imagine. Couldn't I just force Windows to use a fake driver? I started looking around the 'net for a fake driver when it dawned on me that I can use any unsupported driver already in Windows. So, I updated the driver to one I selected from a list, I made sure to uncheck the show compatible drivers and selected a generic Logitech Serial mouse.




I rebooted just to make sure it would stay that way, now I don't have any issues, the trackpad doesn't work any more. Eureeka! I only worked on this resolution for a week, it's no big thing ;-)


A request was made to break this down a bit more for the less tech savvy, so I will attempt to do that.

To get to the above screen, go to Start >  Control Panel > Device Manager. You'll have a list similar to the following:



From here look for "Mice and other pointing devices" where you will see "Finger Sensing Pad". Right click on this and go to Properties, then select update driver.



From here, click the button that says to "Let me pick..." and it will pop up a new screen. On this screen you have to uncheck the box that says "Show compatible hardware" and you'll see the following: 


At this point, it's easy, just pick the same manufacturer as I did in my original screenshot and then pick the same model I did and now you have a completely useless trackpad :-)



Wednesday, March 28, 2012

There are no good streaming options and here's why...

Netflix:

In the last 3 or 4 weeks, Netflix's selection has drastically changed. Of course, we all know that they lost Starz. But did you know they lost Sony as well? Look for almost any movie and you won't find it. Sure, they have a lot of old movies and random foreign films, as well as their own selection of movies created by Netflix. I don't care about any of that. I want to watch a blockbuster film. Not only that, but I also dislike how long it takes them to add a season of a show. Hulu has the latest episodes of all the shows I want to watch, as does iTunes. There are problems with those as well, which I will address later. The fact is, I'm beginning to feel like Netflix just isn't worth it. Although, at $7.99/month who can really argue. As we'll see, there are no better options.


Hulu:

Hulu has the most updated shows of any streaming service. And it would be totally worth the price, except for commercials. Netflix doesn't have commercials, neither does Amazon Prime, or Crackle (except at the beginning). So why would I pay $8.00/month to watch a 30 minute show that is in 8 pieces due to commercials? I do want the latest of certain shows, but to be honest, I'm also tempted to "acquire" them commercial free.


Amazon Prime:

Amazon Prime has probably the largest selection available, now that Netflix is limited to mediocre bottom-shelf titles. The problem with Amazon is that most of them you have to either buy or rent. The actual "free" streaming part of Amazon Prime is limited. On the bright side, I've been able to find a lot of movies that I could stream, even if for a small rental fee. Small is a relative term, however. Most TV shows charge per episode, why would I want to pay almost $3 for a 20 minute episode of Ugly Americans?. Otherwise, the selection on Amazon Prime is quite similar to Netflix, particularly with TV shows. Unfortunately, Amazon doesn't have the latest episodes either. My biggest complaint is the complete lack of a personal library of what you watched, ratings, recommendations, or a queue. I resorted to a wishlist I called "Streaming" in order to save all the titles I wanted to watch in the future.


iTunes:

iTunes doesn't offer a subscription, so you'll have to pay for everything. However, one thing I did notice was a fairly decent selection. Everything I found in Amazon, I found in iTunes, but it wasn't the reverse. iTunes was kind enough to include the more recent seasons of some shows. One really special offer was to purchase a "Season Pass" of currently airing seasons. If what you want is a good selection and to rent a movie without leaving the house, iTunes is great. Other than that, it would be way too expensive as a replacement to cable.


The Others:

There are a number of services out there, although none have the selection yet to compare to the above. Cable companies such as Comcast, Cox, and Dish have their own services now, some in conjunction with other popular names such as Walmart, Blockbuster, and Redbox. Each could stand to be a contender in the online Video on Demand (VoD) realm in the future.


What I want:

I'm sure there's tons of red tape, contracts to be made, security measures to be taken, all necessary to deliver the content the world desires while protecting the digital rights of the labels. Do I care about that? No. What I want is to find a company that offers everything, any movie I want, every episode of a TV show right up to the one aired last night, and I want it commercial free. I want it at a reasonable price, but I fully expect it to cost much more than 8 bucks a month. Granted, I can't afford $80 either just to watch shows on my computer. So, there should be various offers and plans, much like cell phones. You can purchase plans by the minute, even have rollover, you can elect to have TV shows only and no movies or vice versa. And if you don't mind ads or commercials, a reduced price option all around. Right now, I believe the industry has no intention of giving us this kind of deal. I feel as if the lack of such a plan is by design, an arbitrary demand created by a deliberately limited supply and that all these companies are a part of it. iTunes has the content, yet they don't offer a subscription. Those with subscriptions don't have the content. This is no different than the troubles faced by streaming music services. Spotify has a lot of good music, but consistently lacks in major names such as the Beatles, Metallica, etc. Yet, you can find them in iTunes.


Temporary Solutions:

If I remain optimistic, I can assume that some day we'll be over those hurdles and my dream will come true for both video and music. This vision is a long way off  though, so what are the best alternatives?

To start, you could invest in several of the services. Amazon has the largest selection, and I'm sure anyone can handle the commercials in Hulu if they really must see the most recent episode. Netflix has the absolute best queue management, but iTunes isn't bad either. Netflix has more shows that don't require a per-episode rental fee and Hulu is really only good for the last season or two of a show.

I found an interesting website that just might make this all work out. SideReel offers the ability to manage a queue of TV and Web shows. As of this writing, there is a "Movies" tab and you can search movies, but nothing more. Here's the clincher, SideReel can show you anything if it's available online to watch, paid or free. Although, I did find a bit of a bug in that it doesn't show Netflix results despite the fact that the option is there to include Netflix results in searches. Even so, I can do a search on Ugly Americans and it will list the episodes. I can select the season or an individual episode and it will show me where I can watch it. Currently, it shows Hulu and iTunes because Amazon doesn't have anything after season 1, neither does Netflix. So, at the very least, it offers a way to FIND stuff. If what you're looking for can't be found on the major services, the "Search Links" button just might find it elsewhere. I can't say whether I trust the links it provides, I did visit a few and wasn't all too trusting of the site, especially one asking for information. But hey, it's an option if you REALLY must see that episode. Another nice feature is the tracker. You can track your shows and week by week it can show you when the next one airs. This can be especially nice if you are addicted to a bunch of shows and they are all using different services. It's a little bit of one stop shopping in a way. Although, more like one stop searching, you'll still have to link to your service of choice to see the video.

Thursday, January 19, 2012

Screensaver as desktop background in Windows 7

Steps to follow:

1. Determine the name of the screen saver you want to use. Click “Start,” then “Control Panel.” In the search box, enter “screen saver.” When the results appear, click “Change Screen Saver.” Scroll through the list that appears to find the correct one, and write down the exact name.

2. Click the “Start” icon. In the search bar, type “cmd” and hit “Enter.” This opens the command prompt.

3. Enter the exact name of the desired screen saver in the command prompt box, followed by “/p65552.” For instance, if the screen saver is named “waterfalls,” you must type “waterfalls.scr/p65552.” Hit “Enter” when you are finished.

4. Hit “Ctrl,” “Alt” and “Delete” together to open Task Manager, which allows you to regain control over your desktop. Click on the Task Manager if your task bar at the bottom of the screen disappears.

5. Remove the screen saver from the desktop by pressing “Alt” and “F4″ together.

Obtained from: http://windows7net.com/windows-7-guides/how-to-set-screensaver-as-desktop-wallpaper/

Wednesday, December 14, 2011

Understanding iTunes and Sound Check as well as Replay Gain

I've been very unhappy with the Sound Check option in iTunes. Many, if not most, of my songs seem to be at considerably different volume levels and I can't stand it. So, I made it my goal to understand how to fix this.

At first glance, I thought turning Sound Check off then back on would allow iTunes to reevaluate all my songs. That didn't happen. Turning Sound Check off only seemed to make the songs worse, so I can assume it was doing something. I started looking into other programs that would correct this horrible volume issue. What I found was just as confusing as using iTunes. Eventually, through my own testing and reading up on the basics (Replay Gain and tagging standards such as ID3), I was able to finally figure out some of this, enough to know what is going on at a basic level.

First, I looked at the .xml file that stores the iTunes library. I noticed that there were no tags referencing volume, gain, or level. I tested a few things with Sound Check and still there were no references. Eventually, I went to the properties of an individual song and used the volume slider adjustment under the Options tab. This added a reference in the XML file as follows:

Volume Adjustment-45

What does this mean? For starters, the volume adjustment has nothing to do with Replay Gain or Sound Check. This adjustment does not stay with the Mp3 file, but instead is only ever used in iTunes. I didn't test to see if this adjustment affected playback volume for that file on the iPod. However, I don't really care, it is an inefficient method of adjusting volume. Now, at least you know where the reference is stored.

I found a few important references on the internet when I searched Replay Gain and Sound Check. The most useful websites were the Reply Gain Wiki and this website discussing Replay Gain as it works with iTunes and iPods.

The Replay Gain Wiki gave me tons of useful information on what RG is, how it stores the data, as well as how iTunes does the same with Sound Check. Funny enough, Sound Check is similar to Replay Gain in how it analyzes the overall volume of a file, but it is not nearly as good at it. What we know is that Replay Gain stores the value in two metatags: replaygain_track_gain and replaygain_track_peak. iTunes stores Sound Check in one tag: iTunNORM.

*Note: one big problem, and one most likely to be responsible for why Sound Check does such an awful job of leveling, is that an Mp3 with bad data (sounds like chirps in the song) can be interpreted as having an overall higher volume. In reality, the volume analysis is supposed to be based on an average over the whole song, but given how quickly iTunes Sound Check analyzes files (MP3Gain took over 16 hours to analyze 11500 songs), I would say it did more of a random sampling and likely pushed the gain reduction to a higher number because of it.

When any software offers to add tags to a file to adjust the volume, there has to be a reference. iTunes uses a built in reference level and I presume it is less than 89 dB. I leveled all my music using MP3Gain and they are all louder with Sound Check off, the leveling was done to a reference of 89 dB. The Replay Gain community had suggested going to a standard 83 dB to provide more headroom to prevent clipping, but that has not gone into affect. iTunes may have adopted this same concept though and thus, their overall track volume seems to be lower. Also, note that iTunes only displays the Volume tag if Sound Check is on, see the screenshot below.





The real issue is how do we get iTunes and the iPod to read the replay gain tags? Since iTunes includes their own sound leveling, it makes sense that they would ignore something as oft used as Replay Gain. Well, that other website covers it quite well. I'll copy those steps below.

There is an easy way to convert the SOUNDCHECK values to replaygain values instead. This is particularly useful if you prefer ALBUM gain rather than TRACK gain (as I do). You'll need MP3TAG to do the job (a very nice program in general). The instructions below assume you have added album and track replaygain tags to your files (using either fb2k or dbpoweramp or some application, etc.).


1. First, you'll need a relatively recent (last year or so) build of mp3tag.
2. Second, you'll need the action that converts the replaygain album number to the soundcheck (Comment ITuneNorm). You should create a new action in MP3TAG. Do this by selecting "convert" from menu (must have a file loaded and selected I think). Then select "Actions". Then you'll see a popup box with a few "actions". Select the icon on upper right side of this box. This is create new action option. Give it a name that makes sense to you (e.g., replaygain action). Then select again the icon on upper right side of this new popup. In the dropdown menu select "format value" formatting the field "COMMENT ITUNENORM" (that is a space between COMMENT and ITUNNORM and you'll have to type this in the box) with the following format string you'll type into the next field below this: $rg2sc(%REPLAYGAIN_ALBUM_GAIN%)

If you want to use replaygain track level simply replace the "ALBUM_GAIN" above with "TRACK_GAIN" (although not worth the effort as track level replaygain and soundcheck values added by itunes are essentially the same). If you want to replace AAC (m4a) files' soundcheck values with the replaygain values all is the same but the field you are formatting is "ITUNNORM" rather than "COMMENT ITUNNORM"

I can confirm that this method works very well. A song that iTunes had marked as -7.8 dB was corrected by MP3Gain and the iTunNorm tag was updated by Mp3tag so that now it is at -0.7 dB. That is a huge improvement to the volume level analysis.

Friday, September 10, 2010

My top 5 Windows Utilities

There are many lists on the internet and this one is no different. For my own amusement, I've gathered together a list of my top Windows programs. I'm not talking about my favorite programs, I'm talking about the most important programs I use, the first ones I install on a new machine. Without these programs, my life would be spent in frustration. So, let the countdown begin.

1. Xmarks

This is my absolute favorite program (I know, I said I wasn't talking about favorites, it just turns out that my favorite program is a much needed utility). Xmarks will sync your bookmarks across a multitude of web browsers including Firefox, IE, Opera, Chrome, and some mobile device browsers. I got so sick of maintaining different bookmarks from computer to computer or even on the same machine with different browsers that I searched and searched for a solution. I've been an early adopter of Xmarks as a result, and have used it faithfully for 2 to 3 years now. It works perfectly and behind the scenes and it's a breeze to set up with your favorite browser.

2. LastPass

I'm not sure if this is the best password management program out there, I'm still rather partial to the built in Keychain for Mac OS X and also 1Password for OS X. However, in today's world, one needs to keep a secure record of all passwords. As companies increase security, resetting passwords also increases in difficulty, and sometimes ends up with a locked account. LastPass makes it easy to have all your internet passwords available with any browser of your choosing. It can also create identities and groups to further refine your password handling. It can auto fill forms with a preset identity, and it can store secure notes which can be used to store keys for programs, credit cards, etc. This may not be the best program out there, but it is available across platforms and browsers and maintains a much needed functionality that everyone should utilize.

3. Windows Live Sync

I started using Windows Live Sync in it's beta stage on Mac OS X when it was called Foldershare. I had certain files that I wanted to copy to another machine in the background in the same manner that Time Machine worked. Windows Live Sync has been backing up my files flawlessly for several years now. I now use it for my windows machines to backup my entire documents, music, videos, and pictures to my profile on my desktop machine. I also backed up game data so that I wouldn't have to download Gigabytes of information when I switched between playing a MMORPG on the laptop and on the desktop. No matter what machine I am on, if I make a change it is automatically synchronized with the other computer as long as it is on. If it isn't on, it'll wait until it is. It's better than any backup program because my data is available on any machine and I can alter it at any time. A backup usually hides the files in a proprietary format or image and is inaccessible except when restoring the backup. There's not much more to say, it works and it works well and I wouldn't want to live life without it.

4. Firefox

Sure, there are faster browsers out there, but few have as many features and plug-ins as Firefox. The open source community has worked on this program for years, and well before it was ever called Firefox or Mozilla. With each major update it adds new functionality and remains compatible with the vast majority of websites (nevermind those that deliberately force you to use the browser that should not be named). The plethora of plug-ins is what really makes this browser shine though. I constantly hear my wife complain about pop-ups with Google Chrome, not me. Ad Block Plus stops 99.9% of annoying pop-ups. There are plugins that block ads in gmail, banners, etc. You can change the appearance with skins, not that I bother, I like the standard UI just fine. It isn't integrated with your computer's shell, it's widely supported, it's fast enough, stable, and most of all with the addition of plug-ins, the safest browser on the planet.


5. Microsoft Security Essentials

Okay, so there are tons of anti-virus programs out there and people generally don't know which one to pick and end up paying through the nose for Norton or McAfee, which are fine... I guess. I just don't like how they install themselves so deeply into your system that you'll never remove them completely. Plus, I don't need all those bells and whistles. The other free anti-virus programs are usually adware and will constantly bug you to pay for them. Enter - Microsoft Security Essentials. It is provided free from Microsoft, installs cleanly and is unobtrusive. And since it is created by Microsoft, you'll know they're watching the most important parts of your system. So far, it has been effective in detecting viruses in scanned files or when I run a download I didn't tell it to scan. It doesn't offer website spoofing protection or anything like that, just a simple anti-virus to protect you from your download lust.

And there it is, my list of absolute must-have programs for any new installation of Windows. I've spent a lot of time testing other programs that claim to do the same as those in my list and they all fall short. Most of these programs I've used for years and they have proven themselves time and time again, and more than once saved me when I've done something stupid like erase the MBR on my backup drive.

Windows 7 image backup woes

In a previous post I mentioned that I wanted to move strictly to Windows over Macintosh because of issues related to expense and getting all computers in my household to work nicely together.

That has proven to be more difficult that originally anticipated as I nearly lost my backup. Since then, things had been working fine until I realized that there is one program that there is no possible Windows equivalent for; MacFamilyTree. Every single Windows genealogy program has something that annoys me, and none have all the features that the Mac one does. So, I decided that I would run that on my Mac partition, only, I didn't leave enough room on that partition to really work with it. It was bad enough that in order to update Mac OS X I had to delete a bunch of programs to give enough space for the update which required 5 GB of free space.

This leads me to the point of my post today. I needed to change the partition sizes. How can I do that and still keep all my files/folders and programs in Windows? It turns out, the built in software for Windows does not allow this.

To start, my system was set up with a Mac partition taking up about 18 GB, Windows took up the remainder, which was about 212 GB. I wanted to give about 32 GB to Mac and drop Windows to about 200 GB.

Using the built in backup software in Windows, I created a disk image on an external drive, it was about 70 GB of data. Everything seemed fine. I even used Administrative Tools and Disk Management to "Shrink" the primary Windows partition before making the image (this does not actually change the partition information on the master boot record, it is internal to windows only and any other OS will still see windows at the original size of the partition).

Then I first tried to use my existing Mac OS X installation to remove the Bootcamp partition, created a new one at the newer size and tried to reinstall Windows again.

During the install, windows has repair options which allow you to select the backed up disk image to restore to. I tried that. What it did was unexpected. It reformatted my hard drive, but because Windows cannot read the Mac Extended Journaled partition, it formatted that as empty space, thus removing Mac OS X entirely from the computer. This might be great if you wanted that extra space back, although I have a feeling that certain information is housed on that partition that if rewritten as a FAT or NTFS partition it would damage the EFI boot information and render the computer unbootable, but that is just a guess and something I'm not willing to experiment with.

After discovering that, I knew I needed to go back. So, I reinstalled Mac OS X, effectively removing the new windows recovered installation. I started Bootcamp all over again and this time just installed windows without using the disk image backup.

After Windows was installed, I used the recovery tools to get my files back from the disk image.

Problem 1: I created a new user account when I installed Windows with a different name from my old account. The files and folders were created as they were in the old setup and thus created a new user folder. This means that the files are also secured for that user only and you would have to be an administrator to access them and to change their attributes to your new user. This was too much work for me.

Problem 2: this method did not restore my programs!

The only partial solution was to undo the restore from disk image, and create a new user with my old user name, log in to that user and ensure that user had administrative rights, then finally do the restore while logged in to that user. It brought back all my files and folders, but none of my personal settings were saved. I spent an evening getting most of my programs back and changing my desktop settings to my liking.

So, what have we learned here? For one, the windows disk image is just that. It is not a copy of certain partitions, it is a copy of your disk and only of those things Windows can read natively. Any file system on that disk that Windows cannot read will be replaced with empty disk space upon reimaging. And, using the disk image after the OS install to restore information only works for personal files and folders, no programs will be restored and neither will personal desktop settings.

For anyone out there who wants to change their partition size for a windows installation on a Mac using bootcamp, the built in software for both OS's is not good. Bootcamp can't resize a partition once it is created and neither can Apple's Disk Utility. Windows can resize, but it is virtual and not written to the MBR. I'm sure there are 3rd party programs that can do this, but don't rely on the built in OS programs to help you there.

Sunday, August 15, 2010

Goodbye Happy Trees

If my title seems a bit strange, that's because I'm being a bit cryptic. Mac OS X was like Bob Ross, it made everything seem easy. But, even Bob has difficulties playing nice with everyone, and so too does OS X.

Mainly, I'm tired of juggling multiple different OS's in my household. I had Leopard, Windows 7 64 and Windows XP. At one point I also had Ubuntu, all in the same household, and they were all expected to work well together, but they just don't. Different file systems has made it difficult, nay, impossible to share music libraries, in any program, not just iTunes. I've become so comfortable with Mac OS X that I've forgotten how to properly fix Windows issues, and that means my old skills are waning. Plus, I won't upgrade to Snow Leopard knowing that the real improvements in the OS are all about architecture that my 1st gen Macbook doesn't have. And given that I'm too poor to buy another Mac ever again in my life, I figured I'd better get used to the cheaper alternative.

So, I spent a good long time reinstalling OS X into as small a partition as possible and using Bootcamp to give Windows 7 the rest of the space. It turns out this may not have been the best method because OS X default install was over 12 GB and requires 5GB of free space for updates which I needed in order to access Aperture 3 and my favorite Genealogy software, Mac Family Tree. So, I was forced to remove languages and other parts of OS X I didn't think I'd need right away to an external drive. It worked, but wasn't without it's problems.

The biggest problem I had, and the one that nearly stopped my heart, was from my attempt to read my Time Machine backup drive in windows. There's supposed to be lots of utilities to do this, but none worked as advertised. One program offered to read the drive using a different partition type, I thought maybe ExtFS was correct. Instead it rewrote the partition information and suddenly my backup, with all my irreplaceable photos, passwords, documents was inaccessible.

To say that I panicked might be an understatement.

However, there was hope, and it was free and worked better than anything out there. It was called TestDisk, and it could fix the partition type and MBR on any drive that was functional. It saved my bacon and I will be eternally grateful.

Once I got my drive back, I decided to use the OS X partition to extract my Aperture libraries and other Mac-only proprietary programs to something that could be imported by equivalent windows programs. I use the word "equivalent" loosely. I am still testing Media managers to determine the best software to roll out to all computers, as well as the best photo management and genealogy software. At this point I probably have 3 copies of my music, movies, pictures, and documents. I plan to keep it that way until I'm absolutely sure I won't need the extra copies and can go back to a simple backup. I'm glad I had the space, although it did require me to break things up between several drives.

Wednesday, June 9, 2010

Enabling EAX for Guild Wars running on Windows 7 64-bit

So, it took me a little time, but I finally figured out how to enable EAX for Guild Wars running on Windows 7 64-bit.

But first, a little history... Apparently MS has disabled direct sound with the advent of Vista and so most Creative Labs sound cards of old are now hindered.

Ah, but not so much. Creative has found a way to keep direct sound. First, download the latest driver from creative for your windows 7 installation. Next, download the lastest version of Creative Alchemy, it is a program designed to re-enable EAX. Also make sure that GW is properly updated but closed. Install the drivers and alchemy software and restart as indicated.

Before loading GW, in the start menu go to "all programs" and to either "games" or "guild wars" depending on where you normally launch GW from. Right click on the GW icon and go to Properties. Under shortcut you'll see the target path of the icon. Outside the quotation mark at the end of the line add a space then -dsound as follows

"drive letter:\Program Files (x86)\Guild Wars\Gw.exe" -dsound

Next, go to the Compatibility tab. Select a Windows XP option from the drop down, I think any would do. Then click on OK. Your setting here are now saved.

Next, launch Alchemy. It should also be in your All Programs menu under Creative. Once launched it should automatically detect that GW is installed and offer it on the left hand column. Select it and click the arrows to bring it to the right. That's it.

Thanks to a comment below by Anonymous, I realized that not all computers will automatically find Guild Wars. I know very little on this, but I at least have a screenshot for what Alchemy found for the location of GW on my machine. If Alchemy does not find GW you might check for a similar path as mine, or your GW installation is so non-standard that it might even be damaged. I have GW on a separate drive from the OS on my system and still had no issues with this.



Launch GW and on the login screen you can select options. Go to sound and check to see if it worked by clicking the boxes for Use 3D Audio Hardware and Use EAX.

If they are both greyed out, then you didn't set Alchemy correctly or you didn't set compatibility. If Use 3D Audio is able to be checked but Use EAX is not, then you didn't add the flag -dsound correctly, go back and fix it. That's it, these steps should ensure that GW and EAX work.

Thursday, June 4, 2009

Full Screen for any Cocoa App!

I was in the market for something that would take Safari and make it full screen. I looked for plug-ins, options to do the same in Firefox, and so on. However, it was difficult to find at first. It turns out that Mac has a built in function that works for all Cocoa apps and is not limited to Safari. It's simple, just hold command and press enter and the frontmost cocoa app will fill the entire screen, knocking out the dock and the menubar, perfect for browsing the internet without being bothered by other things.

Enjoy.

[EDIT]

A note about using this feature, I've noticed that sometimes it just doesn't seem to work. I think this has to do with mouse focus. Even if the mouse is focused on an application, sometimes that application may change that focus so that the command doesn't work. I'm not sure why exactly, but in Safari, I can open a new blank tab and the command works fine, so it is dependent on what's on the page. I have not had any problems with Mail or Finder, but those are simpler programs. 

Apple Feedback

Saturday, March 7, 2009

Blackberry stuff I like

After having my Blackberry Pearl for a few months and upgrading to an unlimited data plan, we have found certain applications to be particularly useful. Specifically those related to mapping and gps. For our trip to LA we used Google Maps Mobile almost exclusively for current directions, maps and satellite views. Then we used GPSed for keeping a track log of our adventures as well as providing basic information such as altitude, heading, speed and so on. The two applications combined are unbeatable for the best GPS experience and it's just perfect for the traveler.

Apple Feedback

On the fence again

Okay, so I dropped MS for Apple software, namely because I know it's scriptable and I am attempting to learn some applescript, but... I have been annoyed at a few things as of late. A few months ago I acquired a Blackberry Pearl, which I would not have done so if it weren't for the fact that it was supposed to sync with the mac. However, it turns out that the software provided by Blackberry licks asshole like none other. There is costly 3rd party software, but why should I have to pay for it to work, Blackberry should have had a flawless system for them to even suggest it works with mac. Anyway, my problem is that while MS is not very Mac-like, it does work, even if I don't care for the appearance of it, it is very customizable, and scriptable, although I couldn't say if any of this would work better with the blackberry if I did use MS.

The problems I've been having is that Mail keeps needing a rebuild, synching with the Blackberry for Contacts has been nothing but trouble and I think it is due to the non-standard way in which Apple stores address book information. The question is what exactly do I need?

I know that I want the ability to keep my phone and other PIM information synchronized, they need to be the same. The most important of these is the address book. If I add a phone number on my phone I want it to be synced with my computer and vice versa.

Second is I need my email to work properly. I need the program to not require a rebuild every time it gets confused about downloading mail. But I want it scriptable. I only need access to my newest email on my phone, although access to older ones is good too. For some reason, the all mail feature on Gmail is not showing all mail, I wonder if that means it thinks it has been deleted.

In any case I'm not sure what to do here. Apple's products aren't as well made as they should be and MS has little bugs I don't like. At the moment I'm using google sync on the blackberry to keep it up to date with what is on my google profile. It works okay, but again it seems to delete or change entries instead of updating them to the most useful information. At this point I'm a little drunk and probably should end this blog until such time I can make good sense.

Apple Feedback

Tuesday, October 14, 2008

To Sync or to Drop... that is the question

I don't have much time right now, but I do want to get these ideas down quick and I can edit and add later.

I have been trying to figure out ways to synchronize my locally stored Guild Wars files such as screenshots and skill templates across all computers that I run the game on. In the process, I discovered a few programs that have some interesting properties.

Drop Box was the first program I downloaded. It had potential because so many people were talking about it. The service is great in the sense that it synchronizes all files in your drop box on any computer, including Mac and Linux. It also stores copies on a remote server so that if you somehow lost the file while on a road trip and didn't leave your computers on at home to sync too, chances are that the files are available on the server. This all occurs behind the scenes once you have it set up. Now for the downside. I am an organization junkie when it comes to computers. I want things very specifically classified and I prefer to keep my directory structure instead of dragging files that I want to sync to a single drop box. That is reminiscent of the days of the old windows briefcase and I never liked that. I wanted the files to sync from their respective homes in my directory, not from one folder.

This is when I downloaded FolderShare, a microsoft program that is also free of charge. The only limitation here is that it does not run on Linux. It does exactly what I want, it automatically syncs folders no matter where they are in my directory with another computer. This allowed me to sync Guild Wars on one computer where the program is on a separate drive with the other two computers that have Guild Wars under C:/ . The only downside is that the computers have to be on to see the updates because they are not stored on a server. But that is minor because this is the exact functionality I wanted.

The two programs combined is a powerful set indeed and quite capable of handling your synchronization needs. The only thing that could be better is a program where you could choose which folders you want to just sync and which ones you want to store online as well. With such a service, you could also say which folders or even individual files you want to share with what other users of the service to allow for collaboration. Unfortunately, you can't use symbolic links as Drop Box sees it as a file not as a link. However, I imagine that soon Drop Box will allow for synchronization to other folders in any directory, and when that happens FolderShare will die out. But for now, I'll use both, especially since FolderShare was a breeze to set up.

Apple Feedback

Thursday, August 14, 2008

An Eval of Chat Clients

As I mentioned in the previous post, I have had some issues with the available chat clients for Mac OS. I thought I should delve into that a little bit more, just to get some detail in.

First issue; I've downloaded all of the standard chat software that offers a Mac counterpart and I've discovered that even though the distributors make a Mac version, that version doesn't always have all the features of the Windows ones. For example, I stated that Yahoo had Yahoo Games integrated with the chat client, well, the Mac version of Yahoo is nothing more than a simple client capable of sending and receiving messages and files. All other features of Yahoo chat that are in the Windows version are inexplicably missing. And I say inexplicable, because I believe those games are in Java, a multi-os platform, they apparently just got lazy about their chat client for their Mac users. Incidentally, Google Talk is only available as a web based app for Mac.

MS Messenger is simple to begin with, so there were few changes in the Mac version. You're not missing much by not having it and strange enough, the yahoo client for Mac can use windows live. iChat can connect to several different servers too. As a matter of fact, the only 2 programs that can connect to more than one service at a time are iChat and Adium. So, while Adium has the distinct disadvantage of not being able to send and receive files (there are actually mixed results with that) it does have the great advantage of Trillian in that it can connect to almost any chat client and maintain several logins to the same one at the same time. Plus, Adium is definitely a Mac app in that it is fully skinable and has an appropriate menubar icon, etc. And I have to say, the skinable options make it soooooooo much better than the others. It looks better and is much less intrusive as my contact list sits in a smoky gray box on my desktop, see the images below. The first image is just my desktop as a whole, the Adium contact list sits in the upper left. The second image shows a closeup of Adium. The important part is that you can't do this with any of the other chat clients, including iChat. This is a very strong case for Adium as most users want a chat client that integrates nicely and is unobtrusive while still being personalized. Adium is simply the only chat client to achieve these goals.







So, how do I handle the issue of not being able to send and receive files? Well, as inconvenient as it is, I often use the regular yahoo chat client for that. I've looked into other options such as web based file storage but the free ones are very limited and require that the person retrieving the file also sign up, plus that method is slow.

Me: "He, I'm sending you a file, go to this website in a few minutes to download it. It is called abc.jpg."
My Friend:"Where is it again, I can't find it?"
Me:"Click on the link that says Downloads and go to My Pictures, then to ....."

You get my point.

I've considered FTP type solutions as well, again, most people don't even know what FTP is let alone how to use it. Plus, they're not likely to want to download a new program just so they can access your personal FTP space. The chat clients really do make things easier. Most people I chat with already have Yahoo installed. I can talk to them in Adium and if they want to send a file I can open the Yahoo chat. It happens so rarely that there is no need to start with that. Supposedly, Adium will have support for sending and receiving files, when that day comes I will be overjoyed. Until then, I guess I have to put up with the fact that most software designers don't want to include Mac when the majority of their users are PC based. Again, I could start with the Yahoo client, but Adium offers skins and the ability to connect with several chat services. I love this because I can choose in one program what IDs are online and which are not. I can have multiple logins on a single service thereby separating my professional, family, and social lives. In short, Adium is the king-god chat app for Mac. At least for now.


Apple Feedback

Sunday, July 27, 2008

The Question of Apple vs. Others

It dawned on me that after using Entourage for almost 4 months, that I don't really like it. There are things, but I'm struck by bigger things. For example, Apple releases updates and bug fixes more regularly that MS has. At least, I've never been notified of a fix for Entourage. Maybe they think it works perfectly, and maybe monkeys will fly out of my butt.

The fact is, I use a Mac for simplicity, ease of use, quality software, etc. Many would say I should be struck down for even installing MS software at all. But the office suite is a standard that everyone uses, you really can't get around using it yourself. But Entourage is different, it is just an email application. Unless you are in a business where you must connect to an exchange server and share calendars, address book, and such, then there really is no need for it. I do like that it seems to have a smaller memory footprint than Mail alone, let alone if iCal and Address Book are running as well. But memory isn't everything. I hate the little reminder box and the fact that I can't change the snooze time. While printing envelopes in Word requires the use of Entourage, I've found that Address Book does a fine job on it's own, even allowing you to place an image as part of the return address, all effortless and automatic for all selected recipients.

Mail allows for emails to be grouped by thread or by date. The thing I miss is the date header that Entourage has, it makes it so much easier to see what date things were received on. However, I normally prefer that messages are grouped by thread, although an auto expand would be nice instead of having to navigate to that tiny little arrow. Plus, if I've received a new message in a thread, I don't want to click the thread, then click the message, how about just opening the most recent message in the thread on the first click while expanding the thread, that would be awesome.

I've also determined that I want the dashboard back. I've been using yahoo widgets, but they always change position on me when I switch to dual monitor view. That is getting old quick. Plus, not one single widget seems to interact with software at all, and PearLyrics is my favorite dashboard widget which adds lyrics to any iTunes song playing, if the lyrics can be found. But the yahoo widgets are limited and seem to be designed around PCs more. Although there are many more widgets to choose from and the memory footprint is also small. But again, it just doesn't feel Apple.

The one Mac only app that truly annoys me is Adium, in that it still can't transfer or receive files. What I want is a chat client that can handle multiple chat logins on different services and still handle all the functionality of those services like yahoo games. My wife and I used to have lots of fun with that when she was traveling for work. But since most chat clients are originally written for PC, that's asking too much. If I had more mac friends, I'd use iChat. Unfortunately, you have to have friends and iChat can only handle a few services and definitely not the ones I use the most. Plus, Adium does have a fun interface with all the options to change how it looks, you can pretty much make it your own.

Anyway, as of today I'm going back to Mail/Address Book/iCal and dumping Entourage entirely. Not only is it too MS-like, but the address book part and sync services totally messed up my Apple Address book. Now I have to spend a few hours correcting duplicate phone numbers, email address, and adding my photos of people back. Very lame.

For anyone looking to switch to Entourage, I advise that you wait until it can really offer you something. The hardest part about the switch is getting your address book moved over, but you also have to import mail which isn't smooth as butter and rules have to be created manually. In short, MS didn't work very hard to make sure the switch was easy and by reformatting as much as they did, they didn't make it easy to switch back either.

Apple Feedback

Thursday, March 27, 2008

The Holy Grail of Music Managers

Songbird has been the subject of much discussion on the www these days. And it makes perfect sense as to why. While some previous releases were unstable, release 0.5 has been awesome. But I digress... I have to tell you what it is.

Songbird is the best thing to happen to Mac OS X, that's what it is. Any Mac user who ever used to use Windows knows that there are much better alternatives to iTunes, and for good reason. iTunes lacks a temporary playlist. You can't skin it in Mac OS X, although I hear you can in Windows. You can't really change the interface any. Sure, there are lots of great plug-ins, but it still doesn't change the fact that if you compare the features in iTunes to those of Windows Media Player, it's a downright disgrace. Enter... Songbird.

Songbird is built on Mozilla, it incorporates a browser, a media library, and a smorgasbord of plug-ins, many of them ported directly from Firefox and Thunderbird. But, my favorite part is how Songbird can find all the mp3s in a blog or webpage. This saves me the time of looking for each one, downloading them and playing them. I can play them without permanently downloading, and I can download them if I wish. If you don't think this is a big deal, just pay attention to the direction the innanet is going these days. Social networking is the biggest craze with new sites coming out all the time. I recently found one where you can upload anything to a virtual desktop. Your friends can play any file you put up, video, music, whatever. It's sure to be the next big hit because this is the best way to get your unique videos or music out to your distant friends, all from one location. Anyway, the ability to view these and any other site in Songbird and listen to the songs as if there were on your computer makes Songbird a must have. Not to mention, it's on every major platform, and as we've seen from Mozilla, that usually means it has to succeed. I should do more than just talk about it, here is Songbird on my system playing mp3s from Hear ya, the indie music blog.

I'm not showing all the plug-ins, some do have some bugs that cause excessive RAM usage. It supports tabs like Firefox, it supports my iTunes Library which is awesome. There are plug-ins to sync with your iPod or other devices. By version 0.6 they're expecting to have GStreamer support, which I believe will allow you to share your Songbird Library over a network. Since it's cross platform, that will be good for me. My wife is a big music fan, knows the song/album/artist names of just about anything she hears, and I know that once I tell her of the ability to find new music using the built-in Skreemer search engine or the ability to play a music blog, she'll never use iTunes or Yahoo Music again.

I stress that the developers still claim that their stable releases are for beta testers. I'm sure they won't change their minds on that until release 1.0. As good as it is now, I can only imagine how wonderful their first truly public release will be. Best of all, it's all open source and free. There is no doubt that as long we all all provide them our support, they will create the best music manager ever. Go to birdhouse.songbirdnest.com now and get your copy, you won't regret it!

Apple Feedback

Friday, February 29, 2008

The Difference between a blog and a Wiki

Today I wanted to develop some way to find all my Mac OS tips and tricks. I normally store all my Unix and Mac tips in notes inside of Mail. It seems convenient enough, but not easily searchable and I don't really care for the way the Notes part of Mail actually works.


I began looking for other methods, first with Mind Mapping software, then I started thinking on Wiki terms. I mean, what better way, it's hierarchical like files and folders in a directory tree, it's easy to navigate and search through keywords, it's logically organized as opposed to random stuff hanging all over. So, today, I created my own Wiki. On this Wiki I will post tips and tricks to making Mac OS X your own. Everything from tips to get rid of the 3D dock in Leopard, to underlying Unix tips will be added in a structured environment and it will be available to the internet community at large. I doubt I have any readers of my blog, but my Wiki should prove to be more interesting. If you'd like to contribute or learn some new things about how to make OS X behave the way you want it to, go to tomsmac.wetpaint.com.

Apple Feedback

Tuesday, February 26, 2008

Global Hotkeys

I knew that there had to be a simple way to get global hotkeys without having to pay for software. Granted, Quicksilver can do global hotkeys, but I don't use it anymore because it seems to have issues with crashing, memory leaks, and the new spotlight does a decent enough job for me. Anyway, this link http://www.monkeybreadsoftware.de/Freeware/GlobalHotkey.shtml has a simple program with some examples as to how it runs.

The program runs hidden, you wouldn't notice it unless you open up your activity monitor. Which also means that it doesn't install itself, so if you want it to run all the time, you'd be best to add it to your login items group. It took me a little while to figure out what it did and didn't like though. It was finicky about my file format, you can't save an applescript and have it run it. It is capable of running applescripts, shell scripts, and applications, but to do so you have to follow some rules.

Now, you might ask why you would want an application that still requires you to manually assemble the code? Well, if you want it all done for you, then you'd better buy a program because I only wanted this for simple features. I wanted a global hotkey to advance through my iTunes playlist without having to bring iTunes up front. I might also want a global hotkey to launch a specific application, or to refresh my Dock, SystemUiServer, or Finder. A standard program that allows you to assign hotkeys usually doesn't allow for shell scripting. All you need to know is what command you want to run, whether it's applescript, shell scripts, or an application, and you create a simple text file with the command. Of course, test your applescripts with script editor first, make sure they work, then copy it into a new text document. But, there is a trick here and I will try to make it simple.

First, open TextEdit.app. As an example, add this text to a new blank document

tell application "iTunes" to play

Now, save the document under the name of a keystroke (one that isn't used by system services or any other application menus, I've chosen F5). Notice in my screenshot that I have chosen not to include the extension and that I've selected a Unicode type text file format. If the file name includes any extension or is otherwise not a series of keystrokes such as; command option j, option 4, etc., then the command will not work. Also, it should be saved in the folders that came with the application. I saved the contents of the opened .dmg file in a folder called Global Hotkey. Ensure that this file is being saved in the Global Hotkey/Applescripts folder. Double click the app, Global Hotkey.app, use F5 to play iTunes. I actually put in playpause and F4. I created two more scripts just like this and assigned back track to F3, playpause to F4, and next track to F5. Now, as long as the app is running I will always maintain control of my iTunes no matter what application I'm actually working in.

Similarly, all you have to do to launch an application is create an alias, drag it to Global Hotkey/Applications and rename it to another valid keystroke. Personally, I don't have much need for this as I'm satisfied with using Spotlight, but maybe you want to launch something that is in a folder or on a drive that spotlight is not monitoring, then there you go.





Apple Feedback

I want more control

If there's one thing I want in OS X more than anything, it's more control over how things are viewed. I don't like Finder and wish it were more like Windows Explorer. I'm sorry if that is blasphemous, but I have always liked using arrows to expand things on the left and clicking on a folder to show its contents on the right.

Mail should allow you to customize the view, and get rid of the pill shaped buttons in favor for something smaller and more Mac-like. I have no idea why they chose such a horrible look. Also, I think Mail should have options for different views, as you find in Outlook. This lack of adding new views only says to me that programming Mac applications must be harder and more strict than Windows.

Also, why does it take a haxie to change the overall system theme? In fact, why do I have to know unix or use a haxie to use the 2D dock? I mean, Unix is proclaimed to be one of the most configurable and customizable operating systems around, and it seems like Apple has gone to great lengths to make sure that OS X was not.

The worst part is, I can spend my hard earned cash on 3rd party programs that may or may not be approved by Apple. I can run them until the next update, at which point they no longer work and I have to wait for the developer to create a fix.

I really do expect a more modular type of programming. Why isn't Addressbook actually able to be opened, updated, and so on within Mail? Sure, you can open it as a separate application, but it seems more cumbersome. And why isn't iCal capable of being integrated in a similar fashion? All this, and the windows can be rearranged by dragging them, changing their size, and view options just as in the parent programs.

And what's with limiting how I want my machine to perform? I really would like a preference pane that can turn off all extra stuff that slows my system down. After all, I am using a Macbook and need the extra resources wherever I can find them. Most things you can limit to some extent, but with spaces, there is still an animated effect to moving windows. I'd rather they just appear and disappear. With the Dock, I'd rather the window do the same instead of using Genie, Scale, or Suck effects. Windows look nice with the shading around them, but I'm sure I could make things run even smoother if I turned that off. In MS Windows, you can switch to a total classic view, turn off all effects, and really gain a substantial amount of RAM and CPU power by turning these extras off.

I'd also like to gain some real estate by not having a Dock. I don't need it, I've just gotten used to it. I'd rather have an applications menu in the menubar. I know, that is also very Windows OS of me. I know, that also means it takes 2 clicks instead of one to open an application. However, if the menu were organized just like the dock, I'd be happy with that, I just want the dock to go away. I know it can be hidden, but I think we all know how that works. First, you now have an additional animation to contend with as hiding the dock always slides in. Second, it's so easy to accidentally get the cursor on the side of the screen that it just becomes an annoyance. Lately, I've been keeping my Dock on the left side, it seems to be less in the way then.

That said, I think I'd prefer that the menubar also had more customizability, like moving icons and such, changing fonts, placing some icons that aren't used often in a menu instead of across the top. By doing something like that, at least I can fit all I really want to see at the top. The simplest and possibly best thing would be to change the resolution of the menubar. I just don't understand why these things are so protected and not available to change by default.

I suppose for all the lack of customizability, it's not unlike Apple considering that it's a real pain to put OS X on any other hardware. I also suppose that in the effort of keeping software stable, less custom content is probably better. It's just that Apple is in a better position than anyone to design it right, and yet we have to resort to hacks to do what we want. This is a real strong argument for linux. I'm playing with Ubuntu now on Parallels. If it weren't for the fact that Linux is developed by so many people and that makes code inconsistent, I'd switch. But, I know that for the best support, you have to run Windows or Mac. Although, I must say that I am really tired of paying for every little tool to do a job for me. It adds up quickly and most tools that I want to use to break down some of Apple's walls are simple executions of unix commands that I just can't find published out there.

There, that's my rant for today.



Apple Feedback

Sunday, February 10, 2008

Macbook and External Monitors

I have finally learned something that I've wanted to do for a long time regarding my macbook and using an external monitor.

With this simple little trick, when I plug in my external monitor, the menu bar will move over to it. It does have the effect of making it the default display, to a point. Let me explain.

My external monitor is a 22" CRT. I know, I'm a little outdated, but what else am I going to use to hold my collection of Octopus plushes? Anyway, I would much rather use that as a default display than my teeny little 13" macbook display with washed out colors because of the rather poor backlighting scheme. I've been using my macbook with the external monitor for almost 2 years and never knew about this one simple little trick to make the external monitor act like a primary display. Simply go to display preferences, then the arrangement tab. This is so simple it's stupid. Just grab the menubar on the simulated macbook screen, a bold red outline will show up indicating which monitor it's active on. Then drag it over to the external monitor. Once the red outline is around the simulated external monitor, drop the menubar and voila, it is now your default display while it is connected.


This is not 100% perfect. When you go to mirroring mode, then the laptop screen becomes primary again. However, leave mirroring and all is back to normal. This is one of the best features of Mac, the ability to remember a monitor or projector and the last configuration used with it. Now, every time I connect my external monitor, I won't have to fiddle with anything, it will just be considered the primary.

I have one other little tip. Sometimes you don't want the laptop monitor on at all, whether it's spanned or mirrored, especially if you want to watch a movie on the larger screen. Well, you could dim the backlight completely, but your desktop is still spanned and that could be inconvenient at times. However, there is a way to trick the computer into thinking you only one display, the external one. To do this, make sure you are using both displays, set the display preferences to mirroring. The laptop will then act as primary display. Now, close the lid and let the computer go to sleep. Once asleep, use an external keyboard, plug in a mouse, or use the remote to bring up front row. The Apple logo on your laptop will flash then turn off, indicating the computer is no longer sleeping and did not find the built in display. At this point you can open the lid again and type and everything without the internal display on. It's kind of a hack to do it this way, but Apple never did build in a method to turn off the laptop display from within the OS, so you have to trick the hardware.

With this method, you can leave the lid closed and use the included remote to watch movies or play music without the need for a mouse or keyboard. But, if you happen to have a bluetooth or USB set, then they will function just fine.

Also, this is important for full screen applications that don't like to use anything other than the primary, ahem (Aperture). Now you can do your full screen editing on the big monitor. Is this cool or what?

[EDIT]
Aperture 2.0 fixes most of my previous complaints and functions with dual monitors wonderfully now!

Also, one minor problem occurs when I connect or disconnect the external monitor. Typically, the dock gets messed up. Part of that is because I have an unconventional dock, it is on the left and weighted to the top instead of center. When I disconnect the monitor, everything moves to the laptop display and sometimes the dock icons are moved around. Try to click on one and you might actually click on another. The fix is simple, run terminal and killall Dock. I have a script in the scripts menu to do it, and a keyboard shortcut using Global Hotkey which I'll talk about at another time.
Apple Feedback

Friday, February 8, 2008

I only want one update to the menubar...

I've said it before, I don't mind, nay, I even like the semi-transparent menubar. Not once have I ever had difficulty reading the menus regardless of what background I'm using. That said, where I really think they need to improve is on what's visible in the menubar. I have a lot of little things running up there, as I add more, they become hidden by the menu of the frontmost application. I think that is horribly annoying. What I'd like to see is the objects in the menubar, particularly text, gets reduced so that everything can fit. Hell, I'd even be good with multiple lines provided it didn't increase the height of the menubar too much. Besides, there appears to be work arounds for most of the problems people find in Leopard, why not this?

[EDIT]
A Macbook Pro has a decent video card installed, such that using an external monitor at a high resolution would cause the menubar to scale down and allow everything to fit. Unfortunately, I don't have a Macbook pro, only the regular Macbook with the lame Intel GPU.

If you agree, please click on the apple feedback link and let apple know.

Apple Feedback

Wednesday, January 23, 2008

iPhoto '08 Vs. Aperture 1.5.1 Vs. Lightroom 1.3

After a while, one begins to wonder if there is something a little better than iPhoto. I, for one, don't like the destructive image editing. Sure, you can still "Revert" back to the original file, but then you lose your edits. Or, you can make a duplicate of the image before editing, taking up more valuable space on your hard drive (which, incidentally is what happens when you edit an image so that every edited image is a duplicate taking up more space). Aperture and Lightroom fix these problems, but at what cost? We all love how iPhoto integrates with everything else, how you can send images to iWeb, a Printshop, Flickr, and Facebook with a few simple plug-ins. We love that you can manipulate files with applescript and Automator. So, can Aperture or Lightroom hold a candle to iPhoto in these other categories? We'll find out in my comparison of the two.

One thing I should point out is that I'm not a professional photographer, nor am I particularly knowledgeable about Photo related software. So, there will be a time that I'll mention something I have no personal experience in, but have heard from others about. For example, it is my understanding that iPhoto has very rudimentary RAW file support, where Aperture and especially Lightroom excel in that area. This is mere heresay, but I believe it to be true.

When I first started with Mac OS, I was introduced to iLife '06, wherein lied iPhoto '06. I liked it quite well, it handled photo and video, could import directly from my Kodak digital camera, and the best part was all the free software or plug-ins that were available for it. Not to mention, it was completely scriptable and there were many actions available in Automator. When I saw the updates in iPhoto '08, I couldn't wait to get it. I really wanted the Events feature that would automatically put photos in categorized events based on the date and time the images were taken. It seemed perfect. However... It has become quite the maintenance hog to keep Events organized. For example, I like to keep all my downloaded images, particularly wallpaper, in iPhoto. Each wallpaper has a specific date of creation and that usually generates it's own event. So, for every single item I import that isn't from my camera, I have to manually adjust it. Plus, even those that are from my camera, I have to adjust into individual events. It isn't hard, but kind of takes away from the idea that the feature operates automatically as Apple would have you believe. One of the key improvements, and my favorite feature, is the keywords addition. Not only can you add keywords to a photo for sorting and smart folders, but you can now assign keystrokes to a large number of those keywords to automatically assign or de-assign a keyword to a photo or group of photos. I absolutely love this feature and it may be the one reason I keep iPhoto around. Especially since I like low maintenance folders, thus I like smart folders that I can base on keyword assignments.

Aperture does have smart folders, but I feel as if the capability is weak and even a step backward compared to iPhoto '08. In iPhoto, Apple improved search features a little bit, enough so that you could suggest a search that simply excluded things. Aperture only allows for searches that contain or are equal to a term, there is nothing about excluding terms. However, Aperture has a lot more that it can search through such as full metadata, and a much larger list of professional keywords built in. I've seen no option in Lightroom for smart folders, although it does have a powerful search function. Both have keywords, but they can't be assigned via quick keystrokes. However, they are still fairly easy to modify.

Aperture is fully scriptable and comes with automator actions that are automatically installed with the program. Lightroom may be scriptable, but it did not come with any actions. Also, the Aperture library is integrated in the media browser like all iLife applications. Lightroom stands alone. One feature I like in iPhoto is the ability to set a particular image as the desktop background. Aperture doesn't have a button like that, neither does Lightroom, presumably because that is not really a feature that professional photographers need. Still, the Aperture library is available when you want to change your desktop background the old fashioned way, where Lightroom isn't available at all unless you export an image. However, both iPhoto and Aperture use a proprietary package to store the library. Lightroom uses a catalog type file, but all the original images are available in their respective folders. However, the same can be said with Aperture, which now has the ability to keep the masters anywhere and store in it's proprietary format the modified thumbnail images. iPhoto is the only one of the three that can't get information if the full library isn't there.

Speaking of integration, in iPhoto and Aperture, you can drag a photo to the desktop or a folder and it will be the exact image you thought you grabbed. In Lightroom, it copies the referenced master image, not the one with your edits. So you explicitly have to export to get your edited image available outside of Lightroom.

One key plus to Lightroom is that it is the only one of the three that can edit EXIF metadata. That was my main purpose in looking at it because I have some images whose EXIF data is messed up. iPhoto can't really edit much. Aperture is great on everything except EXIF. The funny part, the EXIF data I wanted to modify in Lightroom, doesn't even show up. I have images whose EXIF data is incorrect, as shown in Aperture, but bringing those images into Lightroom reveals that the date isn't even in the EXIF data. How can that be? I suppose that the nature of EXIF data is that it is supposed to be a perfect record of the camera, aperture, ISO speed, date, and time that an image was taken. Which means that it never really has to be modified. But then, i have to wonder what put the data there in the first place because those images were taken with a film camera. Regardless, Aperture sorted by date as a default and didn't seem to care about the actual date that I put in the IPTC data.

Aperture looks as though an entirely different team of people, completely unrelated to iLife or even the current state of Mac OS, were designing it. That said, it also looks and feels much more professional. There are many more menu options, many ways to view the screen, and many ways to adjust stacks. After playing around with stacks for a bit and finding a few preferences related to it, it's not entirely different from the events in iPhoto. Although, a stack is merely a set of images modified from the original, not a collection of images from a particular photo shoot. And then, while Events are pretty neat, they are just fancy looking folders for your images. In the more professional sense, it's easier to look at folders and simpler to maintain them.

Lightroom has by far the best overall appearance. It has an elegant and beautiful black design. I like the way menus and features can be hidden, but Aperture does some of that. It is definitely professional photo software, but it is also more daunting than Aperture. The lack of smart folders is disappointing and pretty much a deal breaker for a novice like me.

Aperture has many interesting features as well. One of my favorites is non-destructive editing. In iPhoto, if you edit a photo, you are changing how it appears in iPhoto, and creating a new copy on your computer. In Aperture, when you edit a photo, you are only adding a set of commands to the photo. That is, it creates a file that references the original image and then adds commands to that to alter the image. Lightroom is extremely similar to this. Those commands can be anything, including cropping. Now you have the original image and a copy of it, where the copy only takes up mere kilobytes of spaces compared to a complete copy of the image which would take up megabytes. Plus, you can have multiple copies, each only taking up a small footprint of space. I just love this feature and think it is the best thing, especially since I can see the original file at the same time as the new file. Aperture creates "stacks" for modified photos, you can expand them and see all the different mods you've put to an image. However, this is one area where Lightroom really shines. While it doesn't have stacks, you can easily create a new virtual copy of an image, although I didn't find an option to create one from the original. When editing a copy, you have a full and entire history of edits. If you scroll the mouse over them, it shows the results of edits to that point in a small window above. This makes it easy to go back a few steps, or even tens of steps if you just don't like where you were going with the edits. Also, there is a very cool feature that lets you view the old and new side by side, one over the other, or even a split view showing half the image in old and half in new. I really really like this ability to compare to the image you were modifying.

Aperture looks professional, but not so much as to be intimidating. It still has buttons for iWeb and such, but lacks the large pretty icons that iPhoto has. Also, the screen is divided a little different. iPhoto has an interesting way of editing images where you can go to full screen, a panel pops up on the bottom on mouse over, as well as on the top. Aperture does this as well, and the fact that you are only creating a small file with commands to alter the original, without actually doing so, makes this one of the most valuable features for a person who modifies their photos a lot. Lightroom has buttons for email and web, but again it isn't well integrated in iLife.

Once you get to know aperture, you really get to liking it. However, what are its major limitations? Well, after researching, I think there are even less than in iPhoto. http://www.aperturepluggedin.com/plugins/ this takes you to a current list of Aperture plug-ins. I've already found the Flickr and Facebook ones, plus it offers SmugMug for you professional photographers out there. Lightroom also has a few plug-ins, including facebook. The biggest problem in Aperture is it is a little more difficult to start using in comparison to iPhoto, but not as much as Lightroom. I don't really like the full screen mode, where in iPhoto it's easy in, easy out and used the same monitor that iPhoto was running on. Aperture chose my small laptop screen to run on, even though the program was running on the 22" desktop screen. I'm sure there is a way to fix that, but a new user might get frustrated with all the features trying to get it to work, especially when iPhoto did it right away. Lightroom did the same thing though and it is supposed to be dual monitor compatible. That said, I really like Aperture now. Just knowing there are tons of plug-ins, non-destructive editing, and integrates well into Mac OS. Plus, it comes with some automator actions and is fully applescriptable. Even for a novice point and shoot kind of guy, I like the powerful features. And since I'm also a computer guy who likes to save space where possible, the image editing is nearly a priceless feature.

The real question is whether or not I continue to use iPhoto. It's simplicity might be nice, but once I get fully accustomed to Aperture, would I ever really find a need for it? Only time will tell. Oh, and I didn't forget about Lightroom. My opinion on it is that it's lack of integration, lack of smart folders, and confusing editing options make the program more suited to Windows than Mac, and more suited to Adobe users. It has a beautiful interface and can edit some EXIF data, but that's about it. The only other reason I would ever use it is that it is more likely to be able to share the same catalog with windows machines, but I can't even say that for sure. For dedicated Mac users who are used to the Mac way of doing things, Aperture comes much closer than Lightroom. iPhoto is best in this category, but it simply can't hold up to the features offered in the other two. That said, I proclaim Aperture the hands down winner, with a little compromise.

Apple Feedback