Difference between revisions of "MacOS X Tips"

From Briki
Jump to: navigation, search
(Compiling mythtv)
 
Line 1: Line 1:
uRMkBL  <a href="http://gucxftcwlcnu.com/">gucxftcwlcnu</a>, [url=http://gzrfmgmmvkoc.com/]gzrfmgmmvkoc[/url], [link=http://klcxgoxsmypt.com/]klcxgoxsmypt[/link], http://rgruhynjpnba.com/
+
== Useful Software ==
 +
* Perian
 +
* Plex
 +
* MobileMouse
 +
* BetterTouchTool
 +
* JollysFastVNC
 +
* RemoteBuddy
  
100 most traveled American and , http://www.squidoo.com/bitits last minute cruises,  :P, http://www.squidoo.com/airlines_ticket southwest airlines tickets,  0565, https://molior.mcs.suffolk.edu/bugzilla/attachment.cgi?id=25 salt lake city winter charter flights,  =-[[[, http://www.squidoo.com/airplane_tickets cheapest airplane tickets,  %(((, http://www.localendar.com/public/harr68be4 discount airline,  yyfdf, http://familylobby.com/111/news.asp?newsid=293130 cheap air fares,  =-(((, http://www.squidoo.com/airplane_ticket really cheap airplane ticket,  tqm, http://www.squidoo.com/airfare_deals airfare deals,  >:-]]], http://www.squidoo.com/airline_flights delta airline flights,  64352, https://wiki.ubuntu.com/AMuammar?action=AttachFile&do=get&target=discount-airfare airfare military cheap discount,  91618, http://www.squidoo.com/airfare_flights airfare taxes air tickets added,  :(, https://lists.umbc.edu/lists/d_read/111/international-flights.html cheap international flights to asia,  :-D, https://molior.mcs.suffolk.edu/bugzilla/attachment.cgi?id=24 best airfare,  %DDD,
+
== Useful Commands ==
 +
; mdinfo : Mac equivalent to locate (since it seems locatedb isn't periodically updated for OS X)
  
D'Ivoire (Ivory Coast) , <a href="https://lists.umbc.edu/lists/d_read/111/international-airfare.html">international airfares cheap budget</a>,  tzqduh, <a href="http://www.squidoo.com/airline_flight">track airline flight progress</a>,  fnq, <a href="http://www.squidoo.com/airplane_tickets">airplane tickets from lax to nci</a>,  8-DDD, <a href="https://molior.mcs.suffolk.edu/bugzilla/attachment.cgi?id=26">charter a flight</a>,  >:-DDD, <a href="http://familylobby.com/111/news.asp?newsid=293129">dirt cheap airfares</a>,  =OOO, <a href="http://familylobby.com/111/news.asp?newsid=293130">cheap air line fares</a>,  395, <a href="http://www.localendar.com/public/harr68be4">discount airlines</a>,  %-OOO, <a href="http://www.squidoo.com/airfare_deals">caribbean airfare deals</a>,  jiahr, <a href="https://wiki.ubuntu.com/AMuammar?action=AttachFile&do=get&target=discount-airfare">international discount airfare</a>,  fuzs, <a href="https://lists.umbc.edu/lists/d_read/111/international-flights.html">los angeles international flights</a>,  gpfzk, <a href="http://www.squidoo.com/airlines_flight">cheap airlines flights</a>,  =OOO,
+
== Setup ==
 +
=== Windows UK Keyboard Mapping ===
 +
http://neuro.me.uk/2009/08/31/getting-the-uk-keyboard-layout-right-in-snow-leopard/
  
9KSZwa  <a href="http://glsymuwcqmrp.com/">glsymuwcqmrp</a>, [url=http://ruhrbeuuwxsw.com/]ruhrbeuuwxsw[/url], [link=http://rdzywhopmmhg.com/]rdzywhopmmhg[/link], http://jmdefawlxpnt.com/
+
=== VNC ===
 +
http://sourceforge.net/projects/osxvnc/
 +
 
 +
=== rsync ===
 +
http://maxpowerindustries.com/2009/09/21/how-to-install-the-rsync-daemon-on-mac-os-x/
 +
 
 +
=== SNMP ===
 +
http://scott.wallace.sh/2009/12/04/enabling-snmp-in-mac-os-x-10-6-snow-leopard/
 +
 
 +
=== Compiling mythtv ===
 +
At the time of writing the current (14660) revision of mythtv does not build for Mac OS X. One working build is 14225. To build this:
 +
 
 +
NB.  Ensure you don't have xmms or xmms-shlibs installed via fink/apt-get
 +
 
 +
* svn co -r 14225 http://svn.mythtv.org/svn/trunk/mythtv/contrib/OSX mythtv-14225
 +
* cd mythtv-14225
 +
* ./osx-packager.pl -svnrev 14225
 +
 
 +
Alternatively, to fix the latest version for an Intel Mac:
 +
 
 +
* svn co http://svn.mythtv.org/svn/trunk/mythtv/contrib/OSX mythtv
 +
* cd mythtv
 +
* Add "'--arch=pentium4'," to the mythtv args list around line 488 of osx-packager.pl
 +
* ./osx-packager.pl
 +
* You'll get an "ERROR: CPU specific ./configure options failed compile test" warning when osx-packager runs configure for mythtv, but this can be ignored
 +
 
 +
=== Setting the domain name ===
 +
This only seems to work until the next DHCP refresh. Better to set this at the DHCP server so that it hands out the domain with a DHCP request.
 +
<pre>
 +
sudo hostname -s host.domain.com
 +
</pre>
 +
 
 +
=== Backup with timemachine to Ubuntu ===
 +
See: http://www.mike-hughes.net/it/mac/filesharing-for-osx-afp-on-debian/
 +
and for the Ubuntu specific stuff (just the apt-get, since the rest looks incorrect): http://notepad.bobkmertz.com/2010/01/apple-time-machine-backups-to-ubuntu.html
 +
 
 +
 
 +
== Installing from the command line ==
 +
* hdiutil attach ''file''.dmg
 +
* cd /Volumes/''mount''/
 +
* sudo installer -pkg ''install''.pkg -target "/"
 +
 
 +
== Munin ==
 +
* The munin-node process doesn't run properly on Lion, so simply install the snmp plugins on the munin server and add the remote node to /etc/munin/munin.conf on the server
 +
 
 +
== Disable creation of .AppleDouble and .DS_Store files ==
 +
* Run: defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Latest revision as of 14:33, 24 May 2012

Useful Software

  • Perian
  • Plex
  • MobileMouse
  • BetterTouchTool
  • JollysFastVNC
  • RemoteBuddy

Useful Commands

mdinfo 
Mac equivalent to locate (since it seems locatedb isn't periodically updated for OS X)

Setup

Windows UK Keyboard Mapping

http://neuro.me.uk/2009/08/31/getting-the-uk-keyboard-layout-right-in-snow-leopard/

VNC

http://sourceforge.net/projects/osxvnc/

rsync

http://maxpowerindustries.com/2009/09/21/how-to-install-the-rsync-daemon-on-mac-os-x/

SNMP

http://scott.wallace.sh/2009/12/04/enabling-snmp-in-mac-os-x-10-6-snow-leopard/

Compiling mythtv

At the time of writing the current (14660) revision of mythtv does not build for Mac OS X. One working build is 14225. To build this:

NB. Ensure you don't have xmms or xmms-shlibs installed via fink/apt-get

Alternatively, to fix the latest version for an Intel Mac:

  • svn co http://svn.mythtv.org/svn/trunk/mythtv/contrib/OSX mythtv
  • cd mythtv
  • Add "'--arch=pentium4'," to the mythtv args list around line 488 of osx-packager.pl
  • ./osx-packager.pl
  • You'll get an "ERROR: CPU specific ./configure options failed compile test" warning when osx-packager runs configure for mythtv, but this can be ignored

Setting the domain name

This only seems to work until the next DHCP refresh. Better to set this at the DHCP server so that it hands out the domain with a DHCP request.

sudo hostname -s host.domain.com

Backup with timemachine to Ubuntu

See: http://www.mike-hughes.net/it/mac/filesharing-for-osx-afp-on-debian/ and for the Ubuntu specific stuff (just the apt-get, since the rest looks incorrect): http://notepad.bobkmertz.com/2010/01/apple-time-machine-backups-to-ubuntu.html


Installing from the command line

  • hdiutil attach file.dmg
  • cd /Volumes/mount/
  • sudo installer -pkg install.pkg -target "/"

Munin

  • The munin-node process doesn't run properly on Lion, so simply install the snmp plugins on the munin server and add the remote node to /etc/munin/munin.conf on the server

Disable creation of .AppleDouble and .DS_Store files

  • Run: defaults write com.apple.desktopservices DSDontWriteNetworkStores true