Monthly Archives: December 2009

How-To: Enable bluetooth internet using Ubuntu Karmic 9.10 + Sony Ericsson K770i

Long before USB 3G modems and mobile broadband became ubiquitous, most phones can already be used as modems a few years back. It can either be by USB cable or Bluetooth. A good friend of mine even created a detailed guide on how to enable Bluetooth internet three years ago. It’s a series of steps, has a lot of manual tasks, but it’s the only option during that time.

Using a phone to connect to the internet via Bluetooth may not be practical in a sense, but the holiday season is here, a long vacation awaits for me, so I have to keep this option open. Besides, I’ll be out of the metro, so my Sun Broadband Wireless is quite useless.

So, I was revisiting the steps in how to enable Bluetooth internet in Karmic and it turned out to be a breeze… (proves the point things are improving in the Linux community)

Here’s how I did it in Ubuntu Karmic 9.10, using a Sony Ericsson K770i phone:

Note: Before anything else, I enabled Bluetooth in my K770i and made sure that it’s visible.

1. I made sure first that Bluetooth is enabled in my laptop (of course!).

2. I clicked on the Bluetooth icon, then clicked on Set up new device… It gave me this window, Bluetooth New Device Setup


3. I clicked on Forward, then, it searched for Bluetooth devices…


4. I selected my phone, jhayem-k770i, then clicked on Forward, then it gave me the PIN window.


5. The k770i detected that a device wants to pair, it asked for the PIN and I entered the PIN provided above. The phone inquired if I want to enable the following:
    – add to pro-ubuntu-0 to my Devices? – Yes
    – allow pro-ubuntu-0 to use the phone as modem? Yes, Allow always
    – allow pro-ubuntu-0 to use your phone as remote control? – Yes
    – start remote control now? – No

6. After all those inquiries, the Bluetooth New Device Setup has this last window

7. I checked Access the Internet using your mobile phone, then clicked on Close

That ends the set-up part, now, how to connect?

Once your done with the set up, If you click on the Network Manager icon, you now should have a PANU in your list of networks…

Just click on that to connect to the internet via Bluetooth through your phone :p

How-To: Install printer driver for Brother DCP-150c in Ubuntu 9.10

OK, I have a confession to make, I keep on using Windows just to print my documents… I know, I know…

Against my will, I woke up early today (5:30am). To make use of the time, I started downloading a series of TED talks videos (if you have the time, I suggest you watch TED videos, you’ll learn a lot, at the same time it can give you some tips in how to present your idea well). While I’m in the middle of my second download, I remembered that I have to print some documents. I don’t want to disrupt my downloads so I decided to install my printer, a Brother DCP-150c, in Ubuntu 9.10

A little googling led me to Ubuntu’s wiki about Brother printers, here.

Note: don’t connect your printer just yet.

According to the guide, the DCP-150c belongs to the bh7 group. That’s pretty straightforward and quite easy to install, hmmm… (I was quite skeptic about this, looks easy)

I ran this command to install the said package:

    sudo apt-get install brother-cups-wrapper-bh7

Once that’s done, I plugged-in the printer. Ubuntu detected the new printer then the Printer configuration application popped up, then it gave me a list of drivers.

Brother is already selected so I just clicked on Forward.

Then, it gave me a list of specific printers. There’s no Brother DCP-150c in the list, the closest one is DCP-130c. I clicked on that because it says [recommended], then I clicked on Forward.

The next window asked me for some additional information, it’s filled up already, so I just clicked on OK. Once that’s done, it asked me if I want to print a test page, I clicked on Yes.

I crossed my finges… then I heard that familiar noise, the printer is cleaning it’s head, then it started printing, haha!

It worked!

How-To: Normalize the volume of your MP3s in Ubuntu 9.10 + mp3gain

I stumbled on this tool, mp3gain, last week from this blog site. I tried it out back then and forgot about it…

I spent the whole day today listening to music. Back that time, I keep on fiddling with the remote to adjust/re-adjust the volume. It such a hassle that I decided to normalize my whole mp3 collection, thus reminded me of mp3gain.

I installed mp3gain using apt-get:

    sudo apt-get install mp3gain

Once the tool is installed, I ran this command to normalize my collection:

    find My\ Music/ -name *mp3 -exec echo ‘”{}”‘ \;  | xargs mp3gain -r -k

My mp3s have spaces in its filename, thus the -exec echo ‘”{}”‘ \; part. It took about 6 hours to process 4533 songs, giving my laptop’s CPU a nice workout.

How-To: How enable “compose” key in Ubuntu 9.10 (to type special characters)

Remember the “Alt + 165” trick in Windows? And all “Alt + numeric value” combinations that you have to memorize just to type special characters like ñ, æ, à, etc…

Well, we don’t have that “Alt combo” in Ubuntu… (I kept spelling my fiancee’s middle name as Espanola, which is supposed to be Española)

Good thing is, for me, those days are over. I was reading about keyboard layouts (which also enlightened me that QWERTY is not the only layout there is, there’s Dvorak also), then I read a section regarding a Compose key, which allows a user to combine key strokes to form special characters, and it’s supported in X.Org! I didn’t know that!!!

Anyway, here’s how to enable it in Ubuntu 9.10…

Go to System->Preferences->Keyboard, you’ll gonna have this window:

Go to Layouts,

Click Layout Options, then click on the Compose key position triangle. Here, I enabled my compose key as Right Alt for I don’t use it that much.

After selecting your Compose key, just click Close, then you can start composing keys.

You can find the list of possible key combinations here, also from this blog.

™ æ µ à ± ǹ ñ ½ … sorry can’t get enough of it 🙂

Note: I didn’t use the Win key because the Desktop effect uses it for some combinations, e.g. “Win+E”, “Win+M”