Archive for November, 2007

Application alternatives on Linux. 6

So you’ve shifted to Linux. You love it! And its so totally cool! But … you miss those happy days of using Nero or Adobe products or iTunes even…

What do you do? You go to the nearest forum and ask your people for some answers only to get the same answer again and again … Google it!! You would love to do that once in a while but after sometime, you start regretting this helpless state of dependance that you are in and would rather go to your windows boot instead …

Here comes the answer to your problems … well, sort of! There is a new site that has a almost complete database of all the alternatives that you ever wanted to know about! in a easy to search, easy to browse manner, even!

LinuxAppFinder is the best resource that I have come across for a long time. In fact, the first page of LinuxAppFinder has all the Adobe products and their alternatives listed! (It helps that it is listed under ‘A’ :D ) So for all your Linux App needs, LinuxAppFinder is your place to go to!

Desktop Linux Survey Results. 12

The linux Foundation let out an early look at the result of their third annual desktop Linux survey. Key highlights of the report have been:

  • The number of users who filled out the survey has doubled to around 20,000 this year, compared to last year’s survey.
  • The survey users were mainly from Europe (51.5%), followed by North Americans (35.8%).
  • More than 39.5% of organizations that have Linux desktops are also running Linux on more than half of their machines.
  • The user baser for Linux is slowly moving towards client desktops as opposed to being inclined to development or engineering related work.
  • The preferred distribution for users has been Ubuntu (54.1%), followed by Red Hat and SUSE.
  • Some other really interesting observations have been that Linux users want to use software like AutoCAD, Photoshop and Dreamweaver on their Linux installations. Another really interesting observation is that more and more users are moving from a dual boot to a native Linux only system.

    Major concerns have not changed that much, however. The major issue as of this writing remains device support, especially for WiFi network adaptors. The issue with printers has become a little less, but users want to be able to use the kind of functionalities and additional features that they get with modern printers and multi-purpose machines.

    More information on the survey as soon as the survey results are announced after November 30th.

Finding text in files 3

Because of our being forgetful in nature, we oftentimes forget the files that we have created. We can only be fortunate if we can still remember the path, folder, or directory where we have stored those missing files. If that’s the case, it would never be a big deal then. However, trully this a big problem and even painful if we can’t even remember where we have placed the missing files in our computer. “Simple,” I’m hearing you… “find it.” Yeah, we can find it. But wait, do you know the filename?

Forgetting files and forgetting the filenames are most common in us. I will never believe somebody out there have a photographic memory and has never experienced missing some of the files he had created before. For sure, we all have gone through that frightening experience especially if the file that is missing is so precious to us.

In Windows, this problem can easily be addressed just by using the find or search tool in the Start menu. Can you remember some texts or phrases in the filename? Use “find files with names” and unleash the power of the wildcard character (*). For example, if you can only remember the word “statistic” in the filename, then search for “*statistic*” and that will search for files with the word “statistic” in the filename. “I can’t even remember a word in the filename,” again I can hear you saying that. Well, I don’t think you can’t even remeber even a single word in the file content itself. If you can’t remember even a word or phrase in the filename then go for the file content itself. In Windows, still you can search for files containing some texts that you specify in your “find files containing text” input box. That will absolutely solve your problem of forgetting words in the filename itself.

However, if you are in Linux, the whole thing would be more different and complex than it is in Windows especially if you are just a normal user dependent on the GUI interface. Linux is more on executing commands from a shell.

So if you are a normal user and that you are facing the “missing files” problem in Linux, don’t worry, I will show you the most common methods in solving this issue:

Find files that contain a text string

grep -lir “text to find” *

The -l switch outputs only the names of files in which the text occurs (instead of each line containing the text), the -i switch ignores the case, and the -r descends into subdirectories.

Find files containing search terms on Ubuntu

To find files containing keywords, linux has a powerful command called grep, which you can use to find the lines inside any file or a list of files.

grep -i -n ‘text to search’ *

List files containing text

Used to recursively search a directory for files containing a string, output the names of the files and the line number. This will search all regular files in for.

grep –with-filename –line-number `find -type f

Installing packages (rpm) in Linux 4

The RPM package manager is one of the most powerful command line driven package managers. It is free software and has many libraries that allow for it to be used for advanced development. RPM is a core component in most of the Linux distributions like Redhat/ Fedora, SUSE, Mandriva, Ubuntu, etc.

So, for the first Linux basic tutorial, I thought it might be nice to start by writing about the most commonly used options of the rpm command…

To install a downloaded package, once you are in the directory where the rpm file is, type the following command in the terminal:
rpm -ihv RpmName.rpm

To upgrade an already installed package, type the following command:
rpm -Uhv package

To delete a particular package:
rpm -e package

In case you want to reinstall a package which has deleted parts,
rpm -i -force package

That’s all for now. In case you feel that I have missed something, let me know!

Transparent menus with Compiz. 39

The Compiz (compiz-fuzion) is one of the coolest options available on a linux desktop! It has such an extensive collection of features (all configurable) that sometimes one just gets lost, I know I do!

So here is a cool tip to make the menu’s and taskbar transparent.

    If you don’t have the Compiz config settings manager, install the compizconfig-settings-manager package.
    Launch the utility either from the terminal or from the Preferences menu.
    To set menu transparency, select the General Options tile and choose the Opacity settings.
    In the Window Opacities section, click on the Add button.
    The pop-up window opens up and asks for window specification and the opacity you want.
    In the Opacity field, input: Tooltip | Menu | PopupMenu | DropdownMenu
    Set the Opacity value to what you like, say 80.

And that’s it. Of course you can do a lot more that just this basic configuration. To learn more, check out the documentation at the Compiz wiki

Wal-mart sells out Linux PCs 4

Wal-mart, which has been selling Linux PCs for some time now has officially sold out its stock of the Everex TC2502 PC which runs the gOS (linux). The reviews and ratings that this product has received from new and old Linux users has been really great and I am sure that this is the beginning of a long and successful run for the linux based PC.

The Everex PC is the first mass marketed desktop PC running Linux and runs a “green” version of Ubuntu called gOS. The best part about the PC is the configuration:
1.5GHz VIA C7 CPU in a mini-ITX motherboard
512 MB of RAM
80 Gb Hard Drive
It also uses the new Enlightenment desktop manager, which the manufacturer claims makes the PC more responsive that a PC running vista. The PC also comes bundled with a long list of pre-installed Google products. To top all of this off, the users also get free phone support!

Awesome is all I can say!

Flyback - Time Machine for Linux! 5

For those who are not familiar with Apple’s Time Machine, Time Machine basically is a software that backs up everything on your computer incrementally. What does this mean? Initially, Time Machine takes a backup of the entire computer (no compression) skipping caches and other files that are not needed to restore your computer to its original state.

Then every hour, every day, an incremental backup is automatically made. As many of you are probably thinking of, the possibilities of this feature are endless.

NOW, this is available for linux as well!! It’s a privately developed project called Flyback!

How to use Flyback:

Install the following packages:

Debian: $ sudo apt-get install python python-glade2 python-gnome2 rsync
Ubuntu: $ sudo apt-get install python python-glade2 python-gnome2 python-gconf rsync
Redhat/Fedora:
$ yum install pygtk2 gnome-python2-gconf pygtk2-libglade

Then download, extract, change to the new directory and run:
./flyback.py

To use the GUI:
python flyback.py
To perform GUI-less backup:
python flyback.py --backup

Awesome! Right?