Saturday, December 4, 2010

backup your system by using ubuntu live cd or startup disk

Hi  the other day one of my professor called me and said that his sytem has crashed due to repeated power failure and cranky UPS. He was very desperate to back up his personal dats which ampunted to several GB.
The next day I went and saw the system. The machine was not booting, instead it was showing the error message namely "kernel panic, kernel not syncing". I was not able to go beyond it.
So i tried to boot using Live USB created by startup disk creator.
I selected the option known as 'Try ubuntu without any change to the computer'
I got into the hard disk and voila My professor was releived to see his folders and documents files.
But our enthusiasm was shortlived when we faced the problem namely the permission to copy. We were denied the permission to copy the folders into external HDD.
It took two hours to tweak the machine to bypass the administrator privileges. the wonder bash script is
sudo nautilus
this above mentioned command in terminal helped us to copy all the folders and we did a fresh install of Ubuntu Lucid.....

Monday, November 22, 2010

Howto print odd and even pages in Open office word (Duplex printing)

Hi everybody

Today I would like to share the tip of printing back to back pages in large scale (printing both sides of the pages/odd or even pages/duplex printing) using open office word. In microsoft word, this feature can be done by selectively printing odd or even pages option. It can be seen that this option is not there in Open office.

In open office select file->print->options->select 'left pages' and also 'reversed' and give the command for printing. Please note that only even pages are printed this time. Flip the page and load into the printer in such a way that it prints correctly on the other blank side. Now uncheck the 'left pages' and 'reversed' and select 'right pages' and give print command. voila!

thus you can save the page and time.

Tuesday, August 10, 2010

Howto install OpenRep in Ubuntu

Hi
In this post I would like to share some basic steps to Install the first ever free Homoeopathic Software. As well as the first ever Open source software in Homeopathy.


FIRST: Download the JAVA

  •  Download the java dependencies named Linux self extracting file and download it to a new folder named java in home folder. Now follow series of simple command series to install the downloaded files. Open the Terminal and type one by one command(Blue fonts)   
         cd
                   cd java
         chmod a+x jre-6u21-linux-i586.bin
         ./jre-6u21-linux-i586.bin
                
    • Now download two packages through Synaptic package manager. Navigate through System-->  Administration--> Synaptic Package manager.
            Download the package known as 'openjdk-6-jre-headless' and
             'openjdk-6-jre'


    SECOND: Download the .zip file of the software from here 
    Unzip the downloaded folder to a new folder named 'repertory' in your home folder. To open the software right click the folder mentioned as 'OpenRep.jar' and select the Java 6  JRE and lo you can see the software being fired.

    THIRD: To create a launcher, make a file named OpenRep.sh and paste the following script (Blue)in this file

    #!/bin/bash

    HERE=$(/bin/readlink -f "${BASH_SOURCE}")
    HERE_DIR=$(/usr/bin/dirname "${HERE}")

    /usr/bin/java -cp "${HERE_DIR}" -jar "${HERE_DIR}/OpenRep.jar"

    Save this file OpenRep.sh in the folder known as repertory. Make this file executable by right clicking it and selecting the option known as 'Make this file executable'. And there you are, now you can make a launcher to openrep in desktop. Right click anywhere on idle desktop and select 'Create launcher and enter the pathway of your OpenRep.sh file.

    Wednesday, July 21, 2010

    Howto install madwifi drivers for Atheros wireless card in Lucid

    Hi guys in this thread you will the instructions to install Madwifi drivers for Atheros wireless cards. Please follow the instructions to the word.

    Open the 'terminal' by navigating through Applications-->Accessories--> Terminal

    Now type the following commands in terminal. Copy and paste the text in red in the terminal

    1.Code:
    sudo nano /etc/apt/sources.list


    From there make sure you uncomment anything that starts with "deb" in there. So change it from "#deb" to "deb" Something along thoes lines. To exit and save hit "CTRL+X" the answer "YES" to save, then finally hit "ENTER"

    2.Code:

    sudo apt-get update && sudo apt-get upgrade


    3.Code:

    sudo apt-get install build-essential libssl-dev
    4..Code:
    sudo apt-get install linux-headers-`uname -r`
    5. Code:
    sudo apt-get install subversion
    6.Code:
    sudo -i

    7.Code:

    sudo svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
    8.Code:
    cd madwifi-ng

    9.Code:

    echo "" >> /etc/modprobe.d/blacklist
    10.Code:
    echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist

    11.Code:

    echo "blacklist ath9k" >> /etc/modprobe.d/blacklist

    12.Code:

    echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

    13.Code:

    make && make install

    14.Code:

    echo ath_pci >> /etc/modules
    Restart your machine.It should work


    Kernal updates of your system will kill your driver. Well no need to worry about that.Just recompile your driver.
    For that you open a terminal and type the command
    Code:

    sudo -i

    and just repeat the steps from No 8. Your madwifi will cone back to life again.

    Best of Luck
    Dr Kurian
    __________________

    Sunday, July 18, 2010

    How to install .targz file in Ubuntu

    Hi
    Step 1 Download the .targz file of the programme from the website. These folders contain actually a group of files which are necdessary for the programme to function but they are not compiled. Please extract the tar file to the Desktop bu double clicking it.

    Step 2 Read the 'Readme file' and see whether any dependencies are required. These dependencies are packages which are required for the programme to install but they are bindled in this tar file. If so install these files by synaptic package manager.

    Step 3 Open Terminal by navigating through accessories. Use the command 'cd Desktop'
    [copy the text within the inverted coomas and paste it to the terminal]

    Step 4 Use the command 'cd filename'[the text in bold should be replaced by the name of the extracted folder in the dektop]

    Step 5 Use the command 'make && sudo make install' to install the programme

    Step 6 Reboot your machine

    Thursday, July 15, 2010

    HOW TO VIEW .CHM FILES IN UBUNTU

    most of the online textbooks are in chm format. there are many programmes to view those files namely Xchm viewer or Kchm viewer. all are fine programmes but they do not support the java enabled .chm files. So what i did was that I downloaded the Xchm viewer from Ubuntu software centre and added one addon to firefox browser known as chm reader. So file which does'nt open in Xchm viewer due to java settings, i open those files in firefox browser

    Saturday, July 3, 2010

    How to type language in Ubuntu

    Hi in this post you will come to know how to type languages other than Default English
    Step 1
    Install the following packages from Synaptic Package Manager. You can navigate to Synaptic package manager through System--> Administration--> Synaptic package manager. The packages are as follows

    m17n-db
    scim
    scim-m17n
    scim-gtk2-immodule

    Step 2
    Activate your language support by navigating through
    System-->; Administration-->;Language support. Select your language of your choice.

    Step 3
    Now setup the SCIM by checking the boxes as shown in the Fig



    You can navigate to SCIM through System-->; Preferences-->;SCIM Input method.

    Well to type, open Gedit text editor. Click right mouse button, You will get a popup as seen in Fig


    Select Scim input method

    You will get a Language toolbar
    Select your language and type.
    Enjoy.....