Monday, March 12, 2007

Answers to comments..

I saw several comments left for some of my posts. Some are questions. So here are some solutions to those problems.

To Milinda :

In order to pair you phone with the PC you need a passkey. normally it's '1234'. We need to install the relevant packages in our linux box to deal with the keys. Since I'm using ubuntu edgy eft with gnome (of course beryl on top ), I'll stick to the debian way of doing this.

you need to install these two packages. (bluez-pin and bluez-passkey-gnome)

# sudo apt-get install bluez-pin bluez-passkey-gnome

check your /etc/bluetooth/pin file and verify whether you have your passkey in that.

# less /etc/bluetooth/pin

# /etc/init.d/bluetooth restart

After restarting the bluetooth daemon try pairing. It should work. The PC also will show you a notification saying your phone try to connect. Click on the notification and enter the key. That's it!

Good luck.
To chaar~max :

Check your graphic card supports direct rendering.
# glxinfo |grep "direct"

if you get
direct rendering: Yes

your card is supported and you can go ahead with installing beryl.

To genesis:

I see several errors in your installation. (on reading your comment). you have to check your repositories for errors. You are having many broken dependencies. and make sure you have to correct repos for ubuntu edgy eft.

# apt-get upgrade -f

this might help to fix the broken dependencies.

after that try to follow my post again, you might get it work. You should give it a try, beryl is kicking off every thing.


I'm sorry I will not be able to answer all your questions but I will try to do my best.


Saturday, March 10, 2007

Bluetooth Remote Control (BT MOUSE)

I felt sleepy while reading a book and wanted to try some thing funky. I wanted to try out the remote control feature in my new mobile phone. After 15 minuets of work I manged to get that feature working with my Ubuntu GNU/Linux notebook. And of course, I wanted to share this experience with my pals around the globe. So here I go...

My Phone : Sony Ericsson K510i
My Notebook : Compaq Presario V3000
My OS : Ubuntu edgy-eft (2.6.17-11-386)

You also can try this with your phones if your phone has the bluetooth remote control feature.

  • Bluetooth enabled PC and a Phone
  • Bluez-utils
A simple editing of the /etc/default/bluetooth is all you need!

#vim /etc/default/bluetooth

Find and change HIDD_ENABLED = 1 (initially it is set to 0)

This will let you use your phone as a mouse. And some key board strikes also worked but have to check on that later. But mouse features are working perfectly.

#hcitool scan
This is to get your phone's MAC address

#hidd --connect your:phone:MAC:address

You will see the notification on your phone "enable remote control?"
press "yes" and you are ready to go.

End your connection after you're done.

#hidd --unplug your:phone:MAC:address

Use your phone's joystick to move your mouse pointer and default OK button on the phone to use as click function, other buttons also working for some key board shortcuts and i was really impressed when some of my beryl features also working well with the remote control. You will be able to conduct your Open Office Impress Presentations very effectively with this feature.

Hope you find this post useful. Have fun...

Monday, March 05, 2007

FOSS-ed On Wheel 2007 in Kandy.

FOSS-ed on wheels is another community service conducted by the Sri Lankan FOSS community. Google, Intel, ICTA, Lanka Software Foundation, The Linux Center, LKLUG (which I'm also is a member in) has backed up the event. This time the organizers was Computer Society, University of Peradeniya. The only different in this event from the other FOSS events is that, We get into a bus and travel across the country to reach people. If any one wish to have an event on your Village, school, University, organize it, inform us bit early, we will do the best to come down to your place.

I joined the event from Kandy on the Saturday the 3rd March 2007, (Day 01). Me, Suchetha, Raj, Mifan, Gayal, Lohitha, Bud, Kanchana, Lasantha, Dr. Nimal and few others (sorry I don't remember the names) were suppose to speak about FOSS and FOSS related topics. And of course many other were there who support in various areas. Crowd was up to the expected level and we had a combination of many categories such as Schools, Universities and general public. I'm happy to say that this was my first speech for FOSS. I was a speaker for Windows and some other proprietary software back at a time.

FOSS-ed on wheels is one of the awareness programs to the public, to educate them that, there are better Free and Open Source Software alternatives to the proprietary software. Which most of Sri Lankans are not aware of. I will come up with a separate blog post regarding that matter. Any way, we did a nice seminar and we are happy. :D
After the event (2nd day evening) on the way back to Colombo we went to Mifan's place at Peradeniya University. It's not that Pera Uni is Mifan's house, his father is a professor in physics, so they are in a quartos in the Uni. Mifan's mom treat us with snacks and a nice tea. Thank You. And you know, guys got crazy on the way back and started singing, shouting,etc in the bus.

After a successful event, we returned home with lot's of fun and of course, with a nice plaque gifted to us by the Computer Society, UoP. Thanks guys.