headermask image

header image

Things To Know

Here is another series of Things to know

Looks like this is a vey release full Time………

Java is completely open now

At JavaOne in May, 2006, Sun Microsystems announced they were going to release Java as free software under the terms of the GPL. The size of the task (6.5 million lines of code) was only eclipsed by the size of the opportunity for Java as a free and open technology.

At JavaOne in May 2007, Sun announced that the work was largely completed and so OpenJDK was launched. What was less newsworthy was the fact that on release - OpenJDK still relied on code that was encumbered - between 4 and 5 percent of the code was closed, non free source that Sun didn’t own.

read more

Synaptics Touchpad in Fedora 9

I have been using Fedora 9 from a long time and it really kick’s ass but i was facing the problem that my Touchpad was not working with it but the i found the solution here
Here is how to do it

The easiest was will be to install the package http://atrpms.net/dist/f9/synaptics/
or you can do it manually here

edited the /etc/X11/xorg.conf
gedit /etc/X11/xorg.conf

Added the following to the ServerLayout Section
InputDevice “TouchPad” “CorePointer”

add a new section:
Section “InputDevice”
Driver “synaptics”
Identifier “TouchPad”
Option “SendCoreEvents”
Option “Protocol” “auto-dev”
Option “SHMConfig” “on”
Option “TapButton1″ “1″
Option “TapButton2″ “2″
EndSection

all done logout and login again and everything should be working fine

Update: found the rpm package here

Installing ndiswrapper on ubuntu 8.04

I installed Ubuntu 8.04 today and faced this problem of WiFi again but ths time even installing ndiswrapper diddnt worked so had to find a way to make WiFi work on boot and here it is

For this First You need to install ndiswrapper, no need for net coz the packages are included in the CD / DVD of Ubuntu just go to System>>Administration>>software sources then uncheck all downloadable from internet, Third party and Update repo’s only select Installable from CD-ROM/DVD. Now open a Add/Remove from Applications>>Add/Remove.. there select all avaliable appliactions in show, now seach for ndis you will see Windows Wireless Drivers select it and click Apply changes it will ask you for the CD insert the CD and it will get installed, now you just have to install the drivers of your card for this open System>>Administration>>Windows Wireless Drivers and install the windows wireless drivers ( bcmwl5.inf for hp6515b bcm4312) now follow these steps, type
sudo -i now you must be as root then type
nano /etc/rc.local the file should read
rmmod ndiswrapper
rmmod ssb
modprobe ndiswrapper
exit 0

all done now just reboot and enjoy your Linux……..

Things you should know

Its been a long time since i have posted on LUG’s Blog coz i have been bit busy sorry for that, but now i have decided that apart from creating all the posts and writing stuff on my on I will start giving out links to outer blogs/sites which have some good articles so here are a few things you should know

  1. openSUSE 11.0 Beta 1 announced
  2. Ubuntu 8.04 LTS Release Candidate Released is here
  3. Sun Certifying Ubuntu - with Hardy Heron!
  4. Gartner: Windows is too monolithic
  5. ODF is now a Brazilian Standard

The Sleeping Giants Awaken

Finally ,guys, our editorial team seems to have woken up and decided to come out with the greatly awaited and highly anticipated e-Magazine. Its been a long time coming so hopefully it will live up to our expectations and will be worth the wait. This is something to which all of us should contribute by way of articles. so guys pull up your socks , put on your thinking hats and write a few worthy articles. Need not be Linux related articles . Any tech article is welcome.Send in your articles before the 19th of April. The e-Magazine should be out sometime next week.

Hoping for a good response!!!

PHP Competition

LUG Manipal brings out a new competition open for all students of MIT- ” PHP Competition”. The first round will include Multiple Choice Questions with only one correct option. There are not registration charges and registration is also not required, its like a walk-in-test. You may need to enter your name in a sheet provided during the test.

The details of the Competition are:

Venue: NLH 104

Date: 7th April

Time: 6 PM

For more details of the events please visit the link http://phpcompi.lugmanipal.org

Check the Wiki Page: PHP Competition

Prizes are sponsored by Racked Hosting LLC

Schedule For Web Designing and Development Workshop

Date: 25th March, Tuesday to 29th March, Friday
Venue: NLH 204
Time: 5:30 PM

Day 1 - HTML ( basic information about HTML and creating simple Static web pages )
Day 2 - Advanced HTML and introduction to server side scripting
Day 3 - PHP
Day 4 - PHP and intro to MySQL
Day 5 (extended) - MySQL (DataBase Concepts)

Update: Workshop’s PHP and MySQL Portion Syllabus

Update on 25th March: Download Slides of Day 1 of the Workshop (HTML)

Web Design and Development Workshop

