Saturday, October 31, 2009

How to integrate Pydev in Eclipse for Ubuntu Karmic Koala

I'm an avid Vi user. For any of my tasks on Linux, I prefer the powerful command prompt and the Vi editor. That was more than sufficient for all my tasks earlier. However,the last month, I've taken up the task of writing some solid python code and managing the code as it moved upto 5+ files was turning out to be a problem. The solution : Eclipse-pydev package: http://pydev.org/
This is an Eclipse plugin that will allow Python development in Eclipse.
The eclipse-pydev package was available until Ubuntu Jaunty and in Karmic, this package has been removed :
http://ubuntuforums.org/showthread.php?t=1307755
https://bugs.launchpad.net/ubuntu/+source/eclipse-pydev/+bug/450031
https://bugs.launchpad.net/ubuntu/+source/eclipse-pydev/+bug/135556

The following steps show how to install the Pydev package on Eclipse for Karmic. Remember, the package is not available officially in Ubuntu Karmic and if you run into any troubles, you can only post in the Ubuntu forums and hope for help (which I'm sure, you'll receive and a good one, as I did)
For this, it is necessary that you run Eclipse as a super-user for once. After the plugin installation is complete, you can use Eclipse as a normal-user
After launching Eclipse as a super-user

1. Click Help -> Install New Software
2. Click "Add"
3. Add Name: Pydev and Location: http://pydev.org/updates and Click "OK".
4. Now you should see two options as shown here. Select only "Pydev" and follow the screen shots


5. Restart Eclipse and you should now be able to develop Python code in Eclipse :)
Leave a comment in here if you see something different!

Friday, October 16, 2009

Ubuntu and Mobile Broadband

I have purchased a Nokia E63 a couple of months back and I like the phone...for all its features and the best part - it gets me connected when ever and where ever I (well, where ever my service provider has a tower ;) )want!
Couple of reasons why I bought this phone
1. WLAN
2. Connect to PC and work as Modem
3. QWERTY Keyboard

I have not until today used the 'Modem' feature yet. But, in a couple of days, I'm planning to visit a remote place where I'm not expecting any internet connection (but a full mobile service!). So, wanted to test that out. I googled and went through a couple of blogs that discussed about wvdialconf & wvdial, but did not work for me. Then one of the posts in the Ubuntu forums (can't find the link :( ) caught my eye.
Here are the steps
1. Right click on the Network Manager applet and click 'Edit Connections'
2. Click on the Mobile broadband tab
3. Add a new connection and follow through the two dialogs

and valla, it works! it works out of the box! Is Linux easy to use or what?

oh and, me and friend of mine..got the USB sound device working with some tweaking..more on that in the next post!
As you can see on the right, only a few days left for the next big release..eagerly waiting!

Friday, October 2, 2009

Ubuntu Karmic Koala A.K.A. Ubuntu 9.10

Hmm..I cannot tell u ..how many times..writing this blog saved me from re-inventing the wheel..
Now, as you can see on the right side...Ubuntu Karmic Koala , alias, Ubuntu 9.10 is Beta now ..Yay!
Download using the torrents is in progress now...
Will run it on the Virtual box in a couple of hours :)..and btw, I'm buying a new Dell Laptop (Dell studio 15) and will hopefully run Karmic on it!
I cannot really use the netbook version as I'll be rampaging on the laptop..but I'd love to try it on VM..Keep watching this space for some nice screen-shots and tips with Karmic!

Saturday, August 1, 2009

Ubuntu , Sun Java JDK and Eclipse

For some reason, I had installed Eclipse on my system and as a dependency it pulled java-gcj packages along with it and if JAVA_HOME is not set, it ends up using java-gcj packages.
BTW, I have a question is java-gcj the same as OpenJDK? (which went through Sun's certification recently)?
Any way, I've for all my purposes (well, a very less # them) had used Sun's JDK and JRE all my life and did not want to move to another JDK and JRE.
I had already installed using Synaptic sun-java6-jdk and related packages
However, after the installation of Eclipse, it always uses the java-gcj binaries and not the Sun's Java binaries.
What to do? Ubuntu's help at work again. Thank you Ubuntu's Documentation team!

Here is the link:

Below are the commands:

update-java-alternatives -l

Should list you the possible alternatives
To choose Sun's java/JDK

sudo update-java-alternatives -s java-6-sun


and ofcourse, I've had to set the JAVA_HOME in /etc/profile
Valla, now eclipse uses Sun's JDK and JRE :)

Monday, June 15, 2009

Uploads!

I've been using BitTorrents to download the latest Ubuntu images.
I had downloaded the Ubuntu 9.04 via. the torrents.
Also, for some reason, I had downloaded the Ubuntu 8.0.4.2 (600+MB) and the OpenSuSE KDE Live CD (600+MB)
and now I'm downloading Ubuntu 9.04 alternate CD and will download 8.0.4.2 alternate CD using the torrents!

Now, the typical thing about torrents is that as you download, you also "upload" or rather, allow others to download the same file from you!
I've now uploaded 300+MB (Ubuntu 9.04 desktop ISO), Ubuntu 8.0.4.2 (600+MB) and OpenSuSE (600+MB); thatz 1500 MB and up; feels very gud :)

More Ubuntu for uploads!

Saturday, April 11, 2009

We're linux contest winners announced!

"We're Linux Contest" Winners announced!
One of the best PRs for Linux @ zero cost :)..
Click on the links below to view the videos

Winner

Runner-up #1

Runner-up #2

You can view the other videos here.