Sunday, December 19, 2010

Fixing network manager applet missing from notification area

1)  Open Terminal
2)  Type "sudo edit /etc/NetworkManager/nm-system-settings.conf"
3)  change the “managed=false” to “managed=true” and then save it.
4)  then in the terminal type “killall nm-system-settings”
5)   reboot.

Sunday, December 5, 2010

How to:Upgrade to ubuntu 10.10

If your ubuntu update manager not showing new upgrade release, then follow following steps to upgrade your ubuntu to 10.10 ...
1) In your sources.list file change 'lucid' to 'maverick' (if previous is 10.04)

2) install update manager if it's not there.

          $ sudo aptitude install update-manager-core

3) enter following command to upgrade:

          $ sudo do-release-upgrade -d

Then take rest for an hour... It will take time.

NOTE: If step 3 is not working restart after step 2.

OR after step 2 try...

                    $ aptitude dist-upgrade

Friday, December 3, 2010

Running Turbo C on LINUX

So student are comfortable with Borland Turbo C, so if you have switched to linux (ubuntu) here is some trick for using Turbo C on Ubuntu.

1) Go to terminal:
                 $ sudo apt-get install dosbox
2) Download Turbo C here : Turbo C

3) extract archive  to folder /home/TC/

4) open dosbox under Applications -> Games

5) type in following steps:
                     mount c ~/TC
6) Goto setup folder:
                     cd setup
7) locate install.exe and type:

And installation will start and follow steps.

after installation type in:
           cd tc/bin

and Turbo c will start :

more links : link1



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

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


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 !!!



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

Thursday, August 12, 2010

Dropbox in ubuntu (behind proxy)

Download Dropbox from link bellow:

Download Dropbox here

After installation download the experimental build of Dropbox:
For X86 :
$wget -c
For x86_64 : 
$wget -c


put above URL in firefox for manual download
put dropbox-lnx.x86-0.6.491.tar.gz in Home Folder.

untar using following command:

$tar xzf dropbox-lnx.x86-0.6.491.tar.gz # or x86_64


$killall nautilus
$ sh .dropbox-dist/dropboxd

Then tray icon will appear on top panel, right-click on it -> preferences -> Network proxy. then give your proxy details, close it.

Again run shell-script 'dropboxd' It will ask for your account detail, enter the same and you are done!!!

(NOTE: If not run properly logout after proxy setting and re-login and run shell script 'dropboxd' again.) 

Friday, July 23, 2010

Find more about ubuntu on...

Thursday, May 13, 2010

Want to find whats going on, on your ports..

Enter following command with port number:

$ netstat -an|grep   port_num

Here          port_num= 22 (SSH)
                                 = 161 (UDP)

Monday, May 10, 2010

SNMP- graphical viewer(browser) for mib-tree

install tkmib

$ apt-get install tkmib

to run

$ tkmib

Tuesday, April 27, 2010

Accesing repositories behind your proxy server through Terminal:

Add following two lines at the end of file '/etc/bash.bashrc'


export http_proxy=
export ftp_proxy=


ssh: port 22: Connection refused

Enter following commands in terminal ( as root):

$ apt-get install ssh
$ groupadd  -g  33  sshd
$ useradd  -u  33  -g  33   -c   sshd  -d  /  sshd
$ /etc/init.d/ssh   start 

Sunday, April 18, 2010

Accesing remote linux(ubuntu) system through linux(ubuntu) graphically...

Linux already has X-manager inbuilt so to access remote linux PC through linux machine do this...

in terminal :

$ ssh -X username@remote_machine_ip

// then enter ur password
//so u have logged in to remote machine.... :)
// to access graphically enter following command:

$ gnome-session

// here we go... now u have using graphical view of remote machine , u can  check //by clicking in applications to see installed programs in ur remote machine.. :)

Saturday, April 10, 2010

Graphical ssh/ftp client for Ubuntu...

