Slim Down for Summer with That's Fit

Terminal Tips: Disable annoying application crash dialogs


Don't you hate it when an application becomes unresponsive and crashes? Are you even more tired of reading annoying application crash dialog boxes? A simple Terminal hack allows you to never see these dialogs again. Just open Terminal (Applications > Utilities) and type:

defaults write com.apple.CrashReporter DialogType none

This will disable the "...unexpectedly quit" dialog that normally appears when an application crashes. If you ever want the dialogs to start appearing again, just replace "none" with "prompt".


Like tips like these? Try out TUAW's Mac 101 and Terminal Tips sections.

Terminal Tips: Make your Screensaver a desktop background


Have you ever wanted your screen saver to appear as a background image? Probably not. But if you like to show off to your Windows-using friends, then this tip can definitely help you out. By typing the following command into Terminal (Applications > Utilities), all on one line, and hitting enter, you will instantly see your screen saver displayed as a desktop background:

/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background

To get things back to normal (which you probably will want to do, as many screensavers will put undue load on your processor), either close the Terminal window, press control + C, or restart your computer. If you are running Leopard and have the clock overlay active, it will appear above all windows, which can get a little annoying.

Want more tips and tricks like this? Visit TUAW's Mac 101 and Terminal Tips sections.

Terminal Tips: Make hidden Dock icons transparent


Without using Exposé, it is hard to tell which Mac OS X applications are hidden and which aren't. But, with a simple Terminal hack, you can have all your application icons displayed as transparent. Simply open Terminal.app (Applications > Utilities) and type the following command exactly:

defaults write com.apple.Dock showhidden -bool YES

Once you type the command and press enter, you need to restart the Dock by typing "killall Dock" and pressing enter. Once the Dock restarts and you hide applications, you will notice that hidden applications have a transparent look. If you want to reverse the command, just replace the "YES" with a "NO" and restart the Dock again.

Like these tips and tricks? Why not take a look at TUAW's Mac 101 and Terminal Tips category.

Terminal Tips: Disable Dashboard


If you are the type of person that sees Dashboard as an application that just wastes space in your Dock (and an icon on your keyboard), then why not disable it? It is very easy to disable Dashboard; just type in the following command in Terminal.app (Applications > Utilities):

defaults write com.apple.dashboard mcx-disabled -boolean YES

You must restart the Dock in order for this hack to work, so type "killall Dock" into Terminal and press enter -- the Dock should restart. To enable Dashboard again, just type in the above command, replacing "YES" at the end with a "NO." Now when you try to launch Dashboard, nothing will happen; this will save you some system resources.

If you found this tip useful, take a look at TUAW's Mac 101 and Terminal Tips sections.

Terminal Tip: Add scroll arrows to both ends of scroll bar


Have you been paging through a document and wished that the scroll arrows were at both ends of the scroll bar? With a simple Terminal hack, you can have it your way. Just open Terminal.app (Applications > Utilities) and type in the following command:

defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth

You will need to restart your Mac to see the changes. If you want to change the scroll bars back to the normal way, just open the Appearance System Preference pane and select "Together" from the "Place scroll arrows section."

For more tips and tricks like this, visit TUAW's Terminal Tips and Mac 101 sections.

Terminal Tip: Stop disk image verification


Sure, we've all wanted to stop the pesky "Disk Image Verification" process that starts when you want to open that .iso, .dmg, or other disk image. While this process is a precaution against possibly installing/using corrupt files, sometimes it is completely unnecessary. To stop disk image verification forever, just open Terminal and type:

defaults write com.apple.frameworks.diskimages skip-verify TRUE


If you want verification enabled again, type the same command, replacing the "TRUE" with "FALSE." While verification is off, we recommend only using disk images from trusted sources.

Terminal Tip: Burning a disc


Are you a Terminal geek (or wannabe, but not the pop star type)? If so, did you know that you can burn discs right from the Terminal window with a simple command and a drag/drop? Just enter the following command followed by the path to a folder or disk image:

drutil burn filehere

Don't type the "filehere" -- that's where you put the path to the file/folder that you wish to burn. You can either type the location manually or drag and drop the file onto the Terminal window. But that's not all you can do with drutil; you can also eject media from the optical drive by typing "drutil eject." To see all of the available drutil options, just type in drutil for a quick list or man drutil for a full description.

TUAW Tip: Highlight items in gridded stacks

Highlight gridded stacks
The Dock's Stacks feature lets Leopard users view a folder's worth of stuff with one click. You'll either love it or hate it, use it or not. If you do use it, here's a little tip that improves it slightly (in my opinion).

When you've got a bunch of files from a Stack displayed in Grid View, it can be hard to spot the particular one you're looking for, especially if many of them look identical (such a collection of text files or word processor documents).

Luckily, there's a highlight you can switch on, that puts a whiter background around the file you're mousing over. It makes it slightly easier to ensure you click on the correct file.

