Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

How to make Ubnutu 9.10 Karmic Koala Multimedia Ready

Ubuntu 9.10 Required the following steps to Run Multimedia files like MP3, AVI, Mpeg, 3gp etc...

In Ubuntu 9.10 "Karmic Koala", the universe, multiverse and restricted repositories are activated by default.

For installing Multimedia files you need to add medibuntu repositories.

Run the following in command mode it will add medibuntu repositories in your sources list

$ sudo wget http://www.medibuntu.org/sources.list.d/karmic.list --output-document=/etc/apt/sources.list.d/medibuntu.list

then Add the GPG Key:

$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Run
$ sudo apt-get update


Now you can Install non-free-codecs
$ sudo apt-get install non-free-codecs

It will enables your system to support for MP3 and various other audio formats, unrar. Java runtime environment, Flash plugin, Microsoft fonts, w32codecs etc!

You can install more codecs and DVD Support by using
$ sudo apt-get install libdvdcss2 libxine1-ffmpeg gxine mencoder


It will help you to run DVDs, AVI files and other mpeg codecs.

Now Install Famous VLC player and Mplayer
$ sudo apt-get install vlc mplayer


You can Install following interesting and useful utilities

Audio Editing Software Audacity
$ sudo apt-get install audacity


Adobe Acrobat Reader
$sudo apt-get install acroread acroread-plugins


If you have problem with any package add the following to you repositories

open /etc/apt/sources.list and add the following

deb http://ppa.launchpad.net/rvm/libs/ubuntu karmic main
deb http://ppa.launchpad.net/c-korn/vlc/ubuntu karmic main



OR Open Applications -->Ubuntu Software Center and then selectEdit --> Software Sources and Then Select the tab Other Software and ADD the above repositories

Run the Following Commands for avoiding Key Problems

$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
0DA7581859566E92

$sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
 D739676F7613768D

How to Sync Wireless iPhone with Amarok( ubuntu)

The following guide allows you to wirelessly sync an iPhone with Amarok in Ubuntu 7.10, including adding, editing and playing songs and playlists.




Note :- it requires a jailbroken iPhone.

Step1 :- Set up the iPhone


On your iPhone:

Click Settings ? General and set Auto-lock to Never. This will ensure the iPhone keeps the WiFi connection open.


Click Settings ? WiFi and select your WiFi network. Click the Static button and change the IP Address to something outside the dynamically assigned range of your network. For example, if your wireless router normally assigns 192.168.1.1 - 192.168.1.5, try 192.168.1.10. This will ensure your iPhone is always contactable at the same address for syncing.



Open Installer.

Click on All Packages ? OpenSSH ? Install.

Click All Packages ? BSD Subsystem ? Install



Step2 :- Set up Ubuntu


A third party source provides the ipod convenience package needed to properly mount and unmount an iPhone or iPod Touch, and for gtkpod users, a newer gtkpod that’s required for the iPhone and iPod Touch.

First you need to edit the /etc/apt/sources.list file

    sudo gedit /etc/apt/sources.list

add the following line

   deb http://ppa.launchpad.net/ipod-touch/ubuntu gutsy main

Save and exit the file

Update the source list

 sudo aptitude update

Install the ipod-convenience and amarok packages

  sudo aptitude install ipod-convenience amarok

When asked, enter the IP address of your iPod Touch or iPhone that you selected earlier. When asked for a folder to mount your iPod Touch or iPhone, either leave the default of /media/ipod or another folder if you prefer - just remember to use that folder name for rest of this guide. The package will make the folder for you.


Step3 :- Set up Amarok


Click Applications ? Sound and Video ? Amarok

When you first open up Amarok:

Click Settings ? Configure Amarok.

Choose Media Devices.

Hit Add Device.

Select Apple iPod Media Device for the plugin type.

Point it at your mount point, /media/ipod.

Back in the main app, click the blue cog icon called Configure Device just above the iPhone or iPod Touch. For Pre-Connect Command, add iphone-mount, for the Post-Disconnect Command, add iphone-umount

Click Connect. After entering your password, your iPhone or iPod touch should now appear in Amarok.

