Posts Tagged ‘osx’

OS X annoyance – hostname

Monday, November 14th, 2011

because everywhere i go DHCP shoves its crap at me.

% sudo scutil --set HostName ZenHound

for that matter, scutil is an incredibly useful tool which allows you to probe the configd state in a lot more detail than i realized. very useful.

fixing a lion nit

Monday, August 1st, 2011

about those oh so annoying window animations, make them go away:

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO

backing up your mac (for UNIX dweebs)

Saturday, August 15th, 2009

follow the advice here: http://www.jwz.org/doc/backups.html

seriously. just do it.

if you need a GUI, SuperDuper, works wonderfully.  this will save your ass. no joke.

OSX notes for UNIX dweebs (2/x)

Friday, August 14th, 2009

some comments re: X11

somehow, apple managed to really screw up the X11 implementation that they shipped with leopard.  fortunately, they had really sharp guys tracking this and the xquartz project stepped in quickly to plug the gaps.  if you’re running leopard, this is the release to get.  personally, i keep a copy of the latest version on my machine in the odd chance than an OS upgrade happens to trigger nastiness on the X11 front.

why use this versus terminal?

if you need to run a UNIX X app, you’re going to need an X server running.  however, for the most part, if you’re just doing CLI stuff you’re not going to care.  i happen to have an apparent inability to use the option key as meta.  terminal doesn’t allow you to remap the command key to meta so  .. i use rxvt (built from ports) and xterm is  obviously readily available.  X11 will honor the use of the command key as meta so my thumb will do the right thing.

make sure you’re using something later than r2.3.2.1

x11 preferences

x11 preferences

release 2.3.2.1 and later provides the ability to update the system pasteboard w/copy on select from X11. this means that copy and paste work pretty much the way you would intuit between OS X apps and xterms, etc. without having to manually invoke the copy operation from the menu w/i X11. this of course assumes that you have sanely disabled “Enable key equivalents under X11″.

note to make this work you need to enable the “update pasteboard immediately when new text is selected” option in the preferences. this has persisted across a number of releases and pretty much just works the way you want it too.  this was a major nit for me for a number of years.  if you’re  a recent convert, enjoy.


your IP address : 38.107.179.209