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,
                     http://kiranfont.com/kf/
                     http://www.baraha.com/download.htm

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')

Monday, October 11, 2010

scheduling tasks to be executed at a certain time in Ubuntu.

Here is useful tip for ubuntu users who wants to execute certain scripts periodically, like monitoring disks, updates, certain logs, periodic backup, periodic rsync and more..

Corn is daemon which will allow you to  schedule and execute certain tasks you assigned. Here is link to CornHowTo

Thursday, September 23, 2010

Restore original appearance and theme

Restoring default Ubuntu theme and appearance after installing some nasty themes which slows down performance of system.

Open up a terminal
Applications -> Accessories -> Terminal

We need to remove all these sections, they store gnome settings
The folders to remove are: .gconf, .gconfd, .gnome, .gnome2, etc.

So do this command:

$rm -Rf .gconf .gconfd .gnome .gnome2

Then log out and log back in (or reboot if you prefer)

Wednesday, September 1, 2010

C editing with VIM

Hi,


Here is some good references for improving your VIM editor for 'C' and 'C++' programming. I have also attached my vimrc file. have a fun !!!


Link1

link2

Saturday, August 21, 2010

LDD(Linux Device Driver)

I am doing some LDD experimentations, so what ever I found useful for LDD I am posting here, It might be useful for people interested in LDD.

Basic Tutorials: Free Basic Tute       Link2       Link3     Link4       Link5

Compilation steps: Only up to compilation(do not follow for installation)

Compilation and installation: link1( this adds our custom kernel as default kernel, unless u r sure don't do  this)

For Ubuntu 10.04 -  working