Friday, October 19, 2007

Gutsy Gibbon

I installed Gusty on my Dell D620 today. Few changes I made:

  • NVIDIA driver
  • With the default installation, it did not install the nvidia driver(though it configured the driver for intel 3945 wireless card). But after the first restart, the restricted drivers manager showed the restricted components in use/not in use. Enabling the nvidia driver completeed the download and installation of the driver. This driver installation was essential for compizfusion to work properly.
  • Fonts Rendering
  • I changed the fonts rendering (system>preferences>appearance>fonts tab) to subpixel smoothing (LCDs) and in the details selected medium hinting. Also changed all the fonts to BitStream Vera Sans with size 9.
  • Monaco Font install
  • Monaco font can be found here. After downloading that, I ran the following commands:

    sudo mkdir /usr/share/fonts/truetype/custom
    sudo mv Monaco_Linux.ttf /usr/share/fonts/truetype/custom/
    sudo fc-cache -f -v

  • Compiz settings manager
  • Searching for ccsm on Applications>Add/remove programs provided Advanced Desktop Effects Settings option. After installing that, I could use a lot of desktop effects.

Thursday, June 7, 2007

Cisco VPN Client on Ubuntu

This post helped me in setting up Cisco VPN Client on Ubuntu in an effortless manner.

Sunday, June 3, 2007

Ubuntu, Ruby & IntelliJ

Ubuntu
<rant>
I had instlled Beryl 0.2R3 on Ubuntu 7.04. Though the deskop effects have been great so far, the behaviour of any new window being opened has been very unpredictable. The new window will be open up as a empty black window at first, I had to reset the window manager/window decorator sometimes to get the see that window functioning. Sometimes even the already opened winodws will be blackened. Finally I lost my patience and reverted back to the default metacity window manager.
</rant>

Ruby


Installed ruby and RoR with the help of the steps mentioned here.

IntelliJ

  • Installing IntelliJ (Selena EAP) was a simple affair too. Just unzip to the installation folder:
tar xzvf idea6918.tar.gz
  • Created a launcher in the Applications Menu too by right clicking on Applications, selecting Edit Menus and adding the launcher in the Programming group. Also Modified the /bin/idea.vmoptions file so that IntelliJ uses a little more memory to start with.
-Xms256m
-Xmx512m

I had to disable dektop effects on Ubuntu to see IntelliJ window [otherwise I could just see a white window with borders].
  • Next, I installed two plugins DBHelper and Ruby on IntelliJ.
  • Configure Ruby SDK on IntelliJ [File -> Settings -> Template Project Settings -> Project Structure -> Project 'Default (template) Project'], need to provide the ruby installation folder as /usr. To configure JSDK, point to /usr/lib/jvm/java-6-sun.

Friday, June 1, 2007

Configure Verizon PC-5740 EVDO in Ubuntu

Off-late, using verizon wireless PC-5740 card on the laptop has been very helpful. Though the speed is low, it solves the purpose many times. In my windows installation, I had to download an installer from VZAccess Manager Software Download site after answering few stupid questions. But for Ubuntu 7.04 (Fiesty Fawn), I had to do the following simple steps:

  • Edit dialing config:
sudo gedit /etc/wvdial.conf

Change the contents of that file to:

[Dialer Defaults]
Phone = #777
Username = 0
Password = 0
Stupid Mode = on
New PPPD = yes
Save and exit the file
  • Connect PC-Card :
sudo modprobe usbserial vendor=0x106c product=0x3701
(To find out the vendor and product see Kernel Modules section of this post.)
  • Dial :
sudo wvdial
  • I had to comment out the following in /etc/ppp/options so that the connection does not drop every 2 minutes or so:
# lcp-echo-interval 30
# lcp-echo-failure 4

The configuration does not even need the phone number to use EVDO on Ubuntu, which was required to download the installer for windows.

Monday, May 28, 2007

In Ubuntu Land

Finally, I decided to resize the single partition (I had windows mounted on the single partition) and install Ubuntu in a dual boot system. I used the ubuntu 7.04 installer to do the partition resizing too. Before the installation process, I ensured that there is enough contigous space available. During installation, I selected manual disk partioning mode. I allocated 60% of the disk space to windows, 2Gb for linux swap, rest for primary ext3 partition. The installation process was very smooth and effortless. I currently use a Dell Latitude D620 laptop and ubuntu configured the video driver, wireless connection etc. correctly in that. I then followed the few tips provided by Seven Post-Install tips for Ubuntu 7.04 and installed Automatix2 which again made installation of some of the most often used applications simpler. I am now trying to figure out the best of the Beryl effects for me now.

Watch the windows vista vs. ubuntu beryl effects and I must say that the WOW begins with beryl.

Monday, May 14, 2007

Ubuntu 7.04 on VMWare

I wanted to check the newly released Ubuntu Fiesty fawn (version 7.04) on my windows XP professional installtion. Though I really wanted to install Ubuntu on the hard drive, I could not do that primarily for two reasons. 1. The current windows installation is only on a single drive without any partition, thereby removing the possibility of dual boot option. 2. My present assignment is on .net/biztalk where I am figuring out how to use these two to their best, so I did not wanted to touch the current windows configuration.
So I instlled the free VMWare Player .
Then I downloaded a virtual image configuration from EasyVMX. I had to mention the location of the downloaded ubuntu iso image file at the CDROM Drives -> disk # 2 (slave) drive so that I could directly boot from that without even creating a CD. For installing from a CD, the disk #1 (master) drive can be used.

By just double cliking the .vmx file from the unzipped easyVMX configuration, the VMPlayer started and I could install ubuntu after selecting the CD2 from the menu bar of the VMPlayer.

But I still have not been able to enable the awesome desktop effects[see those to believe] on the virtual image. No idea if VMPlayer 2.0 supports this or not.

Trivia : The ubuntu version number follows year.month of release pattern, e.g. Fiesty fawn(7.04) was released in 07 April, Edgy eft (6.10) was released in 06 October.

Friday, May 11, 2007

Custom functoids with Visual Studio

In my current project, I have been using Biztalk server 2004 with Visual Studio 2003. We have some custom functoids that are needed by some of the mappings. We made certain insignificant changes to the functoid and compiled that. After that we duly copied to the location 'biztalk installation folder'\Developer Tools\Mapper Extensions. Also we gac-ed the dll. But when we ran the deploy target from nant, the orchestrations that had this functoid started failing. Surprisingly, when we did the same in another computer it passed smoothly. The only difference in these two machines was that in the former machine, the custom functoid had been added to the toolbox of the visual studio.

So, the correct steps to use custom functoid is:

  • Make sure that you have removed the custom functoids from the toolbox.
  • Compile the functiods.
  • Copy it to 'biztalk installation folder'\Developer Tools\Mapper Extensions.

CollapseAll Macro for Visual studio

A small but yet not-so-insignificant macro to help during the development with visual studio is CollapseAll Macro. I find it useful even after using Resharper. To use this, just add the code in the macro explorer and to assign a keyboard shortcut [I put the macro at Macros.Samples.Utilies and used the (ctrl + alt + ,) shortcut].