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

A script to pick a random login window background System
I really this older hint, on how to change the login window background by telling the system to look for the image in another location, but I want to suggest a small variation of it.

I like to constantly change my backgrounds. I have a directory with a bunch of background pictures, so I wrote a simple AppleScript which takes a random file from this directory and saves it as the picture used as the login window background. Mine is named myloginwindow.jpg, and it sits in my Public folder. Then I saved the AppleScript as an application, and added it to the login items for my account. Now every time I log in, I see a different login background. Since I really know nothing about AppleScripting, the above is probably not ideal (please feel free to suggest improvements in the comments), but it works for me.

[robg adds: I haven't tested this one, but to make it work, you'll also have to have used the linked hint to specify a new location for the login background images.]
  Post a comment  •  Comments (7)  
  • Currently 1.67 / 5
  You rated: 4 / 5 (6 votes cast)
[8,356 views]  View Printable Version
A fix for strange unremovable characters in the trash System
I had a problem with strange characters not deleting in the Trash. They looked like asian characters, or zeros and slashes, something similar to: //00]|||00. Emptying the Trash deleted the files, but not the characters. If I did a Get Info, they would disappear, but come back if I deleted more files. I found out that it was caused by a corrupt file on a FAT32 Boot Camp partition in the C:.Trashes501 folder, and was causing this issue.

I repaired the problem by booting into Windows using Parallels, and running the Check Disk Utility for Windows hard drives. (Open My Computer, right click on the 'C' drive, and click properties. Click on the tools tab, then Check Now. Make sure that there is a check in the box that says "Automatically fix file system errors." Then you will be prompted to reboot. Check Disk will run on reboot.)

Check Disk found the error in the C:.Trashes501 folder and repaired it. Now my Trash in OS X does not have the strange characters when I empty it. I haven't tried it, but I would assume that if I just booted into Windows (through Bootcamp, or Parallels or VMWare Fusion) and deleted the .Trashes folder on the "C" drive, that it would work also. If you have an external drive formatted in FAT 32, you can plug it into a Windows machine, and you should be able to do the same thing.

Reinstalling Leopard, fdsk, and command line deleting of the Trash did not solve the problem, but this did.
  Post a comment  •  Comments (7)  
  • Currently 3.09 / 5
  You rated: 4 / 5 (11 votes cast)
[15,294 views]  View Printable Version
Be aware of a multiple-user screen lock issue System
I noticed a possible bug when two users are logged in at the same time with the "fast user switch" option.

Assume I have two users, both with admin privileges -- user A and user B -- and both are logged in. Currently user A is working. The security preferences are set to ask for password if the screensaver or screen dimming goes on.

If you let the screensaver start, once you resume work, you get the login window asking for password. It will show the username of A and ask for the password, as that was the user working. However, if you change the username to user B and use that password, that will unlock the computer, but you will be logged in as A. So you can get access to all of user A's system by logging in as user B.

[robg adds: I tested this, and it's definitely true. However, given that both accounts are admin accounts, I'm not sure if it's a bug or simply unexpected behavior. As an admin user, user B could change user A's password at any time they wished, and then login to the account. I also tried unlocking the screensaver as a non-admin user, and thankfully, that did not work.

Update: Please read the comments for more details on how/why this works, and that it is indeed a feature and not a bug. While I understand that admins need control over the computer, it still doesn't seem quite right to me that a locked screen for a given account can be unlocked by any other admin account. I'm not sure what the right behavior might be, though. Perhaps asking the user to provide the user/pass of the logged-in account, or offering the option to start a new session via fast user switching?]
  Post a comment  •  Comments (16)  
  • Currently 1.14 / 5
  You rated: 1 / 5 (7 votes cast)
[9,123 views]  View Printable Version
Disable low battery warnings on Apple Bluetooth devices System
For those who use Apple's wireless mouse or keyboard, you might find the appearance of a flashing Bluetooth menu bar item bothersome when the batteries in your device run low. Disabling the item from the menu bar by command-clicking and dragging is only a temporary solution, as it will continuously reappear until you have recharged or replaced your batteries.

Since there is no option to prevent this warning from appearing, the following hint may be useful for those who do not use and will never need the Bluetooth menu bar item: Simply move or rename the file from the /System » Library » CoreServices » MenuExtras folder.

[robg adds: In general, I do not advocate moving or renaming system files. However, as a user of both the wireless mouse and keyboard, the flashing warning is annoying -- as is the fact that it will automatically add itself back to the menu bar even if you remove it. If you try this hint, I strongly suggest putting the menu extra back before running any Apple Software Updates. If anyone has a better solution, please post it in the comments.]
  Post a comment  •  Comments (7)  
  • Currently 2.00 / 5
  You rated: 4 / 5 (9 votes cast)