You can now add, edit, and delete music to the iPhone like any other device. Just drag the music files into Amarok, and hit Transfer to move them to your iPhone. When you’re done, stop any music playing from the iPhone and click Disconnect.

Music should show now up in the iPhone immediately.

Note: If music doesn’t show up immediately this may be due to a bug recent BSD Subsystem packages missing the killall command. If so, you can download killall for iPhone, move the ‘killall’ file to /usr/bin/on your iPhone, and enable the execute permission.



How to install PHP6 in ubuntu / Debian Linux

The full stable version of PHP6 is not yet released. But pre-built package is available. Early birds can start now. You can install a development snapshot of PHP 6 and preview it for its features and you can check your old scripts ( PHP 6 have some backwards-compatibility issues), so check your existing codes.


Howto Install PHP6 in Ubuntu / debian linux.

First you have to install GCC and GNU make utility

     $sudo apt-get install build-essential

Now PHP6 installation needs some additional libraries

•Apache development headers, such as apache-prefork-dev
•International Component for Unicode (ICU) library, libicu-dev
•The XML2 development headers, libxml2-de etc

You can install the above using
  $ sudo apt-get install apache-prefork-dev libicu-dev libxml2-dev

Now you can download latest PHP6 package from here
 http://snaps.php.net/

$ tar -xzvf php6.0-xxxxxx.tar.gz

Now Change directory to the new directory made by tar and start configuration

$ cd php6.0-xxxxxx
$ sudo ./configure --exec-prefix=/usr
--with-apxs2=/usr/bin/apxs2
--with-config-file-path=/etc/php6
$ sudo make
$ sudo make test
$ sudo make install

How to Burn a CD’s/DVD’s in Ubuntu Linux

GnomeBaker is a Gnome CD/DVD burning application.GnomeBaker is a GTK2/Gnome CD/DVD burning application. I’ve been writing it in my spare time so progress is fairly slow. It’s more of a personal project as I wanted to have a go at developing on Linux and I figured that as I had got this far I may as well let it loose on the world. Maybe someone will like it and use it.


It requires a recent version of cdtools (cdrecord, readcd, cdda2wav and mkisofs), version 2 or greater should be okay. It also requires growisofs for DVD burning.


GnomeBaker Features

Create data CDs.
Blank RW disks.
Burn DVDs.
Copy data CDs.
Copy audio CDs.
Support multisession burning.
Record to and burn from existing CD ISO images.
Can burn via SCSI and ATAPI on Linux kernels 2.4 and 2.6. Basically if cdrecord works, then GnomeBaker will work.
Drag and drop to create data CDs (including drag and drop to/from the Nautilus file manager).
Create audio CDs from existing WAV, MP3, FLAC, and Ogg files.
Integrate with GConf for storage of application settings.


Install GnomeBaker in Ubuntu

sudo aptitude install gnomebaker

This will complete the installation.

After the program is installed, open it by doing Applications--->Sound & Video--->GnomeBaker







Once it opens you should see similar to the following screen





Burn Data CD Using gnomebaker

If you wish to make a Data CD, click Data CD near the bottom.

Add the files and click “Burn”


Burn Audio CD Using gnomebaker

If you want to make an Audio CD, click Audio CD instead of Data CD.

Change the audio CD length from 21 minutes to 80 minutes (a standard CD size) so that you can add a reasonable amount of music to the CD.

Add the music and hit “Burn”.


Burn .iso using gnomebaker

To make an ISO image, click Tools, and then Burn CD/DVD image depending on if you are burning to a CD or DVD. Then you will need to find the location of the ISO image (e.g /home/name/Desktop/someiso.iso)

You can copy another CD/DVD or Audio CD by selecting the option that applies from the Tools menu.


Writing a multisession disk with GnomeBaker

1st Session:

1. Add Files to Data Disk

2. Create data disk. Mode=”default” or “tao” (default should be tao, i.e. track-at-once).

3. Start

4. Ok.

Next session:

1. Import the previous session(s) (Import button). You might have to unmount the disk manually in case you get errors at importing the disk (apparently GnomeBaker can’t handle very well the unmounting of a mounted CD)

2. Add Files to Data Disk

3. Create data disk. Mode=”default” or “tao” (default should be tao, i.e. track-at-once).

