LaTeX on Ubuntu Feisty Fawn
sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc
postfix: forward root mails to non-local email
In order to make postfix forward all mails from "root", to a non-local email, the Postfix virtual alias table format must be used.
Start by making a file called /etc/postfix/virtual, with this content
root receiver_email@non_local_host
Then run the below, to make a virtual lookup table.
sudo postmap /etc/postfix/virtual
To enable the virtual alias, insert the below into /etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual
Now restart postfix, and send a mail to root
sudo /etc/init.d/postfix restart
echo "hmm" | sendmail root
This worked for me at Ubuntu Dapper and Ubuntu Edgy.
Sound over TCP with mplayer
When you wanna see Simpsons on your MythBox and don't wanna disturb your girlfriend, you wear headphones. But when the headphone cable isn't long enogh to reach the couch where you are sitting with your laptop, you have a problem!
After a couple of hours I found the solution, esd over TCP. Open a terminal on the box attached to the TV, and write this:
export ESPEAKER=ip_on_your_laptop:16001
On the laptop execute this in a terminal:
esd -tcp -public
Now you can start mplayer on the MythBox using "-ao esd", and the sound will be sent to your laptop, if no firewall or other stuff is blocking :)
You also have to ajust the soundt delay in mplayer, using +/-, but it works.