LUG, Manipal is organizing a Web Design and Development Workshop for students of Manipal next week starting 25th March,Tuesday. Our main focus will be to promote Open Source Technology for Web Development and Design. This workshop can be viewed as Workshop no 1 covering Module 1 of the total web design workshops we intend to hold.

The content material for this workshop will be basic HTML for getting a start to web programming. The basics of this tagged language can be learnt at W3Schools. We will then advance to the basics of server side and client side scripting and the differences between them. Client side scripting has been put in Module 2 (next workshop) of the whole web design workshop from LUG Manipal.

PHP is the choice of language for Server side Web Design. Those who don’t know much about this language better pay attention. People usually ask “What is PHP? Is it as powerful as ASP?”. Well! Its much more powerful than ASP frankly. You need to know both the languages before comparing them and just making guesses is a bad habit. To make you feel comortable, we would like to tell you that it is one of the most widely deployed technology of these times. Some of the most famous places where its used is Wikipedia, Wordpress (most famous blogging software), most of the Content Management System. Even Google and Yahoo make use of PHP for their pages.

Now turning to MySQL, this is the most widely deployed database software which has more than 5,000 downloads per day as the statistics revealed by MySQL AB. Being the world’s most famous Open Source Database, its bound to be quite attractive. Being a very lightweight database software, its easy to install even on desktops. People usually have a bad experience after installing Oracle as their systems get badly screwed up with reguard to speed. Its very small in size (some 150-200MB) instead of Oracle which is of some 2GB.

The scripting will be done on Apache Web Server, its the world unchallenged king when it come to server deployments, covering some 70%of the webservers. Lightweight, extensibility , great features make it the no 1 choice of web developers all over the world.

More Details of the workshop is:

  • Venue: NLH 204
  • Time: 5:30PM
  • Starts: 25th March Tuesday to 28th March, Friday

References:

Get the Official PHP Manual from its website.

Get the Official MySQL Manual from its website.

Check the LUG Manipal Wiki Page for this Event

“now playing” Status in Pidgin

Some of the guys posted in the forums as to how to go about it, hence this post. Going by the list of available plugins to do the same it would seem a cakewalk. But it isn’t as you would be often stranded with a plugin that won’t support the media player you would be having. Trust me, I have had enough of these. So in this post I would explain how to install and configure mpd (music player daemon) on your system and do a lot more than you would have thought of. You would ask, why mpd? I would say its the most ultra light on system resources among all the music players I have used to date.

Install mpd using your package manager (apt for Debian or Ubuntu users, yum for fedora and so on). Now comes the part of configuring it. If you would run mpd as root, it would read the configuration files from /etc/mpd.conf or otherwise from ~/.mpdconf . You won’t need to make any big changes in the conf file other than the location of music directory. Open up the conf file in an editor and see the line that reads music_directory. Just change the directory to your audio collection. As you would notice, the conf file is commented and it says ‘You can put symlinks in here, if you like.‘ This is pretty useful if your collection is spread over multiple directories. You can always start it by typing mpd at the terminal and kill it using mpd –kill. Remember it would read the appropriate conf file depending on how you are starting the process i.e. as a normal user or as the root.

Note: Your home directory ~ may not contain a .mpdconf directory by default after mpd is installed. In that case create one and for an example conf file, copy the mpd.conf file from /etc/ to ~/.mpdconf

anomit@deadbox:~$ cp /etc/mpd.conf .mpdconf/

Now comes the part of installing a client that would interact with the daemon and play music for you. Install ncmpc, a ncurses based client for mpd using your package manager. Then just start it using ncmpc at the terminal. There is also a GTK+ based client called Sonata which would appeal to you if you are more of a GUI person.

If you would like your current track to be displayed in your pidgin status message and also scrobble to your last.fm account if you have one, install mpdscribble using your package manager and download music tracker, the plugin for pidgin from here.

Configuring mpdscribble
To configure it, you need to compute the md5sum of your last.fm account password. Execute the following at the terminal:

$ echo -n "your-password"|md5sum>file-name.txt
Get the md5sum value from the file and add the follwing lines in the /etc/mpdscribble.conf file

username = user-name
password = md5sum

Now just type mpdscribble at the terminal whenever you want the scrobbling service to start and press Ctrl+C to end it.

Installing musictracker plugin

Extract the contents of the file and cd to the directory where it has been extracted. Run the following commands to install it:

./configure
make
make install

Just check the plugins list in pidgin and enable the musictracker plugin. Configure it according to your wishes.

P.S. By default mpd runs on port 6600 on your system. Could someone try connecting to a running daemon using ncmpc from another laptop on your lan? The appropriate command would be:

ncmpc --host=ip-address --port=6600
where ip-adress would be of the system running the daemon.