Sunday, April 12, 2009

JPG TO PDF CONVERSION IN UBUNTU

To convert multiple files of jpg format into a single pdf, we can use IMAGEMAGICK.
It can be installed from the synaptic package manager
or
by simply using the command:
sudo
apt-get install imagemagick

Then 1) Go to the directory where your .jpg files are saved.
2) Convert *.jpg -adjoin name.pdf

Friday, April 10, 2009

PLOTTING GRAPHS IN UBUNTU

GNU OCTAVE is a powerful tool on Linux which is similar to MATLAB for Windows. The syntax is almost the same.
It is easy to install.
The installation can be done as:
system -> Administration -> synaptic packet manager
select octave3 from the package and install it.

Given a set of data with two variables gm and id.

Open up a terminal.
Type octave
octave:1>gm = [ gm values copied from the data given]
//press q to escape the END statement
octave:2>id = [ id values copied from the data given]
octave:3>plot (gm,id)
octave:4>xlabel('gm')
octave:5>ylabel('id)
octave:6>title('gm vs id curve')

to save the plot, go back to the terminal,
octave:7>print("figure1.png")
octave:8>reload

NOTE: Please make sure that matrix mismatch does not occur in gm and id inputs.

RUNNING WEBCAM IN UBUNTU

In order to run webcam in linux, we have a GNOME Application : CHEESE

The source package for Cheese in Ubuntu can be downloaded from here
or else it can be installed using commands as :

1. Pop open a terminal and enter the following commands:

sudo apt-get install cheese
Note: You will need the universal repo enabled.

2. You can find cheese in Applications > Graphics > Cheese Webcam booth

n den say cheese :)

UTube Ripper in Ubuntu


1) Download .deb package from here
2)After downloading Double click the file to start installation. This will fetch and install all its dependencies.
3)Go to Applications—>Internet—>Utube-ripper