Friday, September 2, 2011

Add Windows Fonts To Linux

To add windows fonts to your linux distro:

You should mount your windows partition if it isn't already.
Mine is mounted at "/media/win"
from a terminal type somthing like: "sudo mount /dev/sda1 /media/win"

Now to add the fonts . . .


from a terminal:
cd to your home directory: cd ~
then type: "sudo ln -s /media/win/WINDOWS/Fonts .fonts"
And finally: "sudo fc-cache -f -v"

Tuesday, June 14, 2011

Flash Video (flv) lesson

Greetings earthlings,

This post is about a little (huge) problem i encountered whilst attempting to stream, via http, a 35 minute flv video on a remote server using the latest and greatest  jwplayer. The weird thing was everything worked flawlessly on my local sever (localhost / 127.0.0.1) but when i uploaded the file via ftp (gftp) to the remote site, the page containing the video would just show a blank screen and if i right clicked whilst hovering over it, the context menu
showed: "movie not loaded", and below that: "About Adobe flash . . .".

I tried using relative paths, then i tried absolute paths. Still, the blank screen remained. I scratched my head for a long time. Then suddenly, i remembered a piece of information i had retained from my younger days and it solved the problem instantly!

What was the problem?

I had uploaded the flv file (also the swf player files) using FTP in ASCII mode instead of BINARY mode.

I hope this info helps someone. i put it here in-case i forget

That's all folks

Monday, February 7, 2011

Brasero Audio Cd's


The other day i was asked to burn a audio CD for someone. I thought to myself:

"cool now i have a chance to check out Brasero 
(Brasero is a CD/DVD Burning App for Linux)

After selecting:  "audio project" and adding my files, I was ready to burn. I swiftly clicked on the "Burn" button. Then to my surprise a dialog box popped up and it read: "Normalizing Tracks". I thought "OK that doesn't sound too bad, I only have one 20 minute track". However, after 30 minutes I asked myself: "How can this be taking so long? This is ridiculous". I gave it another 10 min and decided to cancel the job.

The thing is this: Brasero actually does NOTHING when you see this dialog box.
It just sits there staring back at you and never normalizes let alone burns anything.

(BTW: Normalizing Tracks ensures a constant level of volume between tracks.)


Here's what I did to fix (workaround?) the problem:
Click on "Edit" -> "Plug Ins" and then uncheck (disable) "normalize".

After I had done that, the CD was burned without a problem.


Happy Burning! :)

Thursday, January 6, 2011

Google Joke

I found this and thought it was funny:
click here