The highlight appears normally if you use the arrow keys to move around a Grid, or if you type Command and the first letter of one of the files displayed. But this trick switches it on permanently, so that it is always in action whether or not you use these keyboard shortcuts.

Read on for all the commands.

Continue reading TUAW Tip: Highlight items in gridded stacks

Mac 101: Capture sharp screenshots

Earlier this week, we described several ways to create screenshots with your Mac. Using the keyboard shortcuts in the Finder is great, but you may have noticed that the results aren't very sharp. Ivan at creativebits noticed that, too, and figured out how you can correct the problem.

He explains that a basic screenshot creates a JPEG with a resolution of 60 by default. As is often the case, the solution is just a couple of Terminal commands away. Set the default format to png, pdf or tiff for much better results.

If you're not the Terminal type, check out Skitch, which takes simple, great-looking screen captures.

Mac 101: Finder window preferences

As we know, the Finder offers four ways to display your files. Namely icon view, list view, column view, and Cover Flow. Perhaps you prefer one over the others (let's say column view), but your windows open to icon view by default. That can be annoying but here's how to fix it.

First, open a new Finder window. Next, select your preferred display method and then close the window without doing anything else. Don't open a folder, drag an icon, nothing. Now subsequent Finder windows will default to your preferred setting.

Freeware Find: IceClean 3.0b

IceClean 3.0.6Most of us know that we should perform regular maintenance on our Macs, usually simple things such as doing backups and shaking pizza crumbs out of the keyboard. But did you know that there are a number of UNIX System Tasks that are available for keeping your Mac running at peak performance?

A lot of Mac users don't want to pull up Terminal and type arcane text into the command line, so MacDentro has a GUI front end that you can use to run those commands and keep your Mac cruisin'. IceClean, now at version 3.0.6 has menus for OS X Maintenance, Cleanup, Security and Network, and Utilities, all of which are packed with menu choices or keyboard shortcut equivalents that make mundane maintenance chores simple to perform.

There are other apps available -- Maintenance and MacJanitor come to mind -- that perform similar tasks, but neither of those programs comes close to the depth of capability of IceClean.

The price is right, too - it's free, although you might want to send the MacDentro folks a donation if you find yourself using IceClean regularly. Download IceClean here.

Tip of the hat to our very own Victor Agreda for this find!

SSHing for fun and profit

I'm sure you've heard all the cool kids talking about SSH in the cafeteria during lunch, but you had no idea what it was. Be ignorant no more, because Devanshu Mehta is writing a series of posts about using SSH for Apple Matters.

The first in the series explains the basics of SSH and what you'll need to setup before you can start securely tunneling like a spy.

Here's the really short explanation of SSH: it allows you to create secure connections between two computers. The protocol is a standard, so you can SSH into almost any kind of computer, assuming it is running SSH and you have the proper credentials.

I'll be keeping my eye out for the upcoming parts in this series, because who can't use some more secure connections in their life?

Terminal tip: easy email attachments

If you're looking to automate the sending of emails with attachments quickly and easily (and aren't too concerned with having some glamorous stationery), Terminal is once again your friend. It's possible with Mail.app and AppleScript, but there are a few pitfalls and, for most purposes, a simple shell command will do the trick:

(echo "This is the message body";uuencode Desktop/yourDoc.doc yourDoc.doc)|mail -s "Test attachment" someone@adomain.com

The magical command in this one is uuencode, which is used to encode and decode binary files and can be used on just about any file type. The two arguments in the command above define the name and location of the source file and the name the file should have when it's received. The parenthetical statement at the beginning combines the results of the echo and uuencode commands which are then piped (|) to the mail command. The mail command, having received the body text and attachment, is told to append a subject (-s "Subject") and send it to the address specified. If you wanted to send a longer text file – with line breaks, perhaps – as the body, you could save the text in an external file and replace the echo statement with cat myfile.txt.

By adding a little complexity you could make a shell script that takes arguments, making the automation a little more flexible. But TUAW reader Adam was wondering how to send a photo he'd taken automatically using AppleScript (triggered by a Mail Rule). So here's an AppleScript implementation that doesn't require opening Terminal or dealing with Mail.app scripting:

set msgBody to "This is the body of the message"
set msgSubj to "Message subject"
set mailDest to "someone@adomain.com"
do shell script "(echo '" & msgBody & "'; uuencode /Users/you/Desktop/pictosend.jpg pictosend.jpg) | mail -s '" & msgSubj & "' " & mailDest

Make sure you remove any line breaks from that last line. This obviously requires a predetermined image name, but that could be made a variable as well and used as part of a larger script. We hope this helps, Adam!

Create a PDF of newspaper headlines with Automator

Some of you news hounds may be aware of Newseum, the "interactive museum of news." Every day, they publish the front pages of over 600 newspapers from several companies. Wouldn't it be cool to get just the ones you like delivered to your (virtual) door as a single PDF? Automator to the rescue!

