Category Archives: Ubuntu

posts about ubuntu linux

sox soxio: Failed reading : unknown file type

I got this error on my Ubuntu system. It stuck me as odd because the script I had made, ran just fine previously.

sox soxio: Failed reading `hello-thank-you-for-calling.wav': unknown file type `raw'

Upon searching, I found that for some reason sox lost all it’s available formats.

$ sox
...
SUPPORTED FILE FORMATS: pls m3u

The following installed all the available file formats.

$ sudo apt-get install libsox-fmt-all
...
$ sox
...
SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al alsa ao au auto avi avr caf cdda cdr cvs cvsd dat dvms fap ffmpeg flac fssd gsm hcom ima ircam la lpc lpc10 lu m3u m4a mat mat4 mat5 maud mp2 mp3 mp4 mpg nist nul null ogg oss ossdsp paf pls prc pvf raw s1 s2 s3 s4 sb sd2 sds sf sl smp snd sndfile sndt sou sph sw txw u1 u2 u3 u4 ub ul uw vms voc vorbis vox w64 wav wmv wve xa xi

Here is the command my script was running to convert a text2wav file into a GSM encoded file for my Asterisk setup.

sox --show-progress -V1 hello-thank-you-for-calling.wav -r 8000 -c 1 -t gsm hello-thank-you-for-calling.gsm resample -ql

Firefox 3.0b4 under Ubuntu

It’s pretty easy to try out the latest beta for users.  I’m sure it’s just as easy to try it out on other Linux distributions that are up to date.

2008.03.11 ^ Screenshot

Simply choose your language from the Firefox beta download page to begin your download.  Once completed open up a terminal and run the following commands.

# create a temporary directory if you do not already have one.
mkdir -p ~/tmp
cd ~/tmp
# un package the tar ball.
tar -jxvpf /path/to/firefox-3.0b4.tar.bz2

Once the tar process completes

cd firefox
# Launch Firefox
./firefox

Or close your terminal session and launch via the ALT-F2 Run Application method.

~/tmp/firefox/firefox

This new instance of Firefox does not use any plugins which may be already installed on your system. You will need to download any plugins you use such as the Adobe Flash player to

~/tmp/firefox/plugins/libflashplayer.so

a switch to ubuntu.

A couple days ago I accidentally(and I did the first step of it on accident, truthfully. ) switched the on my ’s laptop from Windows XP Home*barf*, to . In that process I later decided to try out the encrypted drive option on the alternative install CD. With little hesitation after I decided on moving my ~/ stuff over from my Gentoo system running on a to the new Ubuntu system I easily setup for my dad. I was running a drive over usb which is only practical for so long, it really makes the drive feel slower to me. The only major configuration issue I had with the move was that not all my buttons were working the way I like them to. With a quick edit, by adding a new Input Device section to my xorg.conf, I was content.

Section "InputDevice"
    Identifier     "USBMouse0"
    Driver         "mouse"
    Option         "SendCoreEvents" "true"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 8 9"
    Option         "ButtonMapping" "1 2 3 6 7 10 11"
EndSection

I wonder why this isn’t standard info for the Microsoft Intelimouse Optical USB/PS2 when it’s found plugged into my system.
I also gave him the Windows XP Home in a innotek virtualbox so he can run a certain proprietary piece of software which he needs.

friends’ laptop

ok, well we ditched windows xp on the laptop, and i decided to reinstall the latest version of ubuntu on it. it runs ubuntu pretty well for being an older system, but linux does love old hardware. i managed to get my Proxim RangeLAN pcmcia 802.11 card to work using wpasupplicant, which apparently is not the default yet for ubuntu. but outside of that, ubuntu managed to detect everything else, including the ATI radeon mobility for xorg. it even setup the power/frequency scaling on the processor; a Mobile AMD Athlon(tm) XP 1700+. they also want me to install a video player, and some games for entertainment.

Bad Behavior has blocked 811 access attempts in the last 7 days.