(1) install: gFTP

(2) use places->Connect to server

Tuesday, April 6, 2010


If the XDMCP connection cannot be made between your PC and the remote host due to network configuration or a firewall, you cannot start a desktop environment such as CDE or GNOME/KDE environment using Xbrowser. If this is the case, please refer to the following for starting Unix/Linux desktop environments on your PC using Xstart.
  • Commands for starting Unix/Linux desktop environments
    Common Desktop Environment (CDE) /usr/dt/bin/Xsession
    (Set DISPLAY environment variable and run this command.)
    GNOME Environment /usr/bin/gnome-session
    K Desktop Denvironment (KDE) /usr/bin/startkde
    XDM /usr/lib/X11/xdm/Xsession (Unix)
    /etc/X11/xdm/Xsession (Linux)

  • To start Unix/Linux desktop environment from Xstart
    1.   Type DISPLAY=$DISPLAY; followed by one of the command above in the Execution Command box.
    2.   Open the proper Xmanager profile in Xconfig and clear 'Termincate at Reset' option.
    3.   Click Settings... in the Window Mode area of the General tab to open Window Mode Settings.
           In Window Manager list, click 'Automatic Switch' or 'Remote Only'.

Tuesday, March 9, 2010

Remote desktop (view ubuntu in windows XP)

see this link...


Saturday, January 30, 2010

Free Matlab...


Wednesday, January 20, 2010

IITB EE-dept email client settings...

For mail clients, use server as (for students )/ (for Faculty ) and the protocol to be used is IMAP (plain/SSL/TLS). POP3 access is not available. For outgoing mails, set the SMTP server as (for students ), ( for Faculty) use the default port (25) as shown by your mail clients.
From outside the department, you need to set as your SMTP server with the following settings.
  • PORT: 25
  • Enable AUTH: Yes
  • Use Secure Mode: Yes
This server will require users to authenticate themselves (once per session) with their LDAP userid/password.

Monday, January 18, 2010

Reset your lost Ubuntu Password

If you ever get locked out of your Ubuntu installation as I found myself to be tonight, you can reset your password quite easily using the following steps.
1. Power up your computer.
2. Press ESC at the grub menu.
3. Press e for edit.
4. Highlight the line that begins “Ubuntu, KERNEL ………” and press e.
5. Go to the end of this line, add rw init=/bin/bash and press enter.
6. Press b to boot your system.
7. Your system will boot up to a passwordless root shell.
8. Type in passwd username where username is the username you lost the       password for.
9. Set your password.
10. Type in reboot.

That is it! you can now log in using your new password. You can even reset your root password here but cannot login with it at the login screen.

Pidgin Settings for Gtalk...

Pidgin (formerly GAIM) is an open-source multi-protocol IM client which can allow to chat over MSN, Yahoo, AIM and many other protocols. The following settings will allow Pidgin to work with Google Talk.

1. Open Pidgin and go to Add / Edit under the Account menu.

2. Click on Add.

3. On the Basic tab, Use the following settings under Login Options:
Protocol: XMPP
Screen name: google id (everything before the @ symbol)
Domain: (use if your email ends in
Password: your password
Remember Password: check for automatic login

The Resource and Local Alias fields are not required

4. On the Advanced tab,
Force old (port 5223) SSL: Checked
Allow plaintext auth over unencrypted streams: Unchecked
Connect Port: 443
Connect Server:
Proxy type: Use Global Proxy Settings

5. Click the Save button.

If you’ve tried a number of settings prior to this guide and are still unable to connect

1) Click the Save button and not the Register button after modifying any settings.

2)The Enable checkbox next to your account in the Accounts window needs to be checked.

E: Sub-process /usr/bin/dpkg returned an error code (2)

Edit       /var/lib/dpkg/statoverride   file as bellow

root mlocate 2755 /usr/bin/mlocate

remove all other lines in this file and save it (there should not be any empty line too)will work....