: :

Add Comment | Related Links | TrackBack
Related Content

Mac OS X questions

How do you execute a program in Find with the keyboard? For example, how I do start TextEdit once I have it selected with the arrow keys?

How do I keep the host name from changing on 10.5.4?

Chieh Cheng
Fri, 30 Jan 2009 00:51:11 +0000

1) open apple + down arrow (have you tried quicksilver for launching programs yet?)

2) i have only experienced the 2nd problem with the wind, don't know how to fix it. if you're running a local dns server, just assign a hostname for it.

Fri, 30 Jan 2009 01:02:08 +0000


I can't have work-arounds like that. I need Darwin to stick to one host name.

Chieh Cheng
Fri, 30 Jan 2009 01:55:59 +0000

there are actually 2 instances that i know of where host names get change:

1) when the wind wakes up, it says something to the effect "host name foobar has already been taken, foobar-2 will be used instead". the host name it is referring to is the local network name for the computer used by Bonjour (this host name has .local appended to it)

2) the host name also changes depending on the type of network connection it's using. I get one host name when i use my wireless connection and another one when i use my wired connection. you can use the shell command hostname to set / get this value.

which one is changing on you?

Fri, 30 Jan 2009 02:21:25 +0000

My says "Flyer.local". I can use hostname to change it to whatever I want. However, it always changes when I dial out on my phone. Where is the string "Flyer" defined in Mac OS X? Is there a way to read this value out of Mac OS X some how?

Chieh Cheng
Fri, 30 Jan 2009 02:26:59 +0000

it's set at System Preferences => Sharing

Fri, 30 Jan 2009 18:02:57 +0000

Thanks. I tried to use "defaults" to read the value out. However, I can't find the domain for Sharing. Is there a way to get it out of the Preferences screen through the command-line?

Chieh Cheng
Fri, 30 Jan 2009 18:04:49 +0000

system_profiler -detailLevel basic | grep "Computer Name" | sed -e 's/.*: //'

There might be a better way.

Sun, 01 Feb 2009 18:06:41 +0000

That's excellent. Thanks.

Chieh Cheng
Sun, 01 Feb 2009 18:09:04 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 8 + 3?
Click button only once, please!


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

323 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.