Monday, November 29, 2010

Installing Marathi fonts in Ubuntu and using them

follow following steps:

1. Install fonts:
             $ sudo apt-get install ttf-indic-fonts

2. Inputting Marathi Text: ( from Wikipedia)

  • Go to Applications > Preferences > Keyboard.
  • Select the "Layouts" tab.
  • Select the keyboard for the language or script you wish to use from the "Available Layouts" frame and then press "Add".
  • Press "Close" to discard the dialogue box.
  • Right click on the main menu on your desktop and select "Add to Panel...".
  • Select "Keyboard Indicator" and click "Add".
  • Position the keyboard indicator on your menu bar and click it to switch between keyboard layouts.
Another option is to use SCIM, to enable that,

Sunday, November 28, 2010

Installing *.deb package from terminal

1. Install:
$ sudo dpkg -i package_file.deb

2. uninstall:
$ sudo dpkg -r package_name

Saturday, November 27, 2010

Mounting Hard drive via SSH

do following steps...

1. you should be sudo user.
         $ sudo su

2. displaying available hard drives in your system.
           fdisk -l

3. Suppose you want to mount /dev/sda1 drive, make some directory where do you want mount it.
        # mkdir /home/megh/HD1

4. mounting drive( assuming NTFS).
      #  sudo mount -t ntfs-3g /dev/sda1 /home/megh/HD1

5. done !!! browse directory HD1

(NOTE: if it's FAT32 swap out 'ntfs-3g' for 'vfat')