Dave Bednarski sent a great script he wrote to the folks at 37signals which serves that purpose. Basically, you enter the addresses of the papers you'd like to receive, filter for PDFs, download the result to the desktop and combine the lot by appending the pages into one big file. It's just that easy.

For an added bonus, attach this script to an iCal event and have your news waiting for you each morning. All that's missing is your mug of coffee, and the muddy pawprints of the family dog on the carpet after he runs out in the rain to chase the paperboy.

Terminal Tip: using whois


Whois or "Who is," is a way to query for contact information (or domain name ownership information) about the person or company in control of a site. If you want to know who runs a website, you don't have to look any further than your Mac and opening a Terminal window.

All you have to do is open Terminal.app (/Applications/Utilities/) and type in "whois" and space followed by a URL. For instance, the following command would give you the whois information for tuaw.com: whois tuaw.com.

You can do this for almost any website; however, some domain names use some form of a hiding service from their registrar that allows them to hide their contact information. Be forewarned that you shouldn't use information like this to stalk people!

Please note that if you have Terminal-itis, or are scared of the Terminal, you can use Apple's Network Utility in Mac OS X to do a whois query. Just open Network Utility.app (in the /Applications/Utilities/) and click the "whois" tab. From there you can enter a URL and do a query, all within a pretty "Aqua-licious" user interface.

Next Page >

TUAW Features

back-to-school
Mac 101 ask-tuaw
Mac News
WWDC (251)
.Mac (66)
Accessories (652)
Airport (75)
Analysis / Opinion (1424)
Apple (1698)
Apple Corporate (580)
Apple Financial (200)
Apple History (51)
Apple Professional (54)
Apple TV (164)
Audio (450)
Bad Apple (131)
Beta Beat (155)
Blogging (87)
Bluetooth (19)
Bugs/Recalls (57)
Cult of Mac (879)
Deals (225)
Desktops (116)
Developer (282)
Education (110)
eMac (10)
Enterprise (147)
Features (412)
Freeware (399)
Gaming (397)
Graphic Design (38)
Hardware (1308)
Holidays (37)
Humor (589)
iBook (66)
iLife (240)
iMac (185)
Internet (340)
Internet Tools (1342)
iTS (982)
iTunes (823)
iWork (23)
Leopard (376)
Mac mini (112)
Mac Pro (54)
MacBook (206)
MacBook Air (83)
Macbook Pro (226)
MobileMe (47)
Multimedia (459)
Odds and ends (1489)
Open Source (282)
OS (940)
Peripherals (214)
Podcasting (183)
Podcasts (95)
Portables (198)
PowerBook (136)
PowerMac G5 (51)
Retail (612)
Retro Mac (50)
Rig of the Week (42)
Rumors (642)
Software (4459)
Software Update (428)
Steve Jobs (254)
Stocking Stuffers (50)
Surveys and Polls (98)
Switchers (114)
The Woz (35)
TUAW Business (257)
Universal Binary (281)
UNIX / BSD (61)
Video (908)
Weekend Review (84)
WIN Business (47)
Wireless (89)
Xserve (39)
iPhone/iPod News
iPhone (1789)
iPod Family (2118)
App Store (158)
SDK (29)
Mac Events
One More Thing (27)
Liveblog (2)
Other Events (226)
Macworld (489)
Mac Learning
AppleScript (4)
Ask TUAW (107)
Blogs (85)
Books (26)
Books and Blogs (62)
Cool tools (451)
Hacks (472)
How-tos (490)
Interviews (44)
Mods (191)
Productivity (591)
Reviews (114)
Security (167)
Terminal Tips (66)
Tips and tricks (575)
Troubleshooting (173)
TUAW Features
iPhone 101 (36)
TUAW Labs (4)
Blast From the Past (19)
TUAW Tips (150)
Flickr Find (38)
Found Footage (90)
Mac 101 (111)
TUAW Interview (31)
Widget Watch (198)
The Daily Best (1)
TUAW Faceoff (6)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Sponsored Links

The Unofficial Apple Weblog (TUAW) bloggers (30 days)

#BloggerPostsCmts
1Cory Bohon561
2Robert Palmer5544
3Steven Sande5115
4Mike Schramm270
5Erica Sadun251
6Michael Rose2330
7Mat Lu2110
8Dave Caolo210
9Giles Turnbull200
10Christina Warren1428
11Brett Terpstra120
12TUAW Blogger70
13Victor Agreda, Jr.512
14Jason Clarke21
15Scott McNulty20

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Apple Vanity Plates
DiscPainter
Crash Bandicoot Nitro Kart 3D
Macworld Expo 2007 show floor
Apple Texas Hold 'Em
The Macworld Faithful in Line

 

    Most Commented On (7 days)

    Recent Comments

    More Apple Analysis

    More from AOL Money and Finance

    Other Weblogs Inc. Network blogs you might be interested in: