Posts Tagged ‘osx’

OS X Widget to show machine name

// January 15th, 2010 // No Comments » // Software

Dashboard screenshotI use Apple Remote Desktop or a KVM (Keyboard/Video/Mouse) switcher to administer several OS X servers and machines. When you’re working on machines in this way you can sometimes get confused on which machine you’re currently controlling. If you’re lucky you won’t do anything stupid, but there have been times when I’ve shutdown/restarted a server that I didn’t mean too!

Over Christmas break I wrote a little OS X widget call Show Name. All it does is show the name of the current machine. To start using it you just install the widget onto your Dashboard. Once there, it will show you the hostname of the machine you are currently using.
Where things get interesting is when you drag it off of the Dashboard and put it on your Desktop. This way you can alway see what machine you’re on. To drag widgets off of the Dashboard, you need to turn on the widget developer mode. On the Show Name widget, you can click the little “i” in the bottom right and check the box to turn it on. As soon as you click Done it will restart the Dock, so the Dashboard and the Dock will disappear for a second. To drag the Show Name widget (or any widget for that matter) out of the Dashboard and onto the Desktop, click on the widget and start dragging. Don’t let go of the button and close the Dashboard. The widget you are dragging will stay with your mouse pointer, and you can drop it anywhere on your Desktop. To put the widget back in the Dashboard, start dragging it, open the Dashboard, and stop dragging it. It will now re-attach itself to the Dashboard.

I use Apple Remote Desktop or a KVM (Keyboard/Video/Mouse) switcher to administer several OS X servers and machines. When you’re working on machines in this way you can sometimes get confused on which machine you’re currently controlling. If you’re lucky you won’t do anything stupid, but there have been times when I’ve shutdown/restarted a server that I didn’t mean too!

Over Christmas break I wrote a little OS X widget call Show Name. All it does is show the name of the current machine. To start using it you just install the widget onto your Dashboard. Once there, it will show you the hostname of the machine you are currently using on the Dashboard.

Where things get interesting is when you drag it off of the Dashboard and put it on your Desktop. This way you can alway see what machine you’re on. To drag widgets off of the Dashboard, you need to turn on widget developer mode. On the Show Name widget, you can click the little “i” in the bottom right and check the box to turn it on. As soon as you click Done it will restart the Dock, so the Dashboard and the Dock will disappear for a second. To drag the Show Name widget (or any widget for that matter) out of the Dashboard and onto the Desktop, click on the widget and start dragging. Don’t let go of the button and close the Dashboard. The widget you are dragging will stay with your mouse pointer, and you can drop it anywhere on your Desktop. To put the widget back in the Dashboard, start dragging it, open the Dashboard, and stop dragging it. It will now re-attach itself to the Dashboard.

OS X not saving passwords?

// April 8th, 2009 // 2 Comments » // RC Tips, Software

About a month ago I noticed that passwords weren’t being saved in apps in OS X like Safari, Omniweb, etc. I didn’t bother trying to figure out the problem, until today when I would go to a site in Safari and it would ask to save the password. I said yes everytime, but it still didn’t save it. Finally I tracked down this blog post, OS X Keychain Not Saving Passwords…:

I struggled with this one for about a month before I finally dug into what was wrong and how to fix it. It all started when I reinstalled because I couldn’t get BootCamp installed because of volume fragmentation. Since then, my applications, specifically Mail.app and Adium, weren’t remembering passwords even if I checked the little “remember” box.

Basically, for some reason, the keychain file at ~/Library/Keychains/login.keychain was now owned by root instead of by me. To check and fix from the commandline ($ is the command prompt):
$ ls -l ~/Library/Keychains/login.keychain
-rw-r--r-- 1 ryan admin 781380 Apr 8 11:17 (*deleted...*)

My username is ryan. If it says anything else, use the following to change the ownership:
$ sudo chown ryan ~/Library/Keychains/login.keychain

It will ask for the administrator password, and then change the ownership of the file. I don’t think repair permissions in Disk Utility would fix this problem.

Powered by Web Design Company Plugins