4. Start

5. Ok.

And that’s it. You should have now a multisession disk.

How to Recover Lost Skype Password from Ubuntu

Lost my Skype password. How can I retrieve it?

If you have forgotten your Skype password, No Problem, you can request for a new password Click Here. and enter your email address, new password token sent to the email address you used to originally register with Skype.

Now you will receive an email containing a link to skypes's secure website and a token to change your password. The token will be valid for 6 hours from the time of generation. If you do not use it within this timeframe, you will have to request another one.


If Your registered is also forgotten ?

Now you will need to contact skype customer support with the following details. They will attempt to verify your account and make the appropriate changes.

They need:

- Your billing address.

- The date of your last purchase of a Skype product.

- And the last two phone numbers called using your Skype Credit.

How to make Ubuntu 9.04 (Jaunty Jackalope) Multimedia Ready

Ubuntu 9.04 Required the foll0wing steps to Run Multimedia files like MP3, AVI, Mpeg, Flash file etc...


In Ubuntu 9.04 "Jaunty jackalop", the universe, multiverse and restricted repositories are activated by default.

For installing Multimedia files you need to add medibuntu repositories.


Run the follwing in command mode it will add medibuntu repositories in your sources list

$ sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list

then Add the GPG Key:

$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Run

$ sudo apt-get update

Now you can Install non-free-codecs

$ sudo apt-get install non-free-codecs

It will enables your system to support for MP3 and various other audio formats, unrar. Java runtime environment, Flash plugin, Microsoft fonts, w32codecs etc!

You can install more codecs and DVD Support by using

$ sudo apt-get install libdvdcss2 libxine1-ffmpeg gxine mencoder

It will help you to run DVDs, AVI files and other mpeg codecs.

Now Install Famous VLC player and Mplayer

$ sudo apt-get install vlc mplayer

You can Install following interesting and useful utilities

Audio Editing Software Audacity

$ sudo apt-get install audacity

Adobe Acrobat Reader

$sudo apt-get install acroread acroread-plugins

How to enable a disabled account in finch i

1. Open Action Menu (Alt+A) and open Accounts window in finch.


2. Select the account to enable using the arrow keys.

3. Press SPACEBAR and the [X] on the left of your account will toggled.

4. Wait or find the Login Window (maybe hidden below your other window inside finch) use Alt+N to cycle to next window.

5. When the login window found, enter correct password. press tab or left/right arrow key to reach OK button. And press enter.

Install Adobe PDF Reader with Plug-in for Mozilla Firefox in ubuntu

Adobe Acrobat was the first software to support Adobe Systems’ Portable Document Format (PDF). It is a family of software, some commercial and some free of charge. The Adobe Acrobat Reader program (now just called Adobe Reader) is available as a no-charge download from Adobe’s web site, and allows the viewing and printing of PDF files. It is a major component of the Adobe Engagement Platform, and is widely used as a way to present information with a fixed layout similar to a paper publication.


Several other PDF-editing programs allow some minimal editing and adding of features to documents, and come with other

modules including a printer driver to create PDF files.



Install acrobat reader with firefox plugin in Ubuntu

sudo apt-get install acroread mozilla-acroread acroread-plugins

This will complete the installation

If you want top open acrobat reader go to Applications -> Office -> Adobe Reader







Once it opens you should see the following screen







Adobe Reader support with SCIM


Note: If you have added additional language support (SCIM) you will have trouble with running Adobe Reader 7.0. There is a fix for this outlined below:

sudo gedit /usr/bin/acroread

Within that file change:

#!/bin/sh

#

to:

#!/bin/sh

#

GTK_IM_MODULE=xim


Save the file.

At this point Adobe Reader should work alongside additional language support (SCIM).


How to associate Adobe Reader for .pdf files in Ubuntu

This will explain how to set Adobe Reader as the default program for .pdf files on your Ubuntu system.

Right-click on any .pdf file Select “Properties”







Once it opens you need to select “Open With” Select Adobe Reader







This should now associate all .pdf files with Adobe Reader on your Ubuntu system.

Howto Mount and Unmout ISO images without burning them in ubuntu

