The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Apple’ Category

Cut and Paste Files & Folders in Mac OS X

Posted by jpluimers on 2014/04/18

Boy, I wish I had found this far earlier:

  • in Windows Explorer this is called cut & paste:
    Ctrl+X & Ctrl+V
  • in Mac OS X Finder this is called copy & move items here:
    Command+C & Command+Option+V

Read the rest of this entry »

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, OS X 10.8 Mountain Lion, Power User | 3 Comments »

MacBook Fn/Option/Ctrl keyboard shortcuts

Posted by jpluimers on 2014/04/11

I know that Apple likes “design”, but boy their desing resulted into Mac OS X having lots of Fn/Option/Ctrl/Shift keyboard shortcuts.

Being a keyboard person (before the DOS era), I love to learn new keyboard shortcuts to make my life easier, while vendors are step by step hiding information about them.

I will update this table over time to reflect even better the ones I use most regularly.

Read the rest of this entry »

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SpotLight | Leave a Comment »

Mac OS X: Tools that enable keyboard shortcuts to move a window from one monitor to another (via: Ask Different)

Posted by jpluimers on 2014/04/10

One of the frustrating things about using a Mac, is the pain to find keyboard shortcuts for everyday tasks.

Having had RSI in the early 1990s, I’ve learned to use the keyboard for virtually everything. So I’m used to find keyboard shortcuts on most operating systems, or write scripts to make common tasks easier.

On most *nix or Windows systems, those shortcuts are either there, easy to enable or tools are there to enable them.

For OS X, somehow this seems much harder, so I’m always glad to bumped into answers to questions like

Is there a keyboard shortcut to move a window from one monitor to another? – OSX/Ask Different.

From the answers in that question it is clear this is not built-in behaviour in OS X.

Also the answers show a few tools that can (some free, some paid). So those are on my research list.

But I’m already glad to know that these tools are available.

I’m also going to dig a bit more into Hands-on with OS X Mavericks: Multiple-display support | Macworld, as I’m sure there are some subtle things with multi-monitor setups that I’ve  not yet found myself.

–jeroen

via: osx – Is there a keyboard shortcut to move a window from one monitor to another? – Ask Different.

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 3 Comments »

Mac OS X: Snow Leopard (10.6) and Lion (10.7) had this, but time remaining on battery icon is gone since Mountain Lion (10.8)

Posted by jpluimers on 2014/04/07

Every once in a while, some major OS vendor removes a really useful feature.

As of OS X Mountain Lion (10.8), the battery icon indicator cannot show the remaining time on battery any more, though it uses that time to indicate low power.

I’ve found that feature really useful in Lion (10.7) and Snow Leopard (10.6), and I’m pretty sure OS X versions before that also had the option to show the remaining battery (charge) time.

There is a big thread about the lack: Time remaining on Mountain Lion battery: Apple Support Communities.

A quick scan in that thread got me a these replacements:

I hope the $099 one is not written by the people that removed the feature from OS X Mountain Lion (:

After trying a few of the above, I filed a complaint at Apple – Mac OS X – Feedback, clicked on “I have this question too” in Time remaining on Mountain Lion battery and went for SlimBatteryMonitor as it uses the least menu bar estate.

Note that for most applications having icons in the menu bar, this is impossible: osx – Can I change the order of non-apple icons on the menu bar of my MacBook? – Super User.

–jeroen

via: Time remaining on Mountain Lion battery: Apple Support Communities.

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

2014 and VMware Fusion has still no built-in “Clone this VM”. Workaround from VMware Communities

Posted by jpluimers on 2014/04/04

It is well into 2014 now, and VMware Fusion still has no way to Clone a VM like VMware Workstation can.

Too bad. Luckily, IrishMike posted a workaround for this about 7 years ago.

The easiest is if you keep these names very similar:

  • Display Name of the VM (that shows up in your Virtual Machine Library)
  • Name of the directory
  • Name of the .VMDK files
  • Name fo the .VMX files

I do moste of the editing from the console, and used this trick to edit text files from the console.

These are the steps to clone from “master” to “clone” with a little bit of post-editing from my side:

Re: How do we “copy” an entire virtual machine?

  1. Copy the directory holding all the “master” VMware Fusion files to a new one (lets call the directories “master.vmware” and “clone.vmware”).
  2. Inside the “clone.vmware”  directory, change all the files named “master.” to “clone.”
  3. Inside the “clone.vmware” directory, remove these subdirectories if they exist:
    – any directory ending in “.lck”
    – Applications
    – appListCache
    – caches
  4. Then in the same directory, edit the .vmx file changing all occurrences of “master” to “clone”
    – any “fileName” entry
    – any “displayName” entry
    – any “nvram” entry
    – any “extendedConfigFile”
    – any “checkpoint.vmState”
  5. Also in the same directory, edit the main .vmdk file and change the mane of the file from “master-flat.vmdk” to “clone-flat.vmdk”
  6. Then from the Finder or from VMware Fusion, open the .vmx file
  7. Finally tell VMware Fusion that you “copied”  the VM, so it gets a new hardware ID.

Then we’re off and running.

–jeroen

via: VMware Communities: How do we “copy” an entire virtual….

Posted in Apple, Fusion, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.7 Lion, MacBook, OS X 10.8 Mountain Lion, Power User, VMware, VMware Workstation | Leave a Comment »

Mac/Android: Transfer files through USB (via: Nexus Help)

Posted by jpluimers on 2014/03/31

Too bad a Mac – no matter the OS X version – does not interoperate out of the box with Android like a Windows machine does.

On a Mac you need Android File Transfer to access the Android storage from your Mac.

This transfer app is very fast though and is way easier to use than doubleTwist.

From the Nexus help:

Mac OS transfer

  1. Install Android File Transfer from www.android.com/filetransfer, and follow the instructions there. (If you are using Android File Transfer for the first time, double-click it to open it. After the first connection, it opens automatically whenever you connect.)
  2. Connect your phone to your computer with a USB cable. Android File Transfer starts, if it’s not already running, and opens a window that displays the contents of your phone, along with storage space details at the bottom of the window.
  3. Work with this window much as you do in the Finder window: open and close folders, create new folders, and drag files to or from it and other Finder windows.
  4. Disconnect the USB cable when you finish.

–jeroen

via: Transfer files through USB – Nexus Help.

Posted in Android Devices, Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

smallestdotnet.com via: shanselman/SmallestDotNet (thanks @shanselman)

Posted by jpluimers on 2014/03/29

Brilliant piece of open source:

SmallestDotNetSmallestDotNet.com is a single page site that does one thing. It tells you the smallest, easiest download you’d need to get the .NET Framework on your system.

Even on Mac OS X it is helpful and recommends Mono and on iOS it recommends looking at MonoTouch.

Thanks Scott Hanselman for making this available!

–jeroen

via:

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Apple, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , | Leave a Comment »

osx – Midnight Commander (MC) installer for Mac OS X – Super User

Posted by jpluimers on 2014/03/28

Must have on a Mac when you use terminal; either installation way is fine. I got mc from louise, as that was the first one I found.

osx – Midnight Commander (MC) installer for Mac OS X – Super User.

–jeroen

Posted in Apple, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

*nix: recursively listing “hidden” files from the current directory

Posted by jpluimers on 2014/03/25

As a follow up on my recent rsync on ESXi 5.1 post, as – when rsync in ESXi terminates the hard way because of a lost SSH connection – rsync can leave “hidden” files behind.

A small script that recursively shows the hidden files (those starting with a dot) starting from the current directory:

find . -iname ".*"

More of those (including deleting them, filtering for only files or only directories, etc) are at Linux / UNIX: Bash Find And Delete All Hidden Files Directories.

Note: don’t try to outsmart using something like piping through grep "\/\." as that will also match files who’s parent directories are hidden.

–jeroen

via:

Posted in *nix, Apple, bash, Development, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, VMware, VMware ESXi | Tagged: , | Leave a Comment »

How to copy a file with I/O errors? (via: Not a complete failure » Blog Archive)

Posted by jpluimers on 2014/03/24

Blast from the past, and happy I found back the original blog that pointed me to this: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.

A long while ago, I helped out a friend with a HDD that was partially working. He neede the bits of a file that had become unreadable by regular means.

dd to the rescue: it takes a lot longer, but gets the job done eventually. Eventually can be T+eternity.

Note that you always should copy such a file to another drive, like described in the above blog.

Something like this (the parameters are explained at the dd man page):

dd if=/mounting-path/directory-path/damaged.mp4 of=resurrected.mp4 conv=noerror,sync

Usually for creating disk images, dd works on *n*x, Mac OS X, Windows with for instance Cygwin, ESXi, etc.

See also: linux – Rescuing a hdd with bad sectors: dd vs gddrescue – Super User.

–jeroen

via: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.

Posted in *nix, Apple, Cygwin, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, SuSE Linux, VMware, VMware ESXi | Leave a Comment »