The Wiert Corner – irregular stream of stuff

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

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

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

    Join 1,722 other followers

Archive for the ‘OS X’ Category

Mac OS X: restarting Google Drive when it shows a spinning wheel

Posted by jpluimers on 2017/03/29

Every now and then, Google Drive on Mac OS X gets confused and starts showing the spinning wheel when hovering over the menu bar icon similar to for instance DropBox does every once in a while.

This is how to terminate and restart Google Drive from the terminal (no need for su):

killall -v -SIGKILL Google\ Drive
open -a Google\ Drive

Alternatively you can start Google Drive using this:

/Applications/Google\ Drive.app/Contents/MacOS/Google\ Drive &

I found this executable through osx – Find all executable files within a folder in terminal – Ask Different

Note that this won’t kill Google Drive as it sends the TERM signal (SIGTERM):

killall -v Google\ Drive

–jeroen

Posted in Apple, bash, Development, Google, GoogleDrive, iMac, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X, OS X El Capitan, OS X Maverick, OS X Mountain Lion, OSX Yosemite, Power User, Scripting, Software Development | Leave a Comment »

ducks: How Do I Find The Largest Top 10 Files and Directories On a Linux / UNIX / BSD?

Posted by jpluimers on 2017/03/20

Explains how to find out top 10 files and directories under Unix / Linux using sort and du command in human-readable format.

Interesting, especially

alias 'ducks=du -cks * | sort -rn | head'

Source: How Do I Find The Largest Top 10 Files and Directories On a Linux / UNIX / BSD?

via: Joe C. Hecht and nixCraft.

–jeroen

Posted in *nix, *nix-tools, Apple, BSD, Linux, Mac, OS X, Power User | Leave a Comment »

Microsoft Remote Desktop 8 on OS X stores RDP configuration in com.microsoft.rdc.mac.plist and passwords in keychain

Posted by jpluimers on 2017/03/15

One day I write some scripts based on:

Some starting materials are at:

A thing I learned is that the Microsoft Remote Desktop 8 is basically a rebranded iTap RDP (it looks like Microsoft bought iTap RDP for Mac, as iTap RDP for Mac is now discontinued)

–jeroen

Posted in Apple, Development, OS X, OS X El Capitan, OS X Maverick, OS X Mountain Lion, OSX Yosemite, Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Scripting, Software Development, Windows, XML, XML/XSD | Leave a Comment »

iMovie on a 2010 iMac was starting and running slow: 2 simple steps solved that

Posted by jpluimers on 2017/02/27

iMovie on a 2010 iMac was starting and running slow. During startup, it wasn’t using much memory, but during editing it did: less than 2 gigabyte out of 8 gigabyte free memory left.

The hard-disk was like 30% full, there wasn’t much in the cache, few processes were auto-starting and the recycle bin was almost empty.

So my first thought was adding more RAM (which is easy): duplicating it to 16 megabyte was easy and not expensive when you look at the Amazon prices for it.

After that it was faster, but not really fast: especially the loading was still slow (less slow than before, but still taking minutes).

Then I scanned for permission issues and there were quite a few as the machine had been getting updates since 2010. So I repaired the permissions using disk utility.

Now iMovie loaded much faster as well: in under a minute.

So out of 17 Ways to Speed Up Mac OS X Lion – ChrisWrites.com, only 2 steps were really needed so far.

–jeroen

Posted in Apple, iMac, Mac, OS X, OS X El Capitan, OS X Lion, OS X Maverick, OS X Mountain Lion, OS X Snow Leopard, OSX Yosemite, Power User | Leave a Comment »

Finder doesn’t work since Yosemite – Ask Different

Posted by jpluimers on 2017/02/20

Source: Finder doesn’t work since Yosemite – Ask Different [WayBack]:

This fix from Reddit worked perfectly for me!!

http://www.reddit.com/r/osx/comments/2jtikj/finder_not_responding_new_yosemite_install/ [WayBack]

You can most likely fix the issue by clearing out Finder’s saved state, caches, and/or settings.

Use Spotlight (the search icon in the far right of the menu bar) to find and open the “Terminal” application. Triple-click the following line in order to copy and paste it into Terminal’s window:

rm -fR ~/Library/Saved\ Application\ State/com.apple.finder.savedState ~/Library/Caches/com.apple.finder; killall Finder

If it still doesn’t work, try this one:

mv ~/Library/Preferences/com.apple.finder{,.backup}.plist; killall Finder

–jeroen

Read the rest of this entry »

Posted in Apple, iMac, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X, OSX Yosemite, Power User | Leave a Comment »

 
%d bloggers like this: