Dec 31, '12 07:30:00AM • Contributed by: kirkmc
H/t OS X Daily.
Add folders of wallpaper to Desktop & Screen Saver preference pane
Dec 31, '12 07:30:00AM • Contributed by: kirkmc
If you like to use different wallpaper on your desktop, you might want to add folders of graphics you've collected to be selected at random. You can do this by opening the Desktop & Screen Saver preference pane, then clicking on the Desktop tab, clicking on + and navigating to your folder. But there's a quicker way: just drag the folder to the Folders section of the sidebar. You can add one or more folders here quickly.
H/t OS X Daily.
Post a comment • Comments (0)
Scripts to disable and enable password for lock screen after sleep or screen saver
Dec 07, '12 07:30:00AM • Contributed by: MacUser06
Here is two small scripts that I use to set and unset the password prompt when I lock the screen, or put my Mac to sleep. It is a nuisance to have to unlock the screen by entering the password, when at home. But I wouldn't leave my Mac anywhere without it.
I have called them setScreenPassword and unsetScreenPassword. I call them from QuickSilver, and you could use another launcher to do the same. The nifty thing about Quicksilver in this matter, is that if I activate it, I can see that I have turned on setScreenPassword, as it displays the last command before I start typing again.
I prefer to see the box in the System Preference pane get clicked, and unclicked. I have an old MacBook Pro, so I have added the delay of 0 so you can see where to add increments of 0.2 seconds, until you see the check box gets checked, or unchecked.
Make home Library sub-folders available to Spotlight
Nov 29, '12 07:30:00AM • Contributed by: llee
Here's one approach to making items in your home Library folder searchable in Spotlight.
Spotlight searches exclude items that exist in the user's home Library folder (now hidden by default). There are some items that normally reside in the home Library folder that I want to be available for my Spotlight searches. Rather than trying to find a hack to defeat the system's exclusion of the home Library folder for Spotlight, I use a method that doesn't require crossing the boundaries of what the OS permits users to do.
I simply select folders, the contents of which I would like to appear in Spotlight searches, such as Scripts and Favorites, move them up a level to the home folder, then create a symbolic link to the moved item to serve as a substitute for it in its original location. I'm including source for an AppleScript droplet that I use to automate this process. If your Library folder is already open (one way to open it is to hold down the Option key then select it from the Go menu in the Finder), just drop one or more of its folders onto the droplet. If you double-click the droplet created from the AppleScript, it will open your Library folder so that you can drop one or more folders into the ensuing dialog box. [kirkmc adds: Paste the above script in AppleScript Editor, then save it as an application. This solution should work, but be careful if, after an OS X update, something is broken.]
I have a 27" Thunderbolt Cinema Display, and I use its built-in speakers for the output of alert sounds. (In System Preferences > Sound > Sound Effects, you can choose this.) But the volume wasn't very loud, even though I had set the Alert volume slider to its maximum setting. I'd been trying to figure out why, because when I listen to music, the alert volume - and a sound I use to alert me when VIP e-mails arrive - isn't loud enough to be heard.
So I remembered that Audio-MIDI Setup has a number of tweaks for system sound settings. This app is found in /Applications/Utilities. When I opened it, and clicked on Display Audio, the two volume sliders (right and left channels) were nowhere near the maximum volume, so I raised them, and now I can hear my system beeps and other sounds.
So if you have problems with the volume of any audio outputs, you might want to check Audio-MIDI Setup and see if it can fix the issue.
I stumbled on this useless but curious "defaults write" trick for the Finder that displays the frame rate when you flip through files in Cover Flow. I've only tested it in Mountain Lion.
The following will show the cover flow frame rate (as frames per second) within the Finder alongside each filename when flipping through files. On my system I get around 58 FPS consistently; try and beat that! I'm interested to see how retina MacBook Pros do, and, as such, this could be a useful if non-scientific benchmarking trick:
To get rid of it:
[kirkmc adds: I, too, get 58 fps on my Mac mini, the same on my retina MacBook Pro. (Actually, it looks like it peaks at 58.87.) This suggests that there's something in the system that is limiting it, or that it simply can't go any faster.
I'll agree with the terms "useless but curious," but I'm sure someone will find something interesting to do with it.]
If you'd like to easily type some non-standard glyphs, adding a custom keybinding might prove useful.
The keybindings file is located in ~/Library/KeyBindings/ (You will probably have to make this directory and then add a file named "DefaultKeyBinding.dict".]).
The syntax for these keybindings are:
In this "Keycombination" field:
@ = cmd key
$ = shift key
~ = option key
^ = ctrl key
# = keys on number pad
More on the keybinding syntax at http://xahlee.info/kbd/osx_keybinding_key_syntax.html.
[kirkmc adds: We've also got a 2006 hint that goes into some detail about similar keybindings.]
You may be familiar with the Go > Go to Folder menu item in the Finder. You can use this to go directly to any folder in your Mac's file system. But on some Macs, you may not want users to be able to access that menu item. For example, Macs in public places - such as schools or libraries - or Macs that your kids use. OS X Daily recently posted a method for hiding this menu item. Run the following command in Terminal:
defaults write com.apple.finder ProhibitGoToFolder -bool true ; killall FinderNot only will the menu item be gone, but the Command-Shift-G shortcut that brings up the Go to Folder dialog will no longer work.
Want to get it back? Just run this command:
defaults write com.apple.finder ProhibitGoToFolder -bool false ; killall FinderNote that this command does not prevent access to the user's Library folder; if you press the Option key while displaying the Go menu, you'll see Library show up as an option, between Home and Computer.
View multi-page previews of Word files on Finder icons
Aug 16, '12 07:30:00AM • Contributed by: kirkmc
Mountain Lion has added the ability to view multi-page previews of Word documents when you hover your cursor over the icon, as has been possible with PDFs since Lion.
To see a preview, hover your cursor over a Word document. You'll see two arrow icons on the document icon; you can click to the right or left to view different pages.
However, in Icon View, these previews only display if the icons are 64 pixels or larger. They display in Column View, and in Cover Flow View, no matter what size the icons are in the top of the Cover Flow View window.
While the Mac App Store is great, I still find myself downloading .dmg files and installing plenty of third-party software. I often forget to delete .dmg files after I've installed applications. Here's a script to automatically move the .dmg file to the trash when you eject the disk image.
To use this script, select the mounted volume in the Finder (or in the "Devices" section of the Finder sidebar), and trigger this script via your favorite macro app instead of ejecting the disk image normally. Matt Rajca has a script that does the reverse: ejects a Disk Image volume when you trash the .dmg file.
Could you simply have a search that looks for old .dmg files in your Downloads folder? Yes, though I often forget to open and install .dmg files right away, so I prefer linking the delete action to the eject.
[kirkmc adds: This works for me if I select a volume in a Finder window, but not in the sidebar. This hint was submitted before Mountain Lion, so perhaps there's something that needs to be tweaked for 10.8. I figured it is worth posting so you all can find what to fix; I'll update the script in the hint if someone provides a solution in the comments.]
Mac OS X's quarantine feature not only sets a special quarantine bit on files you download - so it can alert you the first time you open them, and so its built-it anti-malware feature can scan for certain threats - but it also keeps a list of the files you have downloaded. OS X Daily pointed out the command you can run in Terminal to see the full list of these downloads. Run this command: The resulting text includes a lot of blank lines, so you might want to sort them to better view them: To delete this history - which is a good idea to do from time to time for privacy reasons - run this command:
[kirkmc adds: Note that, as a commenter mentions below, this won't be every file you've downloaded, but those files you downloaded with applications that set the quarantine bit.]
From our Sponsor...
Latest Mountain Lion Hints
HintsNo new hints
Comments last 2 days
Links last 2 weeksNo recent new links
What's New in the Forums?
Hints by Topic
News from Macworld
From Our Sponsors
All trademarks and copyrights on this page are owned by their respective owners.
Visit other IDG sites:
Powered by Geeklog Created this page in 1.13 seconds