Tuesday, October 19, 2010

Extract Pages From A PDF File

Install pdftk

$ pdftk CB.pdf cat 190-195 output vi_tutorial.pdf

I am extracting pages 190-195, from a pdf file called CB and I am naming the output file as vi_tutorial

Monday, October 18, 2010

Access Hotmail Through Evolution

Receiving(POP) Mail

    Server Type: POP
    Server: pop3.live.com (Port 995)
    Username: johndoe@hotmail.com
    Use Secure Connection: SSL encryption
    Authentication: Password Authentication


Sending(smtp) Mail

    Server: smtp.live.com (Port 25 or 587)
          Note: Some ISPs block port 25, if you are having a problem sending mail, substitute smtp.live.com:587 for the server information above.
    Server requires authentication: Checked
    Security: TLS encryption
    Authentication: Plain or Login
    Username: johndoe@hotmail.com

Sunday, October 17, 2010

Post-Installation

Post-Installation
  1. Login as root and add the normal user to Sudoers
    1. visudo
    2. Below root=(ALL) ALL, add the user
    3. Press "Escape" followed by "ZZ" to save the file and exit
  2. Install yum-priorities
    1. yum-priorities & rpmforge 
  3. Edit repos
  4. Add rpmforge
  5. Check package exclusion/plugin priority
  6. Install fuse fuse-ntfs-3g
    1. fuse fuse-ntfs-3g & Mount 
  7. Mount NTFS drives
  8. Install multimedia support
    1.  Play MP3s
  9. Install flash, firefox addons, torrent client, & ftp client

Connect BSNL EVDO ZTE AC8700 To Internet

Install the 3 RPMs.
1. libstdc++-4.3.2-7.i386.rpm
2. qt45-4.5.2-1.el5.pp.i386.rpm
3. ztemtEVDO-1.1-8.i586-fedora9.rpm

Probe for the modem, start evdo interface, enter the username and password to connect to internet

su
/sbin/modprobe usbserial vendor=0x19d2 product=0xfffe
dmesg | tail
ztemtevdo
Add the username and password
Connect to internet now.

Friday, January 22, 2010

Turn Num Lock key on

This can be done through 2 steps.
  1. Install "numlockx" 
  2. Edit the /etc/gdm/Init/Default file
Install numlockx through terminal using this command
sudo yum install numlockx

Edit the /etc/gdm/Init/Default file through Gedit using this command in a terminal
sudo gedit /etc/gdm/Init/Default

In the file which opens, above exit 0, paste the lines below

if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi


Save the file and exit.

Next time you reboot, num lock will be on by default