Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use the Mountain Lion installer behind a Squid proxy server System

When re-installing Mountain Lion from the Recovery Partition, the installer needs to check installation eligibility with Apple's servers. If your computer needs to access the Internet through a proxy server for whatever reason, the installer won't pick up on this; it will attempt to make a direct connection, fail, and tell you to contact AppleCare.

As per my earlier hint (10.7: Get the Lion installer to work behind a proxy server), you could simply use the networksetup command in Terminal to get around this. However, as of 10.8 Apple's software download servers appear to require additional checks to verify machine eligibility which - if you're behind a squid proxy server - may require additional configuration changes to squid itself in order for it to work. You may therefore need help from your network administrator for that part.

read more (214 words)   Post a comment  •  Comments (1)  
  • Currently 2.20 / 5
  You rated: 3 / 5 (5 votes cast)
 
[6,149 views] Email Article To a Friend View Printable Version
Keyboard shortcuts for conflicting menu items Apps
When assigning a keyboard shortcut to a program's menus in System Preferences, you can run into a problem if more than one menu item in the program has the same name.

If you describe the full 'menu path' using '->' as a delimiter between items (no spaces), then OS X will follow that path and select the correct menu item.

For instance:
Font->Edit->Increase
The '->' symbol seems to be used from Mountain Lion and later. Earlier systems use '>' on its own.

I don't claim to have discovered this idea myself, but the hint doesn't seem to be very well-known, so I thought it should be posted here, if it hasn't already.

Credit goes to this discussion thread on the Apple forums.