[12,554 views]  View Printable Version
Make a partition of an exact size for cloning System
It is very difficult to create a disk partition of the exact same size as an existing partition of another disk using Apple's Disk Utility. Whenever I try this, I always find the size of the partition created by Disk Utility is slightly different from the partition I'm trying to clone. Here's a way using the command line that allows you to get the size exactly right.

The standard warning applies: Be very careful. This will wipe the entire disk that you are repartitioning. One small typo could result in the wrong disk being wiped!
read more (201 words)   Post a comment  •  Comments (5)  
  • Currently 1.57 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (7 votes cast)
[8,904 views]  View Printable Version
Use the contextual menu in the Spotlight search window System
In the Spotlight menu's search box, you can control-click a word and use the contextual menu to spell check your search term, or run a Google search with that term, etc.

[robg adds: This may be obvious to others, but I'd never thought to try control-clicking in the Spotlight search box. I'm not sure I'll ever use the feature, but now at least I know it's possible. Obviously, this hint is for 10.4 and 10.5 only, but I don't have a category for "10.4 or newer." As such, I chose to leave it uncoded, given that the vast majority of users here are on at least 10.4. That's how I'll probably treat all such hints going forward, too, unless someone has a better suggestion.]
  Post a comment  •  Comments (0)  
  • Currently 1.57 / 5
  You rated: 3 / 5 (7 votes cast)
[4,897 views]  View Printable Version
Prevent some Java programs from showing in the dock System
Even when a Java program doesn't display any windows or other visible elements, if it accesses the AWT subsystem in some way (e.g., to do image processing internally), OS X will still put an icon for the Java program in the dock as if it were a GUI-based app. (When the program quits, the dock icon goes away as usual.)

Because of this behavior, even console-based Java programs sometimes have icons show up in the dock. This is most noticeable in apps like Eclipse that launch console-based Java programs for background processing. Dock icons will sporadically bounce into view and then disappear as the Java programs are launched. It's very distracting, and it's not how Java behaves on other platforms.

Although there doesn't seem to be any global fix for this problem, one solution can be applied on a per-app basis. You will need to modify the command that launches the Java program so that the java.awt.headless system property is set to true. For example:
java -Djava.awt.headless=true ...
If you have access to the source code of the program, you can also turn on headless mode programmatically.
  Post a comment  •  Comments (2)  
  • Currently 2.33 / 5
  You rated: 2 / 5 (6 votes cast)
[7,950 views]  View Printable Version
Delete just the accent from a character System
If you type in a language that requires accents (such as Spanish), OS X provides a quick way to make them and delete them without changing your keyboard layout. To make an accent, hold Option then press E, and you will see the accent character. Then press any other key, such as A, E, I, O, or U, and it will place that character beneath the accent. You can also make other characters such as ñ with Option-N then N or ç with Option-C. But most of you probably knew that already.

If you want to delete the accents easily, however, OS X provides a very useful shortcut: Control-Delete. Try typing an accented character and then using Control-Delete instead of just plain Delete. When you do, OS X will convert the accented character into a normal character. I do not know if this works for other characters other than the ones I know from Spanish and Portuguese, but I do know that it works in 10.4 and 10.5.

Here's a list of all the handy keyboard shortcuts OS X provides.

[robg adds: This won't work in absolutely every spot in OS X. In text input boxes in Safari and Camino, for instance, nothing will happen with Control-Delete. But it seems to work most everywhere else.]
  Post a comment  •  Comments (7)  
  • Currently 1.33 / 5
  You rated: 1 / 5 (6 votes cast)
[6,716 views]  View Printable Version
10.5: See additional view options for the Media Browser System
In the Media Browser -- the floating media chooser found in 10.5's Open dialogs in some apps, or in the iLife and iWork apps -- you can Control-click in the lower pane to show a contextual menu. From that menu, you can choose to either Display as List or Display as Icons, as well as other options.

Once you've switched to list mode, you can Control-click again in the lower pane and use the Show Columns sub-menu to pick which columns to show. You can also open a media file in its respective app, or show it in the Finder.

[robg adds: I had no idea there was a contextual menu hiding in that portion of the Media Browser. Once in list view, you can also click on column headings to sort the list by that column; click the same heading again to switch the sort order.]
  Post a comment  •  Comments (4)  
  • Currently 2.00 / 5
  You rated: 5 / 5 (6 votes cast)
[5,486 views]  View Printable Version
One fix for a non-working keyboard in single user mode System
I've run across this a few times and knew it was a software issue. Once booted into single user mode, the keyboard would stop responding.

The solution is to start the system up normally and open International in System Preference. Under Input Menu, select a new keyboard layout, then select US again. This worked right away for me.
  Post a comment  •  Comments (2)  
  • Currently 1.40 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
[6,362 views]  View Printable Version