Some times you want to use iSO images without burning them.If you don’t want to waste your CD’s/DVD’s here is the simple possible solutions using these tips you can mount and unmount ISO images without burning them.


I know two possible solutions

1) Using Nautilus Scripts

2) Using kernel loop module

Now we will see each one in detailed

Using Nautilus Scripts

I am taking this tip from here first you need to download two scripts for mount iso images download from here for unmount iso images download from here



Once you have these two scripts you need to change the permissions using the following commands

sudo chmod +x /home/username/mount.sh
sudo chmod +x /home/username/unmount.sh


Now you need to copy them nautilus scripts

sudo mv /home/username/mount.sh ~/.gnome2/nautilus-scripts/
sudo mv /home/username/unmount.sh ~/.gnome2/nautilus-scripts/

That’s it now you are ready for mounting and unmounting your ISO images.

Example

Mount ISO Image

Now i have one ISO image if you want to mount you need to right click and select scripts ---> mount-iso







Now it will prompt for root password and click ok







You can see the Mounter notification like the following







Here is the Successfully mounted message if you want to open this one click ok







This shows you available contents in mounted ISO image







Unmount ISO Image

Now i have one ISO image if you want to mount you need to right click and select scripts--->unmount-iso







Here is the Successfully Unmounted message







Using loop Kernel Module

First you need to make the directory to put the ISO into using the following command

sudo mkdir /media/isoimage


Now you need to add the loop module to your kernel.

What kernel loop module does?

I want to give brief introduction to kernel loop module.Using the module loop it is possible to mount a filesystem file. squashfs is a “loop” with (de)compression (Compressed Loopback Device) and it is possible to mount a compressed filesystem like a block device and seamlessly decompress its data while accessing it.

Use the following command to load loop module

sudo modprobe loop


Mount ISO Image

If you want to mount you need to use the following command

sudo mount debianetch.iso /media/isoimage/ -t iso9660 -o loop


In the above command you can replace debianetch.iso to your own iso image.

Now you should have your iso file mounted, and accessible from your desktop.

Unmount ISO Image



Unmount ISO Image Using the following command

sudo umount /media/isoimage

Howto Install More Than 4Gb Memory in 32 bit Ubuntu - How to Install PAE ( Physical Address Extension)

If You Install More than 4 GB Memory in your 32bit ubuntu Machine It will not access the memory beyond 4GB.The x86 architecture presently uses only 36 bits out of 52 bits possible. On x86-64 processors, PAE is obligatory in native long mode; currently 40 bits are used out of 52 bits possible. How do I find out if my Linux kernel supports 36-bit or more physical addressing?



$ sudo grep physical /proc/cpuinfo

shows

physical id : 0

address sizes : 36 bits physical, 48 bits virtual .........

$ free -m will show only <>$ sudo apt-get update
$ sudo sudo apt-get install linux-headers-server linux-image-server linux-server
Once kernel images installed, just reboot your machine ,

$ sudo reboot

After reboot, login into your system and type the following command to verify memory usage:

$ free -m

Howto Upgrade Pidgin into 2.5.8 version

The solution is upgrade the Pidgin into 2.5.8 version.


Via terminal console

The steps:

1. Open the terminal, then copy-paste these commands and press "enter" :
   $ sudo su

Choose the Ubuntu distro that you use;

Ubuntu 8.04 Hardy Heron
# echo deb ftp://repo.ugm.ac.id/pidgin-developers/ hardy main >>/etc/apt/sources.list

Ubuntu 8.10 Intrepid Ibex
# echo deb ftp://repo.ugm.ac.id/pidgin-developers/ intrepid main >>/etc/apt/sources.list

Ubuntu 9.04 Jaunty Jackalope
# echo deb ftp://repo.ugm.ac.id/pidgin-developers/ jaunty main >>/etc/apt/sources.list

2. For the security, do not forget to get out from the mode root, by typing this command :
# exit

3. Next, update the package list and pidgin package by typing this command :
$ sudo apt-get update
$ sudo apt-get install pidgin pidgin-data

4. Backup the previous pidgin configuration by changing the folder's name, on the terminal
type :
$ mv .purple .purple-backup

5. Run the pidgin, add the yahoo user and login.


Via Graphic

The Steps:

1. Run the package manager application by clicking the System |Administration|Synaptic Package Manager menu (figure 1) ;
2. On the Synaptic Package Manager,click Settings |Repositories menu (figure 2);
3. On the appeared dialogue, click Third Party Software tab, then click the Add button, there will appear an entry dialogue to input the source list (figure 3);

4. Copy paste these lists below and click Add Source button;

Adjusted with the Ubuntu distro that you use


Ubuntu 8.04 Hardy Heron
deb ftp://repo.ugm.ac.id/pidgin-developers/ hardy main

Ubuntu 8.10 Intrepid Ibex
deb ftp://repo.ugm.ac.id/pidgin-developers/ intrepid main

Ubuntu 9.04 Jaunty Jackalope
deb ftp://repo.ugm.ac.id/pidgin-developers/ jaunty main

5. After adding, click the Reload button on the Synaptic Package Manager (figure 4);
6. If there is a note "error GPG key", please ignore it, click Close button (figure 5)
7. The last step, serach the application namely "pidgin" and "pidgin-data", right-click on the package's name and choose Mark for Upgrade and click Apply button;
8. Open the file browser, referring to “/home/nama_user_name_anda”, press the Ctrl+h to show the hidden file. Then find a folder “.purple”, change the name into“.purplebackup”
9. Run the Pidgin, add the yahoo account and login.







Screenshoot:
Figure 1:




















Figure 2














Figure 3





















Figure 4


















Figure 5




















Figure 6




























(UGOS Team)

Howto Install Skype perfectly in ubuntu 9.10 Karmic Koala



The world famous communication software skype can easily install in ubuntu 9.10 Karmic koala with simple steps. Skype can be used for Free calls, video calls and instant messaging over the internet. Plus great value calls to phones anywhere in the world. with a broadband internet connection you can make low cost calls to land phones and mobile phones.


First you have to add medibuntu repository.

you can choose one of the following methods for adding medibuntu repository

Open a terminal and type

$ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -
O /etc/apt/sources.list.d/medibuntu.list
$ sudo apt-get update

$ sudo apt-get --yes -q --allow-unauthenticated install medibuntu-
keyring
$ sudo apt-get -q update

OR

# gksu gedit /etc/apt/sources.list
and add the line
deb http://packages.medibuntu.org/ karmic free non-free

OR

Open System -->Administration-->Synaptic Package Manager and then Settings --> Repositories -->Other Software --> ADD --> deb http://packages.medibuntu.org/ karmic free non-free

After Adding Medibuntu

$ sudo apt-get install skype


Now Your skype is ready for use

$ skype

If you have a any difficulty you can directly download the deb file and install

Download the deb file for skype from here

now double click on the deb file
or
open a terminal and type

$ sudo dpkg -i skype-debian_2.0.0.72-1_i386.deb

Atheros AR5007 wireless with madwifi on Ubuntu 8.04 (Hardy heron)

If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04


For i386 Users

First go to System-->Administration-->Hardware Drivers” and disable by un-ticking the following option

Atheros Hardware Access Layer (Hal)

Then Reboot your system.

Preparing your system

sudo apt-get install build-essential

Then open the terminal from Applications-->Accessories-->Terminal and copy the following command

wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz

tar xfz madwifi-ng-r2756+ar5007.tar.gz

cd madwifi-ng-r2756+ar5007

make

sudo make install

sudo modprobe ath_pci

sudo reboot

That’s it now your wireless should work without any problem.

For AMD64 Users

If you are using 64 bit version following this procedure

Blacklist the default driver

echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist

Download the 64 bit driver

wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz

Extract driver using the following command

tar xvf ar5007eg-*.tar.gz

tar xvf ndiswrapper-newest.tar.gz

Ensure you have your kernel headers and the build essential package.

sudo aptitude update

sudo aptitude install linux-headers-$(uname -r) build-essential

Install ndisgtk

sudo apt-get install ndisgtk

Either use ndisgtk to install the driver or

sudo ndiswrapper -i net5211.inf

Load up ndiswrapper every time Linux is loaded

sudo modprobe ndiswrapper

echo “ndiswrapper” | sudo tee -a /etc/modules

Restart your system using the following command

sudo reboot

Your card should have been detected and it should show available networks but if it does not, try

sudo iwlist scan

How to Install GCC (c/c++) Compiler in Ubuntu Linux

Install package called build-essential is the best way


build-essential contains a list of packages which are essential for building Ubuntu packages including gcc compiler, make and other required tools.


$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
$ make -v

Now, you should able to compile software using C / C++ compilers.

Convert flv (flash video) to dvd iso in Ubuntu

flv2dvd is a script that convert an flv into a dvd iso image. simple stick the (single flv file) into an empty directory, cd into it and type in (flv2dvd *) without the quates. The end result is a dvd iso that you can burn using your favorate cd burner.



Install flv2dvd in Ubuntu hardy

You need to edit the /etc/apt/sources.list file using the following command

          sudo gedit /etc/apt/sources.list


Then add the fallowing line to the bottom

       deb http://ubuntu.global-web.us/hardy binary/

Save and exit the file

Update the source list using the following comamnd

             sudo apt-get update

Install flv2dvd using the following command

            sudo apt-get install flv2dvd


Using flv2dvd

simple stick the (single flv file) into an empty directory, cd into it and type in (flv2dvd *) without the quates. The end result is a dvd iso that you can burn using your favorate cd burner.

mkdir flvtest

for example if you have music.flv file in flvtest directory

cd flvtest

          flv2dvd *


Now you should be having dvd iso that you can burn using your favorate cd burner.

How to enable DVD Playback in your ubuntu System

DVD playback is not a feature that is installed by default due to license restrictions. This will show you how to install DVD playback capability on your Ubuntu linux machine.


Note: In some parts of the world using DVD playback is not legal.

Installing DVD playback is Very Easy. You’ll need to install the Seveas Repository before you’ll have access to it

First you need to edit your /etc/apt/sources.list using the following command

sudo vi /etc/apt/sources.list

and enter the following sourcelist save the file and exit

deb http://mirror.ubuntulinux.nl edgy-seveas all
deb-src http://mirror.ubuntulinux.nl edgy-seveas all

Now you need to copy the key using the following command

wget http://mirror.ubuntulinux.nl/1135D466.gpg -O- | sudo apt-key add -

Update your source list using the following command

sudo apt-get update

Install libdvdcss2 using the following command

sudo aptitude install libdvdcss2

or, if you prefer not to install Seveas repository you can run the following command to automatically download and install the appropriate files

sudo /usr/share/doc/libdvdread3/./install-css.sh

How to enable Moodbar in Amarok Music Player

Amarok is a sound system-independent audio-player for *nix systems. Its interface uses a powerful “browser” metaphor that allows you to create playlists that make the most of your music collection.

Moodbar in amarok it shows you the “mood” of a track, which you can then use to figure out when something interesting happens in the song.

Preparing your system

You need to install all the compilers using the following command

sudo apt-get install build-essential

Now you need to install the libraries and required program

sudo apt-get install fftw3-dev libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer-editor gstreamer-tools gstreamer0.10-plugins-ugly

Install Moodbar in Ubuntu

First download moodbar using the following command

wget http://pwsp.net/~qbob/moodbar-0.1.2.tar.gz

Now you have moodbar-0.1.2.tar.gz file you need to extract using the following command

tar -xzvf moodbar-0.1.2.tar.gz

Now you need to go in to the directory and compile

cd moodbar-0.1.2

./configure --prefix=`pkg-config --variable=prefix gstreamer-0.10`

make

sudo make install

This will complete the installation.

Now you can open Amarok and go to “Settings -> Configure Amarok” and from “General“, select “Use moods“. There are three different colour moods to choose from.

Installing Microsoft Fonts in Ubuntu

You may want to install Microsoft Truetype fonts in Ubuntu for any reason. It's very simple. All you need to do in your Ubuntu Gutsy Gibbon 7.10 is to install the msttcorefonts package.








The Truetype Microsoft fonts provided by the package include:

•Andale Mono
•Arial Black
•Arial (Bold, Italic, Bold Italic)
•Comic Sans MS (Bold)
•Courier New (Bold, Italic, Bold Italic)
•Georgia (Bold, Italic, Bold Italic)
•Impact
•Times New Roman (Bold, Italic, Bold Italic)
•Trebuchet (Bold, Italic, Bold Italic)
•Verdana (Bold, Italic, Bold Italic)
•Webdings

To install msttcorefonts package, open a Terminal... Application > Accessories > Terminal and type (without the dollar sign):

$ sudo apt-get install msttcorefonts

After doing this, you can also install other TTF fonts in your collection by copying them in your ~/.fonts folder. After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:

$ sudo fc-cache -fv

That's all. Anyway, Hope it will help others too.

How to Crack pdf File Password

you want to crack pdf file passwords use pdfcrack.PDFCrack is a GNU/Linux (other POSIX-compatible systems should work too) tool for recovering passwords and content from PDF-files. It is small, command line driven without external dependencies. The application is Open Source (GPL).


pdfcrack Features

Supports the standard security handler (revision 2 and 3) on all known PDF-versions

Supports cracking both owner and userpasswords

Both wordlists and bruteforcing the password is supported

Simple permutations (currently only trying first character as Upper Case)

Save/Load a running job

Simple benchmarking

Optimised search for owner-password when user-password is known

Install pdfcrack in Ubuntu

sudo aptitude install pdfcrack

This will complete the installation.



pdfcrack Syntax

pdfcrack -f filename [options]


pdfcrack Options

-b, - -bench - Perform benchmark and exit.
-c, - -charset=STRING - Use the characters in STRING as charset.
-m, - -maxpw=INTEGER - Stop when reaching INTEGER as password length.
-n, - -minpw=INTEGER - Skip trying passwords shorter than INTEGER.
-l, - -loadState=FILE - Continue from the state saved in FILENAME.
-o, - -owner - Work with the ownerpassword.
-p, --password=STRING - Uses STRING as userpassword to speed up breaking ownerpassword (implies -o).
-q, - -quiet - Run quietly.
-s, - -permutate - Try permutating the passwords (currently only supports switching
first character to uppercase).
-u, - -user - Work with the userpassword (default).
-v, - -version - Print version and exit.
-w, - -wordlist=FILE - Use FILE as source of passwords to try.
pdfcrack Examples

pdfcrack test.pdf

pdfcrack options and examples


How to Convert PDF files to HTML files

Translates pdf documents into html format.Translates pdf files into HTML or XML formats, combined with png images. Supports encrypted pdf files.There is a program called pdftohtml to convert pdf to html file.In ubuntu gutsy this package in bundled with poppler-utils so we need to install this package.




Install poppler-utils in Ubuntu

sudo aptitude install poppler-utils
This will complete the installation

Using pdftohtml

pdftohtml Syntax

pdftohtml [options] [pdf file] [html file]

Available options

A summary of options are included below.

-h, -help - Show summary of options.
-f - first page to print
-l - last page to print
-q - don’t print any messages or errors
-v - print copyright and version info
-p - exchange .pdf links with .html
-c - generate complex output
-i - ignore images
-noframes - generate no frames. Not supported in complex output mode.
-stdout - use standard output
-zoom - zoom the pdf document (default 1.5)
-xml - output for XML post-processing
-enc - output text encoding name
-opw - owner password (for encrypted files)
-upw - user password (for encrypted files)
-hidden - force hidden text extraction
-dev - output device name for Ghostscript (png16m, jpeg etc)
-nomerge - do not merge paragraphs
-nodrm - override document DRM settings


pdftohtml Examples
pdftohtml test.pdf test.html

This command gives you a simple HTML file suitable for reading or copying the textual content of the PDF file. You can actually grab the text from your browser and paste it into other applications. It doesn’t produce any PNG files, so you won’t be able to see any embedded graphics. It’s a great utility if you just want to extract the text from an Adobe file.

    If you want to see graphics, you’ll need to use the -c (as in “complex”) option:

pdftohtml -c test.pdf test.html

This option produces individual HTML files, one for each page of the PDF file, with the PNG references mixed in. The graphics in the original PDF file show up in a browser and the text part can be cut and pasted. The total size of the HTML and PNG files generated with the -c option tend to be roughly equivalent to that of the original PDF.