Archive for October, 2009

Boosting up download speed in linux

 For all those people using linux and having a low  speed internet connection,this post can be helpfull in some way,i hope.

  • Installing DownThemAll! to the firefox

 DownThemAll is an addon which can be installed to Mozilla Firefox web browser.
This addon can be downloaded as well as installed from the link

https://addons.mozilla.org/en-US/firefox/addon/201

as soon as the addon is installed to Firefox, it can be configured to suit the user requirements

  • Installing Download Accelerators 

Apart from installing addons to web browser,there are many download accelerators like D4X , JDownZ, Aria available which can be used to speed up the downloading.These download accelerators are usefull not only in boosting up the downloading speed ,but also in providing some extra features such as to pause and resume the download.

  •  JDownZ Download Accelreator

    the package of JDownZ can be downloaded from 


    http://sourceforge.net/projects/jdownz/


    the package is a jar file which can be run as per instructions in the README 
    available with the package 

     
    • Download for X (D4X) Download Acclerator
    These download acclerator is provided has its official binary with debian lenny release version.
    So those having the debian lenny insert the first disk then add the cdrom in synaptic manager then use the command
    sudo apt-get install d4x
    and the package will be installed .

    otherwise the package can be downloaded from 

    and can be installed as
    dpkg -i
    once d4x is installed ,it acn be accessed from Application -> internet -> Download for X.
     
    • Aria download accelerator

    This package is also available with Debian-“Lenny” distribution .It can be installed as

     sudo apt-get install aria

    otherwise the package can be downloaded from

     http://packages.debian.org/search?keywords=aria

    and the package can be installed by

    dpkg -i

    Leave a comment

    Configuring GDM (Gnome Display Manager)

     For configuring login screens in ubuntu 8.10 ,enough support is provided by  gdm (gnome display manager ) .Choosing a display screens at login, direct login to a desired username without prompting for username and password………
    are some features provided by gnome display manager .
    With the help of GDM, display can be configured to its maximum according to
    the needs of the user.

    Configuring gdm can be done either

    •  by editting the configuration file of gdm 
    •  by using gui provided by gdm

    one thing to remembered is that,the user is supposed to have root permissions for configuring the GDM configuration file.
    Editting configuration file
     The configuration file of the GDM has it’s path as follows
               
                        /etc/gdm/gdm.conf
    User can hand-edit the file according to the given documentation which suits best to his needs.But editting the file by hand only ,will not result in change of display, also the GDM daemon has to be reported about the change.
    For that the user would have to use the command

     gdmflexiserver –command=”UPDATE_CONFIG “

    by doing this the GDM daemon recognizes the change . Now for the change to be applied ,the GDM has to be restarted . It can be done by

     invoke-rc.d gdm reload

    or

     invoke-rc.d gdm restart

    after restarting the GDM,the display manager reads the new editted configuration file and the required changes are applied then only.

    GDM(Gnome Display Manager) GUI
    For using the gui provided by GDM ,user can make use of command,

    sudo  gdmsetup

    which promts for root password.
      The gui for the GDM looks as below

    here the user can select different themes provided for login screen
    under the local tab
    more attractive themes are available at
    Under the local tab itself , the user can configure the login display
    and select the style for the login display themes.
    Under the security tab ,the user can configure for automatic login
     
    automatic login means that the user can be login without promting for user name and password.Hence a default user has to be chosen for automatic login.
    Much more features of the GDM configuration can be explored and the display at boot time can be mastered by the user

    Leave a comment

    Hello world!

    Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

    Leave a comment

    Creating commands in linux by a simple C program

    Below i’ll try to  give an idea about how bash commands are implemented in linux by illustrating a small example.

            Simple way to create a command( in C ) ‘hello’ which prints hello world.

    • Step1 :  Create a cprogram “test.c” to print the string “hello world” by          first opening the file “test.c” using the text editor “vim”

                        

                                     vim test.c  
                               
                             and then writing into it

                                    #include
                                    main(){
                                               printf(“hello world\n”); 

                                     }

    • Step 2  : now compile the program by using the compiler gcc

                                    gcc test.c

                           to produce an executable file” a.out”.Now this file is the object file which prints the string “hello world” to the monitor.for executing the file we use as

                                   ./a.out

    • Step 3 :  Actually, a command like “cp” has it’s executable file in the directory /bin ,so by copying our executable file to that folder we can use it as a command .

                                  sudo cp a.out /bin/hello

             which prompts for the root password

                 Now we can use the command “hello” in the bash prompt to print “hello world” on the screen.

    Leave a comment