There was an error in this gadget

+1

Tuesday, September 23, 2008

Running CrossOver Chromium aka "Google Chrome" under Ubuntu

3 comments
Chrome is a free web browser released by Google few weeks back , based on open source Chromium codebase and WebKit engine for rendering web pages. It offers attractive user interface , integration of Google services in the browser ,out of box support for Google Gears , shortcuts for Web Applications , suggestions for web pages while typing them in address bar and other exciting features.

Now even though Google Chrome is based on Open Source Chromium, still Linux and Mac OS X version of Google Chrome were not released with the Windows version as they are still under development. This was a huge(hmm?) disappointment to both Linux and Mac OS users , who wanted to try the latest offering from Google.

However, a few days back Codeweavers( a Linux company specializing in developing customized version of Wine , which is a translation layer that allows running of Windows application atop Linux) released a easily installable package (called CrossOver Chromium) of customized version of Wine capable of running Chrome with minor glitches and Chrome package, providing an easy way for Linux users to try the Google Chrome browser before native version is released for Linux.

Installing CrossOver Chromium on Ubuntu

To install Crossover Chromium issue the following commands in the terminal window (Application-> Accessories -> Terminal):

Note: The package downloaded below is for 32bit version of the CrossOver Chromium , Codeweavers has released 64 bit version too. You can download 64bit version from this page.

wget http://media.codeweavers.com/pub/crossover/chromium/cxchromium_0.9.0-1_i386.deb

and
sudo dpkg -i cxchromium_0.9.0-1_i386.deb
CrossOver Chromium should be properly installed and you can launch CrossOver Chromium from (Applications -> CrossOver Chromium -> Chromium ).
Google Chrome running on my Ubuntu Desktop

CrossOver Chromium, though usable is extremely erratic,sluggish and does not integrate with Linux desktop properly owing to it being a windows application running atop Wine. On my system I found it to be extremely slow (at least compared to Mozilla Firefox and Opera) ,of the numerous problems I encountered while using CrossOver Chromium the major ones were problem maximizing browser window , also i had difficulty in setting proxy settings .
Strange looking Dialog Boxes (and yup i could not change my proxy )