[crarko adds: If someone still happens to be running Lion (10.7) can you try this and post about which delimiting symbol worked? The referenced Apple discussion implied the change happened with 10.8 but the original text for the hint said 10.7, and I'm curious to know which is correct. Thanks.]
  Post a comment  •  Comments (6)  
  • Currently 3.43 / 5
  You rated: 1 / 5 (14 votes cast)
 
[7,143 views] Email Article To a Friend View Printable Version
10.9: Updating SSH private keys System 10.9
Here is a method for updating SSH private keys to work with OS X 10.9 Mavericks, using Terminal commands.
cd /Users/nameofuser/.ssh
cp id_rsa{,.bak}
chmod +w id_rsa id_rsa.pub
openssl rsa -in id_rsa -out id_rsa         # decrypt in place
openssl rsa -in id_rsa -aes256 -out id_rsa # encrypt in place
ssh-keygen -y -f id_rsa > id_rsa.pub       # regen public key
chmod 400 id_rsa id_rsa.pub
The source of this hint.

[crarko adds: I haven't tested this one. At least not yet. The solution seems to come from a question asked on StackExchange.]
  Post a comment  •  Comments (3)  
  • Currently 2.67 / 5
  You rated: 1 / 5 (6 votes cast)
 
[7,109 views] Email Article To a Friend View Printable Version
10.9: View arbitrary number of days in Calendar Apps
The behavior of this hint has changed slightly with Mavericks Calendar app from the older iCal method.

Now you first need to go to day view (e.g., by pressing Command+1) and then you can use Command+Option+(2-6) to view 2 to 6 days in the week view.

It would be nice if something like this was also available for month view (2-4 weeks) and year view (2-11 months).

[crarko adds: Not much for me to add here.]
  Post a comment  •  Comments (3)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (10 votes cast)
 
[6,187 views] Email Article To a Friend View Printable Version
10.9: Messages: retype last message Apps
I don't know how long this has existed (or what to call it), but in 10.9.1, just as one is able to quickly retype previous commands in Terminal by pressing the up arrow key, it is possible to retrieve a copy of entire, previously typed messages in Messages.app with a similar key command.

Just press Option+Up arrow while the cursor is in the message-typing box. How many previous entries it will resurrect appears to depend on how much of the message history is currently in memory. If you scroll further up to load more of the message history, those additional messages become available to the key command.

[crarko adds: I believe we called it the command buffer in Terminal.]
  Post a comment  •  Comments (2)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (6 votes cast)
 
[4,553 views] Email Article To a Friend View Printable Version
10.9: iOS Keyboard Shortcuts in OS X Mavericks System 10.9
I came across this by pure accident but did you know that all of your iOS Keyboard Shortcuts that you create are then stored to iCloud Keychain and can be used in OS X 10.9?

I was in iMessage when I accidentally typed "eag" which is a shortcut I have created to easily insert my work email in iOS. Well I typed that and pressed space and the text autofilled into the message. So then I went ahead and typed other shortcuts I actively use in iOS and sure enough, they all auto-complete very nicely. After noticing this, I went to System Preferences » Keyboard » Text and found an entire Menu that you can control this (and I assume will also sync to iCloud Keychain).

[crarko adds: I'm pretty sure I've seen this mentioned before, but in case it is a new and useful fact to somebody here it is.]
  Post a comment  •  Comments (3)  
  • Currently 3.75 / 5
  You rated: 3 / 5 (8 votes cast)
 
[6,562 views] Email Article To a Friend View Printable Version
Change background and font size of Notes.app Apps
I don't like paper-like background of OS X Notes.app, and the fact that, usually after syncing with its iOS counterpart, the application doesn't remember the larger font size which I've set. Here's how I fixed it to my satisfaction.

First, navigate to /Applications and Control+click on the Notes.app icon. In contextual menu, select the Show Package Contents item. Then, browse the content of the app's package to Resources, and inside that find these two files: pad.css and paper.tiff. Make a backup copy of these files in a safe place in case you want to revert back to them sometime; otherwise you'd have to reinstall OS X to do so.

Copy the former into a folder you have write permission for, and open it with any text editor. Just replace the @[FONT_SIZE] on fifteenth line with whatever font size suits you. I've bad eyes and have choosen 18px. Save the file and replace the original with this modified version.

Then, find or create a tiff image of the color you'd to replace the notes background image with. By the way, I think you could you any picture. I just used Capture to capture a plain white portion of my screen. Be sure this image file you produce is in tiff format. If not, you can easily convert it with Preview. Name it paper.tiff and replace the original file.

Restart Notes.app and changes should be there.

[crarko adds: I haven't tried this but as a general rule of thumb I'd make a backup of the entire application, as well as the files to be modified. Also it's possible that a Software Update could overwrite your changes, so just be prepared.]
  Post a comment  •  Comments (1)  
  • Currently 1.86 / 5
  You rated: 1 / 5 (21 votes cast)
 
[5,283 views] Email Article To a Friend View Printable Version
Change Paste key combinations for TextEdit Apps
I recently switched from working in plain text files to working in rich text in TextEdit and one of the most annoying things about rich text is pasting from other types of windows. I like to use a fixed width font most of the time, such as Courier New. Unless I'm diligent and use Command+Option+Shift+V, I end up with a mix of fonts and font styles. I finally got fed up enough with it today to do something about it. This work-around will only work with pasting from the keyboard. It will not correctly paste text that has been dragged and dropped.

The solution is to use Keyboard Shortcuts to switch the Edit menu's items for Paste and Paste and Match Style. It's such a simple fix, I never thought to do it before now. After this fix, Command+V will paste and match style and Command+Option+Shift+V will paste (and keep the style the copied text was in).
  • Open System Preferences
  • Click Keyboard
  • Click the Shortcuts tab
  • Click the "+" button
  • Select TextEdit
  • For Menu Title, enter exactly: Paste
  • For keyboard shortcut, type a Command+V
  • Click Add
  • Click the "+" button
  • Select TextEdit
  • For Menu Title, enter exactly: Paste and Match Style
  • For keyboard shortcut, type a Command+Option+Shift+V
  • Click Add
There you go. Now you can paste with Command+V and always match the style of the surrounding text.

[crarko adds: Simple, but useful. This kind of thing is applicable to pretty much any application. Do most folks here look into customizing their UI to suit their own work habits? For me editing this site depends heavily on customizations in (and around) BBEdit.]
  Post a comment  •  Comments (8)  
  • Currently 2.50 / 5
  You rated: 4 / 5 (4 votes cast)
 
[4,651 views] Email Article To a Friend View Printable Version
N-Up Printing from iOS using Printopia iOS devices
Printopia is a great tool for exposing non-Air Print printers on a local network so that you can print to them from any iOS device. But even better is that it can expose PDF Workflow to do your bidding. In my case, I wanted to do n-up printing (n pages per sheet).

To do this, open up Automator and create a Print Plugin. For the workflow, you only need to add a single Run Shell Script action with the following line:
lp -d <printer> -o number-up=2 -o media=Letter "&#36;*"
The details of the command will vary depending on your needs. In my case, I wanted 2-up printing to go do my default printer, so I could exclude the -d option.

To see a list of available print queues, type lpstat -a in terminal.

Once you save your Print Plugin, go to the Printopia in System Preferences and add your new plugin as an available destination for printing.

[crarko adds: I admit to being a happy Printopia user, and know there are others around here as well. While not needing this particular item myself, it does suggest some other things to try. Which is why I think it's a useful hint.]
  Post a comment  •  Comments (3)  
  • Currently 2.71 / 5
  You rated: 2 / 5 (7 votes cast)
 
[4,927 views] Email Article To a Friend View Printable Version
10.9: Configure Preview to display PDF thumbnails Apps
Suppose you want to open a PDF with thumbnails displayed but the person who produced it did so with table of contents displayed.

If you change Preview's configuration for this PDF to thumbnails by selecting View » Thumbnails and then save it by selecting File » Save, the next time you open the PDF it will display the Table of Contents rather than thumbnails.

Instead of selecting File » Save, select File » Export as PDF... from the list.

In the Export sheet that displays, note that '.pdf' is appended at the end of the filename. Thus, if the file already had a .pdf extension, it now will have a duplicate extension.

Modify the filename as desired, navigate to the desired destination, and click the Save button. The resultant PDF subsequently will open with thumbnails displaying automatically.

An alternative to using Preview’s above menubar items is to use its View and Print toolbar buttons (the former is included in Preview’s default toolbar set; the latter would need to be added to the toolbar after selecting View » Customize Toolbar...).

Click the View button, select Thumbnails, then click the Print button. In the Print sheet that displays, click the PDF button in the lower left corner of the sheet. Select Save as PDF... from the popup menu.

Modify the filename as desired, navigate to the desired destination, and click the Save button. The resultant PDF subsequently will open with thumbnails displaying automatically.

[crarko adds: This may not work if the original PDF is protected. Over the years I've found PDF isn't quite the open standard I'd like it to be. Still, it remains better than the alternatives. A quick question: is this really 10.9 only? I didn't see it as an option in Snow Leopard, but what about Lion/Mountain Lion?
  Post a comment  •  Comments (0)  
  • Currently 2.40 / 5
  You rated: 5 / 5 (5 votes cast)
 
[5,078 views] Email Article To a Friend View Printable Version