OS X: Solving “The operation cannot be completed because you do not have sufficient privileges for some of the items” problem

I was trying to backup some of my files in OS X onto an external hard disk and ran into the following error dialog box: “The operation cannot be completed because you do not have sufficient privileges for some of the items”

So I thought it was a permission issue of a file/folder that I did not have permission to read. So I went to file information (File > Get Info) of the folder and under “Sharing & Permissions”, I made sure that I had read permissions and clicked “Apple to enclosed items” (I believe this applies the permission rules to all sub files and folders recursively).

I tried copying the folder over again and the error dialog persisted. Wasn’t too sure why it still happened so I tried cleaning out the dot files using the “dot_clean” command from Terminal and viola! Copying went on without a hitch.

So when you encounter the “The operation cannot be completed because you do not have sufficient privileges for some of the items” again

  1. check file/folder permissions (use get Info from Finder)
  2. use dot_clean (from Terminal)

Application of the Day: Right Zoom

So I downloaded the new Firefox beta and for some reason I couldn’t find the Downloads window when I used the shortcut or selected it from the Window menu item. It took me a while and then I saw it. Look carefully at the image below and you will see the ‘hidden’ download window

wheres the firefoxs download window

See it yet? No? Well the answer is below:

theres the firefox hidden download window

Now how the heck do I resize something when I can’t even see the buttons nor the bottom right window resizer? I tried clicking/resizing on the window but to no avail. No shortcut is available for OS X to resize or maximize the window (one of my issues with OS X). Thankfully I found Right Zoom that enables me to maximize a window using a keyboard shortcut. Selected the window using Command + ` after Command + Tabbing onto the Firefox icon, pressed Command + Shift + E to maximize and there I found my download window back again! Phew..

Right Zoom was created to change the default behavior of the Zoom button in OS X to make it behave like Window’s and Linux’s Maximize button. It also lets uses assign a customizable keyboard shortcut to maximize the window. As I won’t have my Alt+Space, X as I have in Windows, this is the next best thing. Right Zoom runs in the background and is probably something you want to start automatically when you login (System Preferences > Accounts > Login Items).

Canon CanoScan LiDE 20 on OS X 10.5.8

In order to get the Canon CanoScan LiDE 20 working in OS X 10.5.8 (and from the comment responses 10.6 Snow Leopard as well)

  1. Go to the Canon CanoScan LiDE 20 product page
  2. Click the “Drivers & Downloads” tab
  3. Select “Mac OS X” from the dropdown menu
  4. Download CanoScan Toolbox Ver. 4.1.3.0X (Direct Download Link)
  5. Download LiDE 20/LiDE 30 Scanner Driver Ver. 7.0.1.1aX (Direct Download Link)
  6. Install the CanoScan Toolbox first
  7. When installing the driver specify the “Plug-Ins” folder in the CanoScan Toolbox installation directory
  8. Open up the “CanoScan Toolbox, click settings and it should detect ScanGear CS 7.0X as the driver and scanning should work without a hitch
  9. The scanner is fully operational including the scanner buttons to scan, copy and email (the button actions can also be customized)

Update
Some tips that may help if you’re having installation problems

Die Command + Q die

One thing that immediately annoyed me about the Mac was that the shortcut to close the application is Command + Q. This is just way too close to Command + W, the shortcut to close a tab/window. Being fast with the fingers I will tend to press Command + Q at times closing the entire program together with the documents I’m working on / tabs I’m browsing / IMs chats I’m having. Now for some applications there are work arounds, e.g. for Cocoa based applications (e.g. Safari, Mail) you can assign another shortcut to the menu item in the Keyboard Shortcuts tab in the Keyboard & Mouse preference pane

  1. Click on the “+” button
  2. Select the application (e.g. Mail.app)
  3. Type in the quit menu item text in the “Menu Title” field (e.g. for Mail.app it would be “Quit Mail”)
  4. Enter your keyboard shortcut

keyboard shorcuts change cocoa based applications quit shortcut

Now this would be nice to have for all applications but due to the fact that for each application the menu item to close the application is based on the application itself (e.g. Mail = “Quit Mail”, Safari = “Quit Safari”), it is plain to see there is no easy way to cover all applications. Also, as mentioned, it works only for Cocoa applications, so this wont work in applications like Firefox. Also some applications like NeoOffice will still respond to Command + W. So had to search for other alternatives.

For Firefox you can configure Firefox to prompt to confirm closing if there are multiple tabs open and there are probably extension that may help prevent the closing of the browser, but I wanted to find a complete solution. So after much Googling I finally found this blog post on disabling Command + Q with Quicksilver by using triggers.

In Quicksilver’s Triggers page:

  1. Add a trigger by pressing the “+ button” then selecting “Hotkey” (a new row should be created)
  2. Click the empty space under the “Command” column of the newly created row
  3. In the “Select an item” field, press . to enter text mode and clear any text that appears
  4. In the “Action” field, enter “Large Type”
  5. Leave the “Target” field blank and click save
    trigger command disable quit

  6. Now to create the keyboard shortcut by click the “None” field under the “Trigger” column
  7. A drawer will pop out and in the “Settings” Tab, press the “Edit” button in the “Hot Key” field and press Command + Q
  8. In the “Scope” Tab, ensure it is “Enabled in all applications” (any other option does not seem to work even though I specify the correct applications. possibly a bug)
  9. So now the Command + Q shortcut is disabled as long as this trigger is enabled
    disable command q trigger

So now when you press Command + Q the application no longer closes and gives you an little beep indicating no action is assigned to the shortcut. What if you still want a shortcut to close it? Just add another trigger!

  1. Add new Hotkey trigger
  2. Select an Item: Current Application
  3. Action: Quit
    trigger command quit
  4. Select your appropriate shortcut and be happy =)

So go download Quicksilver. It can do a heck of a lot more than just this with the great plugins it has: resize images, open bookmarks, move files and add. Check out the Lifehackers’ top 10 Quicksilver plugins or the tutorials and start delving into the world of Quicksilver

A Mac-nificent World?

So the other day I actually took my brother’s Apple iBook G4 (1GHz) out from his cupboard (he did give me permission to use it, so don’t be emptying your sibling’s cupboards looking for things..) and finally tried to use it. He got it the year he left Singapore meaning it is about about 4 years old. I’ve been wanting to get a Mac to explore the OS X world so I thought this would be a good starting point. Mind you I have played with a few MacBooks over the years but nothing long term enough to get the full experience.

Let me start off by saying that Exposé is a fantastic utility which I’ve had the chance to use in Linux thanks to Compiz Fusion or for those technically challenged due to proprietary drivers or just have difficulty getting Compiz Fusion running there is always Komposé. I like the fact that you can zoom in and out using (Cmd+Alt+=) / (Cmd+Alt+-) along with other accessibility options e.g. switch screen to black and white (Cmd+Alt+Ctrl+8), things which Compiz Fusion yet again has copied (piracy is the best form of flattery huh?).

1. New/”New” keys

So those keyboard shortcuts stated above lead to the first problem (aside from the single mouse button): the new and “new” keyboard keys. There is the Apple/Command key that has an Apple icon on the left and ⌘ icon on the right which (for switchers from Windows) would tend to associate with the Windows key. There is the fn key which most laptop notebook users will be familiar with and then the alt/option button: it is the regular alt button next to the ctrl but has the word “option” on it as well so it’s the alt/option button. So as a user trying to find the “right click” that you are so used to in Windows/Linux/BSD you are supposed to hold down one of these buttons and click the mouse button to get the context menu. So which button do you press? My first thoughts would be the fn or Apple key.. How wrong I was; it is the Ctrl key. Then it makes me wonder what happens to selecting files one by one with the mouse since I can no longer Ctrl+left click to select individual files, adding them on to the currently selected group. Now that has moved to Cmd+click. This kind of “remapped” keyboard modifier shortcuts are prevalent in applications as well. For instance in Firefox to create a new tab it is Cmd + T. To cycle through tabs it is still the Ctrl + Tab though. So my fingers (and thus me) are getting frustrated doing the finger dance trying to find the right key combination to achieve what I want.

2. Application switcher does not show all windows/does not restore minimized windows

Cmd+Tab for the windows/application switcher (similar to Alt+Tab for Windows) does NOT show all windows open. For instance if I have only 2 Finder (equivalent to Windows Explorer / Nautilus / Konqueror / any file manager) windows open and I Alt+Tab Cmd+Tab I will only see one icon representing Finder despite having 2 windows of it open. So the alternative to that is to use Exposé, but alas the problem with Exposé is that if you minimize a window it won’t show up in Exposé. So this will make you change your style of work if you tend to minimize your applications. I guess the way OS X discourages you from minimizing applications is the fact that the green + button in the window title bar, which people would think is the “maximize” button isn’t the typical maximize button it is a smart maximize button which expands the window to an optimal size thus in other words it will probably NOT (actually I haven’t seen it ever) expand and do a full screen maximize like in windows (minus the task bar), thus you will be able to see windows in the background which I read/heard somewhere is supposed to help productivity. How true that is, I do not know. But anyway so typically in Windows / Linux I will Alt+Tab through my windows/programs to select the one I want which is something I cannot do in OS X. The alternative is to leave all windows open and just use Exposé. I have to give props to Exposé that it can be navigated through the keyboard as well though, but still the minimized caveat is still an issue. An alternative is to use Cmd+Tab to select the application then Alt+` to select the window (Alt+` cycles through the windows of the same program, e.g. Firefox and the Firefox download window / another Firefox window). Cmd+Tab apparently does not restore minimized windows so you have to go to the “Windows” menu or select the window from the minimized windows section in the dock. Oh the trouble.

3. No easy access to menu bar

I like to be able to access the menu bar of my applications, you know bar on top with all the menu’s typically starting with File, Edit and View. I access them via the Alt+key_letter shortcut (e.g. File: Alt+F, Edit: Alt+E, View: Alt+V), for just Alt to focus on the menu bar and use the cursors/keyboard shortcut to navigate. This could not be done by default or in the usual fashion. When looking online I saw the shortcuts given to access the menu bar was Ctrl+F2 but when I tried it, it didn’t select the menu bar, it just increased the brightness…. I found out one day when I went into the Keyboard & Mouse preferences in System Preferences. Apparently the fn is only for laptopsnotebooks so you have to check an option (Use the F1-F12 keys for custom actions) to force the use fn in order to access the custom actions (in this case increase screen brightness) and after that it worked. I’m pretty sure the default configuration is unchecked because my bro isn’t as much of a keyboard user as I am (got confirmation from Nick that it is unchecked by default). The issue I have is that it highlights the main application menu and thus I can’t do a quick jump to different menus. Also the shortcut (Ctrl+F2 is an uncomfortable one compared to Alt). Be wary of Ctrl+F1 for this toggles this ability without making any notice of it, even in the checkbox setting. Now that is strange. Let me take issue with the checkbox main description as well. It says “Use the F1-F12 keys for custom actions” and in the smaller print “Hold down the Function (Fn) key to perform the custom action of the F1-F12 key.”. It is a bad main description because when I first read it I was like but it already performs the custom action without the box checked so what’s the point of the option. Only then did I read the smaller print and found my answer. Also there should be a “Restore to Default” button in case you mess things too much. This is something I believe all configuration windows (i.e. all applications on all OS’s). On a side note the windows menu shortcut (Alt+Space) is not existent and just have to use Cmd+M to minimize.

4. Enter does not enter folders

Select a folder in Finder and try using the keyboard to enter it. The Enter button which sounds good right? Wrong! Not only does it not enter, it highlights the name in order for you to rename the folder. Cmd+Down is the answer though. I honestly do not get that. Why make the single intuitive keystroke into a strange convoluted 2 button action?

5. Navigating controls in dialog boxes (Firefox)

When I get a password prompt to save the password or a Javascript dialog box in Firefox with buttons, I can NOT press Tab to move from one element to another. This is something of second nature and a great accessibility option. After some searching back in the Keyboard preferences in the Keyboard shortcuts panel there is the “Turn on full keyboard access” which “Turns on full keyboard access to use the tab key, arrow key, and other keys to select buttons, lists, and other items on your screen” and I though to myself “YES! This is it”. But alas it is not. It doesn’t work with Firefox only in Safari (and I take it other native OS X applications). So now if you want to select the non default option you HAVE to use the mouse which is a time consuming.

6. Mouse acceleration

So I know that the previous 5 issues I’ve had were all keyboard related but that is a big deal for me but the next method of user input is the mouse and OS X has my despised foe: mouse acceleration. I have always disliked mouse acceleration because it is not a definite or predictable manner to move the mouse. For those who don’t know what mouse acceleration is, here is a simple scenario. Move your mouse onscreen cursor to the left of the screen. Now move your mouse slowly from the left to the right over a certain distance. Now repeat that but this time moving much quicker. If the mouse cursor is roughly at the same place you probably have acceleration off, but if it is way off, acceleration is on. I’ve hated it ever since I’ve played first person shooter (FPS) games where you need to aim with your mouse and want your mouse movement to be consistent with how the view in game moves. If I move my mouse 5cm on the table I want my cursor to move a fixed distance on screen despite how slow/quick I move my mouse. That gives predictability and thus control of my mouse cursor. Now if you have mouse acceleration on and you have excellent control over your mouse I applaud you for being able to do all the math calculation in your head because I certainly can’t. There simply isn’t a visible option for disabling it aside from going to the terminal and typing the following, after which you need to logout and log back in again for it to take affect.

defaults write .GlobalPreferences com.apple.mouse.scaling -1
defaults write .GlobalPreferences com.apple.trackpad.scaling -1

For some reason when I enable this and when I move the cursor via the trackpad it moves a little bit after it reaches the destination for no apparent reason. It’s hard to explain so I uploaded a video below.

And this annoys the heck out of me because I can’t select items properly as the cursor ‘happily’ moves off the element I was previously hovering over. This could be a hardware issue though, wonder if I can get confirmation of this else where though.

7. Second class citizenship for old systems?

So I admit this is an older machine running 10.3.9 and I have issues with that. Firefox 3 is not available for the older system thus I have to use Firefox 2, thus losing out of all the new features and so forth. Next I wanted to download Quicksilver which is a great application for the Mac and is cloned for Windows in Launchy and for Linux in Gnome-Do / Deskbar / Katapult. The link for the older version which is compatible with 10.3.9 is apparently broken for Firefox 2 though I does work with Safari which is a relief. Imagine trying to get software compatible for your aging system only to be locked out due to the browser not supporting the website the website not supporting the browser. So I guess major releases (10.3 to 10.4 or 10.4 to 10.5) are treated as new operating systems if you come from the Windows world, considering that you have to pay for upgrades as well. Support for the older systems are apparent from the software availability (or lack there of). Thus 10.3 could be equated to Windows ME, 10.4 to Windows XP and 10.5 to Vista. And saying that older systems if you choose not to upgrade or if you can’t upgrade (due to hardware requirements) you are left in the dust. So that means assuming you do not upgrade the OS, Macs have shorter productive life spans than Windows machines because you quickly get software that only works on the new version of the OS.

Conclusion

Strange enough after recording the video above, the iBook got stuck zoomed in. Toggling enabling of zoom (Cmd+Alt+8) twice solved that but it’s strange that it got stuck zoomed in when the times I disable it now, it zooms back out. I guess this G4 doesn’t like me? But honestly I’ve been trying to give it a go but the finger dance trying to find the right key combination just frustrated the heck out of me so I can not recommend getting a Mac for users who use the keyboard like I do. So I deem OS X (based on this old iBook G4) as keyboard unfriendly

P.S. I wonder if the NTFS support is better now, previously when I installed the NTFS read/write driver the transfer speeds were dismal. But for now I guess I’ll stick with Linux and possibly seek Windows audio and video editors as one of the reason for getting a Mac was to look into those applications as well. But on the bright side that means I could possibly buy a new desktop for my current needs (maybe), a netbook, a phone (Nokia E51) and Vista? Ahhh I don’t remember having a wish-list like this before.

Powered by ScribeFire.