CrossOver Chromium even though is a commendable initiative by Codeweavers to provide users of Linux(and Macintosh's) at least feel of Chrome before it is released natively, is far from being stable enough to be used as a replacement for any popular Web Browser available for Linux. At the present moment ,your best bet would be to wait for either native version of Google Chrome for Linux or continue using Firefox/Opera/Konqueror.


Article Written by : Ambuj Varshney (blogambuj@gmail.com)
For Desktop on Linux Blog , http://linuxondesktop.blogspot.com
(C) 2008 , Ambuj Varshney

Monday, September 15, 2008

Launchy : Application Launcher for Linux

4 comments
Launchy is a popular application launcher , that has been available for windows for quite some time now, recently they launched the Linux version of their application . Launchy is a application launcher that allows you to launch applications , open documents , webpages even search Google or get weather information, just by typing into a centrally located textbox on the desktop. As you type text in the textbox , Launchy tries to guess what you are trying to type(name of application you are trying to start , or document's name).


Launchy trying to guess Application , you want to run.

Launchy is very similar in functionality to Open Source "Gnome DO" file manager which i had reviewed few months back(Read the article here) and Quicksilver application available for Mac OS. Launchy has an attractive user interface , which can be further customized with number of themes available online. Furthermore , compared to GNOME Do , Launchy has much smaller memory footprint.

Right Clicking anywhere in Launchy's windows gives you options to Customize launchy further(like changing default theme of launchy , or changing the file type and location where to scan) or Rescan Catalog .

Customizing Launchy

Launchy with different themes


Installing Launchy

Launchy is available as Source code or debian package . If you are using any non debian distribution like Fedora , OpenSuse etc you would need to compile the package to install Launchy. However , if you are using Ubuntu (or any other debian based distribution) you can install Launchy easily by following the below mentioned steps:

First launch Terminal windows from (Applications -> Accessories -> Terminal) and issue the following command to download and install launchy:

wget http://dfn.dl.sourceforge.net/sourceforge/launchy/launchy_2.1.2-1_i386.deb

and
sudo dpkg -i launchy_2.1.2-1_i386.deb


If you did not encounter any error in above step , launchy should be properly installed. To start Launchy click on (Applications -> Accessories -> Launchy ).

Now, to show Launchy on desktop press (Cntrl + Space) , you should get Launchy's window in the center of the desktop.
Launchy located centrally on my Ubuntu desktop

Article Written by : Ambuj Varshney (blogambuj@gmail.com)
For Desktop on Linux Blog , http://linuxondesktop.blogspot.com
(C) 2008 , Ambuj Varshney

Monday, September 01, 2008

Entering the world of GNU/Linux

2 comments
Linux is a UNIX like operating system and has been one of the most popular proponents of free open source software. Even though popularly GNU/Linux is called Linux operating system, but the name is somewhat misleading because Linux is the name of the kernel of the operating system, which was created by Finnish hacker Linus Torvalds as a hobby project, infact in the first message posted on newsgroup announcing his project he had the following view about Linux becoming big: “It is NOT portable (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that's all I have :-(.” . The entire GNU/Linux operating system is based upon host of open source tools and libraries of which GNU tools and libraries form a significant chunk (started by Richard Matthew Stallman (rms) one of the most popular MIT based hacker and founder of free software foundation, rms has iconic status in free and open source world), hence the name GNU/Linux.

Since traditionally UNIX operating systems have been used mostly in servers and by developers/hackers/and students, and Linux being similar to UNIX proved to be no exception. Linux began as an operating system that started replacing UNIX on the server side, and it did particularly well too (with the latest figures putting Linux market share in server market to be around 13%). Desktop Linux however did not take of like the server versions of Linux, partially due to lack of availability if quality window manager , lack of high quality software and inertia of users from moving to entirely different environment in comparison with Windows or Mac OS.

However, over the past decade there has been considerable development in the desktop front for the Linux operating system with the emergence of user friendly desktop environment in form of Gnome and KDE, and a number of other robust free open source software, extremely user friendly Linux distributions like Ubuntu, Fedora and big corporate (IBM, Novell, Dell and even most staunch rival of Linux Microsoft) supporting GNU/Linux. Linux is slowly but surely making strides on desktop front with latest estimate pegging its market share to 4% of overall desktop market (making it almost at par in terms of market share with Macintoshes).

Let’s look at some of the advantage Linux enjoys over its popular closed source commercial counterpart Microsoft Windows:

Security: This is probably one of the most important advantage of Linux over windows, being open source any vulnerabilities detected are patched almost immediately as opposed to windows. Also like UNIX because of its extremely robust architecture and not granting root level access to all the users, there are very few viruses (almost non existent) to worry about unlike Windows on which hundreds of new viruses are created almost everyday.

Customizable : Being based on a number of different open source projects and libraries , a number of different distribution of GNU/Linux operating system exist from which one could chose distribution to use according to one’s need. Also it is very easy to customize a GNU/Linux system, which is not possible with closed source Windows operating system. E.g if you have a really old hardware you could easily customize Linux distribution, stripping all the fancy features and producing a basic rudimentary system that works well on your old hardware or maybe you might like making your desktop interface look like Mac OS .

Stability: - GNU/Linux is one of the most stable operating system around, and this is probably due to layered design of the operating system, where if one component fails entire operating system does not crash unlike Windows operating system. People have actually managed to run GNU/Linux operating system for months altogether without rebooting.

Excellent Development Platform: GNU/Linux is a programmer’s paradise with host of free open source tools, libraries, compilers, IDE etc available and the best thing is you don’t have to worry about licensing since almost everything in GNU/Linux is free, open source under GPL or LGPL license.

No Licensing restriction: Unlike Microsoft Windows which impose host of licensing restriction on you e.g. you cannot install windows on more then one computer , Windows is loaded with all kind of restrictions like DRM(digital rights management) preventing you from playing a number of different audio/video files . You don’t have to worry about such licensing restrictions on Linux you can play all the audio/video formats (provided you have codecs installed) out of the box and you can install Linux on as many computers you want, infact it is encouraged to share Linux media free of cost and some distributions like Ubuntu actually ship CD/DVD’s free of cost of the installation media.

Free :- This is probably one of the most important advantage of GNU/Linux over Windows especially for developing countries like India .Almost everything in Linux is free , you don’t have to pay a single penny for operating system , office suite , development platform ,software’s etc . Though commercial software also exist for Linux but sheer number of free open source software alternatives available on Linux overshadows them , providing you with alternatives to almost all the commercially available software on Windows platform. Infact there are tools available (WINE) which actually allows you to run Windows application on Linux free of cost without purchasing license of windows operating system.

Impressed, here is a short guide on how to start using Linux:

Picking right Distribution

Hundreds of Linux distributions exist, so the task of picking right Linux distribution becomes even more difficult. However based on my experience of using and installing Linux, I would suggest the following Linux distributions (though I would still suggest that you look into Distrowatch (http://distrowatch.com) for right distribution that suits your need) :

Desktop : - Ubuntu (or any derivative of Ubuntu) because of extremely user friendly interface , easy access to online documentation and support forums , huge number of packages available in repositories and easy installation method and finally solid debian based architecture.

Development: - Fedora because of sheer number of development tools available out of the box on the fedora platform, plus fedora is one of the oldest and most well supported Linux distributions available.

Installing: -

Installing Linux especially partitioning disk is probably one of the most difficult step for Linux newbies or Windows converts, though over the years with the development of user friendly graphical installers even installation has been simplified to a considerable degree. Still there are few things that you could keep in mind while partitioning your disk while installing Linux:

• Backup your data: It is imperative that you backup your important data from windows drive as there is a real possibility that you could unknowingly corrupt your partion table losing all your precious data.

• Create separate partitions (logical) for /home , / , /usr (if possible) and swap : This helps you while upgrading or installing a new Linux distribution keeping your old data intact.

• Create Swap partition double the size of your Physical Memory

However if you find partitioning difficult , it is possible to install Linux without partitioning on your windows partition (though this is not recommended ) few Linux distributions like Ubuntu , provide installer that allows you to install Linux easily like any normal Windows program without having to worry about partitioning.

Using Linux:-

Even though a number of really good graphical desktop environment exist inform of KDE , GNOME and XFCE, but sooner or later you will find your self using terminal (Bash :P ) so it would be really helpful one learns if not all some basic terminal commands and if possible bash scripting.

Here are few links that might help you learn basic Linux commands:
1. http://linuxondesktop.blogspot.com/2007/12/newbies-guide-to-linux-console.html
2. http://www.linuxcommand.org/index.php


Getting and Installing applications:-

This is probably one of the most fun part of using Linux, finding and installing software from a number of freely available alternatives each good enough to compete with popular commercially available counterpart. If you are using Ubuntu just fire up “Synaptic’ package manager or better still use console based “apt-get” command , and install right application from thousands of freely available software. There are third party repositories available too like CNR (click and run) which offer a huge collection of free, closed and commercial software for Linux platform which could be installed easily with a single click.

However, being open source many times you would find need of compiling application from source (may be binary is not available) or just for purpose of producing optimized binary according to your system’s configuration.

Here are few links you might help you in installing applications on Linux:

1. Getting debian binary package for Ubuntu(or any other debian based distribution): http://www.getdeb.net/
2. Gnome/GTK+ Applications : http://www.gnomefiles.org/
3. Guide to Installing applications: http://linuxondesktop.blogspot.com/2006/08/installing-applications-under-linux.html
4. Another useful forum post on installing applications under Linux: http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/64958-how-install-software-linux.html

Getting Help:

Even though Linux does not provide over the phone support like some of the commercially available operating systems provide, still it is relatively easy to get support for your Linux problems easily from number of online forums available and freely available documentation. These forums are quite active and you can expect satisfactory solution to your problem within few hours of posting problem. I have tried listing some of the sources I have found useful below:

Ubuntu Forums : http://www.ubuntuforums.org/
Linux Forums : http://www.linuxforums.org/forum/
Linux Questions : http://linuxquestions.org/
How to Forge : http://www.howtoforge.com/forums/
Linux Documentation Project : http://tldp.org/


Article by : Ambuj Varshney
Author is an undergraduate student at Dhirubhai Ambani Institute for Information and Communication Tech , Gandhinagar , India and a pro-blogger who blogs about Linux related issues at http://linuxondesktop.blogspot.com , you can reach him at : blogambuj@gmail.com
© 2008 Linux on Desktop blog


Linux gets 13 % Market Share : http://www.idc.com/getdoc.jsp?containerId=prUS21399008
Linux gets 4% Markey Share : http://ca.biz.yahoo.com/ibd/080807/tech.html?.v=1