Saturday, April 25, 2009

Fun with sound continued

So go online and find some audio clips in wav format. I got some from 2001 with HAL saying "I'm sorry Dave I'm afraid I can't do that." From ssh you can play a sound on a remote computer with the command 'aplay filename.wav.'

Believe me it makes for a LOT of fun.

(PS posted from Jaunty, possibly the easiest and best upgrade I have ever had!)

Wednesday, April 15, 2009

Update - awaiting Jaunty

As I wait for Jaunty in week or so (ok I have tested the beta a little), I thought I should update my first post on my progress.

I now also have a Dell Studio 15, which has some basic hardware issues (why can't anything just work) which are not linux but hardware (the disk drive randomly ejects whenever it feels the urge); but I do love it and it worked with Intrepid as soon as I installed it (and the newest fglrx drivers by hand).

I still have my text only server and in fact I have gotten so good at that that I am running some VirtualBox text-only servers as testbeds for what I eventually use on my live site.

BTW VirtualBox is a great way to try out Ubuntu on your Windows machine without risking any problems to your computer. www.virtualbox.org

See you from a Jaunty system soon.

Great quote from symsysit

http://inform.symsysit.com/2008/11/lenny-has-replaced-hardy-as-my-desktop/

"For example, when you install Kubuntu Hardy and you have an Nvidia card, Ubuntu pops up and says “I see you have an Nvidia card, would you like to install the drivers for it?” You click yes and you’re on your way, with Lenny however you log into your system and there’s no such pop-up, so you say, “Lenny, I have an Nvidia card and I’d like to install it please”, to which Lenny promptly replies, “Well drop to console and work for it bitch!”"

Wednesday, March 11, 2009

htop is tops

So if you have been doing your study on the command line you will have found that there are some "graphical" programs for the shell. One such program is "top" which is a dynamic process listing which tells you what is running and many other important bits of information in real time.

But its hard to use and even harder to customize. Instead try "htop" which is available in the repos

sudo apt-get install htop

Give it a whirl.

Friday, February 27, 2009

Bluetooth

So I got a new computer, a Dell Studio 15, and of course immediately loaded Ubuntu on it. The most exciting thing for me though was getting the bluetooth working.

First let me recommend blueman as the connection manager as it is far more advanced (and easy) than gnome's default. Add the PPA to your sources and 'sudo apt-get update && sudo apt-get install blueman' .

Then to get it working, in your home directory create (or add to) '.asoundrc' :

pcm.bluetooth {
type bluetooth
device "XX:XX:XX:XX:XX" #optional, connects to specific device instead the default one
profile "hifi" #optional, supported profiles are: auto, hifi and voice
}

this for the hifi sound on the bluetooth headset.

then run 'pactl load-module module-alsa-sink device=bluetooth' to add the device to PulseAudio

Then 'sudo apt-get install padevchooser' and run it from the sound & video menu and then in the Volume Control section make the bluetooth device default

Now when you run a program (say VLC for example) the sound will come through the headphones.

Hope this helps someone out there, it works for me. :)

Wednesday, December 31, 2008

Fun sound commands

I have been having some fun lately.

One way to hear the fun is to

cat /usr/share/icons/*/* > /dev/dsp

which lets you "listen" to your tiny little icon files!

More fun was a little prank I pulled on my co-worker.

I have a server that sits next to my co-worker's desk. I installed the 'beep' program on the server and from the ssh across the room had a great time watching him get more and more worried/confused at the random beeping that he couldn't find.

Just thought I'd share that.

Sorry Mike.

Friday, August 8, 2008

Learn the Shell

I started like many newer linux converts saying "since linux has nice gui tools now, I can finally convert to it and live like I did in the windows world." And it worked for a while until ...

I discovered ssh.

I can control another computer as if it WAS the computer I am sitting at, unlike remote desktop which is a remote computer in a window with limits. The problem is that I could only (not total true) control it at the command line level. (If you start ssh with -x you can tunnel windowed programs too.) Anyway I started learning the shell commands; turns out I rather liked it. I am now trying to learn what I would have learned had I started in linux years ago.

Anyway a short story turned long leads to ...

I found this site that is a great explaination and tutorial.

If you haven't befriended the shell yet, go ahead. Its not as scary as you would think.