Thursday, May 22, 2008

Synaptic Scrolling Problem

- GSynaptics couldn't initialize. You have to set 'SHMConfig' 'true' in xorg.conf or XF86Config to use GSynaptics -


Is any one there who got this error message when trying to configure your touchpad using gsynaptics? "Yeh I had that message"... I installed Debian lenny by saying "See you later" for my neat, one year and three months old Ubuntu installation. after completing the installation my touchpad's scrolling feature was not working. I googled for a solutoin and found several tips and tricks to overcome this, but didn't help, so had to read up a bit about it and found a way to get it working.

Even though it says "set 'SHMConfig' 'true', it did not work. Then I add the server layout and second InputDevice to the xorg.conf.

Here's what I did to over come the issue.

added this section to the xorg.conf

# vim /etc/X11/xorg.conf


Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection


Then I add the following lines to the bottom of xorg.conf to specify the server layout. I did not have any of the parameters for server layout, so I added all the sections to it.


Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection


After doing this I restarted the Xserver (Alt+CTRL+Backspace). Scroll works fine! but I still get that error message when I try to run gsynaptics. :-) But for now I'm not going to worry about the gsynaptic, but will have a look at it later.

Tuesday, May 06, 2008

Ceylon Tea Musium

Last weekend I had an opportunity to visit the World's one and only Tea Museum, Ceylon Tea Museum. The museum is located in Hantana, 3KM drive from the beautiful “world's heritage city” Kandy. The museum building itself is an abundant tea factory (built in 1925) for more than a decade.

The museum has 4 floors. Ground floor occupies with heavy machinery like tea rollers, power generators, and other large mechanical equipments which being used in the very first tea factories in Sri Lanka. The first tea roller which were used in year 1889 and many other machineries are displayed in the ground floor. And most of the engines and rollers used over a century ago have being restored to working condition.

When you go to the second floor you will be able to see the whithering process and some other equipments used for drying, and categorizing the tea for various qualities. And there is a section which contains the equipments used by Mr. James Taylor, the father of the tea manufacturing in Sri Lanka. In 1867, Mr. Taylor planted the first tea to be grown commercially in Sri Lanka.


The third floor occupies with more drying racks and two shops where you can buy quality Ceylon tea. And I didn't forget to visit the top floor for a nice warm tea. (for those who don't know, my favourite drink after water is "Tea", I never say no to a cup of tea at any time of the day). While the tea is getting ready, I enjoyed the view from the top floor window. And there was a telescope which we can nicely see the hills belong to Hunnasgiriya region.


I think this museum is a place where every one should visit. A place with a value of informational, and historical, which tells the story of the tasty tea manufacturing in Sri Lanka.

Some facts at a glance;

Location : 3 KM from Kandy town, towards the Hantana road.
Ticket Prices : Students : Rs. 10/= Adults: Rs 25/= (As at 03 -05 -2008)
A friendly staff, with a person who explains every thing through out the tour inside the museum.

P.S:
My camera was broken that day so could not get good pictures of the factory, but I got some photos from my phone, which are poor in quality. Sorry about that.