I spent a lot of time on Windows a long time ago. And one of the things I got used to was having hard drives on the desktop. And I liked it. So when Apple took them off the desktop I started running these commands on new accounts only own systems. The other day when I gave them to someone, they said I should post them. So here goes… To show removable media (cards, etc): defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true To show external hard drives (USB, Thunderbolt, firewire, etc): defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true To show mounted servers (AFP, SMB, NFS, etc): defaults write com.apple.finder ShowMountedServersOnDesktop -bool true…
-
-
Command Control Power Podcast
Recently, I had the pleasure of doing a Podcast with Command Control Power. We laughed, we cried and we talked about Yetis. Fun times. Check it out at 082: Interview with Charles Edge of JAMF Software and Krypted.com.
-
The 12 Days Of Krypted
Merry Christmas ya’ll! On the first day of Christmas my true love gave to me one 32 gig iPad On the second day of Christmas my true love gave to me two bash one-liners On the third day of Christmas my true love gave to me three Red Hat servers On the fourth day of Christmas my true love gave to me four email blasts On the fifth day of Christmas my true love gave to me five retweets On the sixth day of Christmas my true love gave to me six regular expressions On the seventh day of Christmas my true love gave to me seven lines of perl…
-
Happy Holidays
Merry Christmas and to all a good night! <html> <head> <title>Merry Christmas</title> <script type="text/javascript"> function MerryChristmas() { alert ("Merry Christmas!"); } </script> </head> <body> <a href="javascript:MerryChristmas()">MerryChristmas</a> </body> </html>
-
Disable Natural Scrolling With a Script
I guess it’s a sign of my age. But I can’t stand that whole natural scrolling thing. So I disable it as a part of my imaging process. To do so, set the com.apple.swipescrolldirection global domain to false using defaults, as follows: defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false To set it back: defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true
-
Disable The Startup Sound In OS X
Sometimes you have to reboot on an airplane or with someone sleeping close by. When this happens, it helps if you’ve disabled the startup sound in OS X. To do so, run the following command to set nvram with an empty SystemAudioVolume: sudo nvram SystemAudioVolume=” “
-
Securely Empty The Trash By Default
You can empty the OS X trash securely by choosing the Secure Empty Trash option from the Finder menu. However, you can configure the empty trash option to be a Secure Empty Trash operation. To do so, write an EmptyTrashSecurely key into the com.apple.finder.plist. Use defaults to write the key into this plist as follows: defaults write com.apple.finder EmptyTrashSecurely -bool true
-
Roundcube for OS X Server
The latest Roundcube installer for OS X Server is now available at http://topicdesk.com/downloads/roundcube. This update, which provides a pretty awesome WebMail interface to OS X Server’s Mail Service provides the following: One installer that supports all Mavericks and Yosemite Roundcube WebMail 1.0.3 installed as a WebApp Automatically Configured Plugins Roundcube CardDav: Server-based address books Roundcube Managesieve: Server-side mail filtering and vacation messages PHP and Roundcube Config automatically configured for a typical Mac installation sqllite database – we no longer use Postgres Integration with the Mail Service running on OS X Server
-
Reboot Your Own Machine At MacMiniColo
Even a Mac needs to be rebooted sometimes. If you host a computer at Mac Mini Colo, it’s pretty easy to reboot. To reboot your system, log into your account with MacMini Colo. Once logged in, click on Computers and then click on the computer that you’d like to reboot. Then click on the Reboot button and confirm the reboot.
-
Simple Preflight and Sanity Checking in Scripts
I was recently building some preflight scripts and was looking to record some information about a machine live, before proceeding with a script. I found the cheapest way to determine information about architectures and chipsets when scripting preflight scripts for OS X to be the arch and machine commands respectively. For example, to verify the architecture is i386, use the arch command with no options: /usr/bin/arch Which simply outputs “i386”: i386 To check the machine type, simply use the machine command: /usr/bin/machine Which outputs as follows: x86_64h