So I bought a MacBook Pro and wanted to start using Mac OS X as my primary OS. I’m used to Windows/Linux so I have some preferences as to behaviour. There are some things that are kind of annoying, many of which can be fixed. Also there are some tricks that make me more productive.
XBMC (now Kodi) has always had a tendency of leaking memory, so that it will eventually thrash and crash. My simple solution to this is to run xbmc inside a for loop instead of directly (just run the script from .xinitrc):
while [ 1 ]; do
nohup sleep 10
…And add the following to the local XBMC user’s crontab:
0 4 * * * killall xbmc.bin
This will kill XBMC every night at 4 o’clock. And give you a fresh XBMC every day!
My Netgear ReadyNAS RN102 keeps constantly writing to a file /var/readynasd I don’t want to hold my breath waiting for Netgear to fix this so I took matters into my own hands and implemented a TMPFS fix for my NAS. What it does is mount /var/readynasd as a tmpfs of 2MB, and copy files to here from /etc/readynas-db on every boot, and copy back every hour, and on shutdown.