First thing to do after installing Linux at work assuming your using DHCP with a long lease

Writing by on Wednesday, 11 of January , 2012 at 9:42 pm

Enter the damn DHCP IP Address in your /etc/hosts and map it to your hostname

$ sudo vi /etc/hosts

# Assuming DHCP that my machine pulls and hostname is wimbledon wimbledon

This will solve several of your problems. Some of the Linux pain points.

For me they were,
NX Nomachine was not able to connect to the server. Server Configuration Error and some weird errors in the details.
P4 Eclipse Plugin was coming back with perforce error: unable to determine client host name
In my Java product, I was getting UnknownHostExceptions
and several others…

Well there you go! This is a MUST DO after Linux installation.

Leave a comment

Category: Linux,Tips and Tricks

Remove obsolete workspaces from Eclipse Workspaces List

Writing by on Wednesday, 4 of January , 2012 at 6:40 pm

Sometimes you want to avoid clutter in your Eclipse Workspace Launcher and might want to remove obsolete workspaces.

Clean up the value for RECENT_WORKSPACES key, located in the org.eclipse.ui.ide.prefs file.


Restart eclipse and it should be gone.

Leave a comment

Category: Eclipse

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.