GPL stands for GNU Public Licence. It gives the end user the right to use, view, modify and share the source code of any software which has been released under this licence. And yes Linux is free because it is released under GPL. You can find answers to all these and more at the Official FSF FAQ on GNU GPL.
Monday, 18 April 2005
The GPL FAQ
GPL stands for GNU Public Licence. It gives the end user the right to use, view, modify and share the source code of any software which has been released under this licence. And yes Linux is free because it is released under GPL. You can find answers to all these and more at the Official FSF FAQ on GNU GPL.
Sunday, 17 April 2005
Window Managers in Linux
Window managers are X client programs which are either part of a desktop environment or, in some cases, standalone. Their primary purpose is to control the way graphical windows are positioned, resized, or moved. Window managers also control title bars, window focus behavior, and user-specified key and mouse button bindings.
Having said that, there are a lot of window managers for linux. So the user has the flexiblity to modify the look and feel of his GUI environment according to his tastes.
- kwin — The KWin window manager is the default window manager for the KDE desktop environment. It is an efficient window manager which supports custom themes.
- metacity — The Metacity window manager is the default window manager for the GNOME desktop environment. It is a simple and efficient window manager which supports custom themes.
- mwm — The Motif window manager, is a basic, standalone window manager. Since it is designed to be a standalone window manager, it should not be used in conjunction with the GNOME or KDE desktop environments.
- sawfish — The Sawfish window manager is a full featured window manager. It can be used either standalone or with a desktop environment.
- twm — The minimalist Tab Window Manager, which provides the most basic tool set of any of the window managers and can be used either standalone or with a desktop environment. It is installed as part of X.org.
- fluxbox - A very popular light weight window manager.
- fvwm - Fvwm was designed to minimize memory consumption, provide a 3-D look (similar to from Motif's mwm) and provide a simple virtual desktop. Functionality can be enhanced by the use of various modules.
- Afterstep - This is a window manager based on fvwm but designed to emulate some of the look and feel of Apple's NeXtStep interface.
- IceWM - Another light weight window manager with a windows 98 like interface....these are just a few that come to my mind.
There are a lot more.
So what is the difference between a window manager and a desktop ?
The difference is that Desktop environments have advanced features which allow X clients and other running processes to communicate with one another and allow all applications written to work in that environment to perform advanced tasks, such as drag and drop operations; Cut, copy and paste data between different applications to name a few and, they supply their own range of integrated utilities and applications. This convenience and ease of use makes them particularly attractive to new users, which has made them very popular. A Desktop environment displays a more polished front to the user. Some of the more popular desktop enviroments are Gnome, Kde, XFce and cde.
You can also run the window managers as standalone. For example, try running twm window manager as follows from the command line:
# startx -e
To start twm, try:
# startx -e twm
This will give you a fair idea about the differences between window managers and desktop environments.
$100 Laptops running Linux
Check out these photos:

Updates :
- You can read in detail a review of the first prototype at worldchanging.com .
- Red Hat officially commits to MIT's $100 laptop. (Jan 31st 2006)
Thursday, 14 April 2005
A collection of PDF viewers for GNU/Linux
Saturday, 9 April 2005
Installing linux on a Mac Mini
Tuesday, 5 April 2005
Configuring Apache webserver to restrict access to your website
- Either by the hostname of the browser being used
- By asking a username and password
- Create a file containing username and passwords - Apache webserver has a utility called htpasswd to create the file containing username and passwords. Here I am creating a file called 'users' in the /usr/local/etc/ directory.
The first time you run the htpasswd utility, you run it using the -c flag as follows:
# htpasswd -c /usr/local/etc/users gopinath
gopinath:WrU90BHQai36The first field is the username and the second field is the encrypted password.
kumar:iABSd12QWs67
ankit:Wer56HsD12s6
AllowOverride NoneAnd change it to
AllowOverride AuthConfig
#File: .htaccess
AuthName "Only Valid Access"
AuthType Basic
AuthUserFile /usr/local/etc/users
require valid-user
Lastly don't forget to restart the web server which rereads the changed configuration files :
# service httpd restart
Thursday, 3 February 2005
Mounting a filesystem automatically using 'autofs'
# chkconfig autofs --listAs you can see from the above listing that autofs is OFF on my system. So I turn it ON using the command:
autofs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# chkconfig autofs on
# chkconfig autofs --listNow the autofs daemon is configured to start automatically when you boot up your machine.
autofs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
The main configuration files for autofs is /etc/auto.master. This file has the syntax as follows:
Each mount point is given on a seperate line. For eg:
# File: /etc/auto.master
/mnt /etc/auto.misc
# File: /etc/auto.misc
floppy -fstype=auto,rw,users :/dev/fd0
- A key - The key can be any single word but preferably the name of the device or the name of the sub-directory below the mount point specified in the auto.master file.
- The mount options for the filesystem associated with the key. In the listing of my auto.misc file, I have set it to mount with read/write permission and autodetect the type of filesystem - whether ext3 or vfat etc - and who all can mount the filesystem (see man mount for more options).
- The path of the device file associated with the filesystem. It should be preceeded by a colon (:).
# service autofs restart
# cd /mnt/floppy
# File: /etc/auto.misc.. and so on.
nfsshare -fstype=auto,soft,intr 192.168.0.1:/remote_nfs_share
cdrom -fstype=iso9660,ro :/dev/cdrom

