Thursday, January 21, 2010

Installing package file

There are many different kinds of Linux package files. Most of these are associated with the package managers of specific Linux distributions. Examples are Debian Package files (.deb files), RPM Package Manager files (.rpm files), and Tarballs (.tar files).
This section deals with installing these single files.


Install/uninstall .deb files

These files are Debian packages. The package files associated with Ubuntu have the .deb suffix because of Ubuntu's close relations with the Debian GNU/Linux distribution. You will need administrative privileges to install a .deb file.

To install a .deb file

sudo dpkg -i package_file.deb
 
To uninstall a .deb file
sudo dpkg -r package_name
 

Convert .rpm files to .deb files

Another type of package files is Red Hat Package Manager files which have the .rpm suffix. It is not recommended to install these on an Ubuntu system. In almost all cases, a native Ubuntu .deb package is available. However, if absolutely necessary, an .rpm file can be converted to a .deb package using the program alien. The resulting .deb file will be installed using dpkg as indicated above.
  1. Install the alien package,then on terminal
    sudo alien package_file.rpm

    Install tarballs

    Files with the .tar, .tgz, .tar.gz or .tar.bz2 suffix are package files known as tarballs which are widely used in Linux and Unix.
    If there is no native Ubuntu package available in any of the Ubuntu repositories, you can use the command line to install or uninstall the tarball file.
    The first step will be to uncompress and extract the tarball. If it is a .tgz or a .tar.gz, in a Terminal enter:

    tar xfvz tarball_name
 

Wednesday, December 9, 2009

Clean Up Ubuntu Grub Boot Menu After Upgrades

One of the things in Ubuntu that has always driven me crazy is the addition of new items into the grub menu without removing the old entries that likely don’t even work anymore. I’m sure most experienced Ubuntu users already know how to do this, but here’s the method anyway.





To remove these entries, we’ll need to edit the file /boot/grub/menu.lst. You can do this by using Alt+F2 and then typing in the following command:
gksu gedit /boot/grub/menu.lst




Now that we’ve got the file open, scroll down to the bottom of the file where it says “End Default Options”, and you’ll find all the menu entries for the various kernels in here. You can just select and delete the ones you don’t want.


Save the file, and then the next time you boot up you’ll see a much nicer set of options.

Hope this helped in reducing your grub size..................This is applicable only upto distro's like jaunty9.04 which are using grub..


Thursday, December 3, 2009

How to configure Pidgin to work with Google Talk........

  1. Download & Install the latest version of Pidgin.
  2. Open Pidgin and go to Add / Edit Account window of Pidgin.
  3. From the drop-down box choose XMPP as the Protocol.
  4. For the Screen name enter your Google Id (Gmail Id).
  5. For Server enter gmail.com
  6. You can leave the Resource with the default Home.
  7. In the Password field enter your Google ID password.
  8. Enter Local alias as whatever you want to.



 
Then in the Advanced tab change the following settings.........

Force old (port 5223) SSL: Checked
Allow plaintext auth over unencrypted streams: Un-Checked
Connect Port: 443
Connect Server: talk.google.com
Proxy type: Use Global Proxy Settings




The same could be done in empathy too usually configuring gtalk account in pidgin and empathy is some what a messy work if u didnt configure the advanced tab that is the port etc if we dont configure these all we will get a "connect error".

Need to install Linux software on an offline computer?

Keryx is a portable, cross-platform package manager for APT-based (Ubuntu, Debian) systems. It provides a graphical interface for gathering updates, packages, and dependencies for offline computers. Keryx is free and open source.




Wednesday, December 2, 2009

How to restore Grub from a live Ubuntu cd.

This will restore grub if you already had grub installed but lost it to a windows install or some other occurence that erased/changed your MBR so that grub no longer appears at start up or it returns an error.


Put a ubuntu live cd on your cd rom and restart and boot from cd so that you could become a live session user.........When u get into the desktop open terminal and type.....The code to be typed is highlighted so that you could easily find the codes........


sudo grub


This will get you a "grub>" prompt.It is the grub shell...At grub>. enter these commands


find /boot/grub/stage1


This will give you a location..whatever was returned for the find command use it in the next line


root(hd?,?)


Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)

Next enter the command to install grub to the mbr



setup (hd0)


Finally exit the grub shell


quit


That is it. Grub will be installed to the mbr.
When you reboot, you will have the grub menu at startup.








How to reset your password in Ubuntu......



This tutorial will help you to rest your password..........
when the GRUB is loaded from your Boot Menu select recovery mode........







It is usually the second option......you can see in the above pic........
After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options.We want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.





Now you will in the root........
If u forgot the user name as well then type-  ls /home
this will lsit all the users in the system now selest your username from that....
To reset password type- passwd username
in my case my username is ganesh so i will type passwd ganesh 
now it will prompt for new password type that then retype the same password once more....
Then type -  exit
The above menu will appear once again from that select resume normal boot thats all...
you resetted the password...........

Friday, November 27, 2009

Top 25 OpenOffice Extensions You May Want To Know

Top 25 OpenOffice Extensions You May Want To Know

OpenOffice is possibly one among the finest examples on what can be achieved in the world of Free Software. For starters, OpenOffice is an office application suite in the lines of Microsoft Office and is available for Windows, Mac and Linux. Now let us take a look at the list of extensions you could use in OpenOffice.

Sun PDF Import Extension

As you can infer, using this extension you could actually import and modify PDF documents. Text attributes like font family, font size, weight (bold, not bold), style (italic, not italic) are imported together with their respective text. With the help of this extension you could retain font appearance, when a PDF file uses a font not installed on your system. It can even help you in importing password-protected PDF files

English Dictionary(Based on Oxford English Dictionary)

This is one among the most sought after extensions for OpenOffice. It is basically a port of old format of OED United Kingdom english dictionary to extension format.

Professional Template Pack II - English

If you are an OpenOffice user and you are disappointed about the unavailability of good quality templates for documents and presentations, this is the extension you are looking for. This template pack consists of about 120 professional quality templates for OpenOffice.org Writer, Calc and Impress.


Pagination

A little macro that adds a 'Insert / Page number' dialog to writer. It eases the way you can add page numbers to a document. On top of that, it is compatible with large number of languages including French, Brazilian, Portuguese, Czech, Danish, Dutch, English, German, Hungarian, Italian, Japanese, Norwegian, Polish, Russian, Serbian, Slovenian, Spanish, Swedish, and Ukrainian.

Obba

Obba provides a bridge from spreadsheets to Java classes. With Obba, you can easily build spreadsheet GUIs (Excel or OpenOffice) to Java code. Some of its features include loading of arbitrary jar or class files at runtime through an spreadsheet function, instantiation of Java objects, storing the object reference under a given object label, serialisation and de-serialisation and so on.


Gallery For Danger Signs

This extension add one theme to your gallery with more than 100 signs dealing with security, not as bitmap but as vector graphic in ODF format. You may modify them or retrieve some parts to build your own signs. The latest version of this extension 0.9 is released lately.


Sun Presentation Minimizer

Sun Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed, and data that is no longer needed will be removed. The Sun Presentation Minimizer can optimize the image quality size. Presentations designed for screen or projector do not require the same high quality as presentations designed for print.

Sun Presenter Console

The Presenter Console Extension provides more control over your slide show presentation, such as the ability to see the upcoming slide, the slide notes, and a presentation timer whereas the audience see only the current slide. To avoid confusions by displaying a large number of presentation elements, the Presenter Console displays the elements on three different easily changeable views.


Sun Report Builder

Create with the Sun Report Builder stylish, smart-looking database reports. The flexible report editor can define group and page headers as well as group and page footers and even calculation fields are available to accomplish complex database reports.

OxygenOffice Extra Gallery

This Extension contains parts of OxygenOffice Project. This project creates and collects templates, galleries and other useful extras for OpenOffice.org and release them as easy-to-install Extension packages. Also you can download OxygenOffice Professional product which is a bundled Openoffice.org installer with all available extras.


OxygenOffice Extra Gallery - English Templates

Another good collection of templates. You can use this template compilation to create professional documents, tables, forms and presentation from prepared templates in no time.

Alternative dialog Find & Replace for Writer

Some of the interesting features included in this extension include fast selection preset regular and extended expressions, searched or replaced text can contain one or more paragraphs, multiple search and replacement in one step and many more.

Writer's Tools

Writer's Tools is a set of utilities designed to help OpenOffice.org users perform a wide range of tasks. Using Writer's Tools, you can back up documents, look up and translate words and phrases, manage text snippets, and keep tabs on document statistics. This is among the most downloaded extenions.


Sun Wiki Publisher

The Sun Wiki Publisher enables you to create Wiki articles on MediaWiki servers without having to know the syntax of the MediaWiki markup language. Publish your new and existing documents transparently with the Writer to a wiki page.

OpenOffice.org2GoogleDocs - export & import to Google Docs, Zoho, WebDAV

Using this extension you could sync your openoffice with Google Docs, Zoho and WebDAV. You can export/import your scribbling, articles, spreadsheets, presentations et al to and from Openoffice to googledocs, zoho and webdav servers.

CADOO.o

Draw module of OpenOffice.org makes it possible to make technical drawing. CADOO.o adds some functions that one can find in other CAD. This Addon was written in python with use of the module pyuno.


Template Changer

This extension will add two new items to the File -> Templates menu that allows to assign a new template to documents. All styles and formatting will be loaded from that template and the documents will behave as it was created using that template.


Web2.0 OpenOffice.org collaboration & document management extension

The O3Spaces Workplace is a web2.0 OpenOffice.org collaboration and document management extension. The O3Spaces Workplace is available as a free to use Community Edition, offering integrated OpenOffice.org collaboration and document features for teams and workgroups.


Family Address Book

You can organize your important family dates and contact information with this database. It can produce a list of upcoming birthdays & anniversaries, print address labels, store miscellaneous family information, and export the contact information to PDA. If you are new to OpenOffice Base, this can serve as an introduction.


Compose Special Characters

Compose Special Characters lets you type two or three characters and use a keyboard shortcut to convert them into a single accented or special character. Writer and Calc are currently supported.


OpenOffice.org Base Switchboard

The Switchboard extension generates a Switchboard/Main Menu interface to access Base forms and reports. The switchboard can be grouped into categories, each of which can contain any number of menu entries. Furthermore, you can specify the size and screen location of the form to be opened.


Kaleidoscope

This is an extension for Draw. This extension draws patterns of shapes, grouped objects and bitmap pictures, rotating and scaling them, and, if possible, changing fillcolors and linecolors. You draw a few shapes or paste it from somewhere, select them with mouse and then go to Tools-->Add-ons menu in OpenOffice.org Draw.



OpenCards - A free flashcard learning extension for Impress

OpenCards is a flashcard learning extension for OpenOffice Impress. The basic idea of OpenCards is to use slide-titles as flashcard fronts and the slide contents as their backs. Based on state-of-the-art memorization and scheduling algorithms OpenCards will help you to learn any set of flashcards.

Color2Rows

This extension enabels rapid coloring tablerows with different colors to selected or used areas.


SVG Tiny Import/Export

With this extension you could import all shape types and images, elements defs/use, links, video, audio and so on. It has some issues with OpenOffice 3.1 though.

Redistribute using APTONCD..........

APTONCD is a very useful tool or software that helps us to make or keep a backup of the packages we installed in our linux system.The main use of APTONCD is for those who doesnt have an internet connection they can make burn the .iso images that we create and can install in their system.This is a very useful tool which helps us to install the packages that we installed after a format so that we doesnt loose our usage bandwidth.....

The installation of APTONCD is described below.....Just follow the screenshots....

1.Select Applications>Ubuntu software center for older versions its add/remove programs.....



2.you will geta window like this.....



3.Type APTONCD on the search tab....



4.Then click on install..........



5.After completeing the download we can see the software on Administration>APTONCD..





6.On clicking this we can create and restore .iso images of the packages.......




Hope it was useful...............

Sunday, March 15, 2009

INSTALL MICROSOFT OFFICE 2007 IN UBUNTU WITHOUT ANY HACKING

To install Office in Linux do this:
Install latest version of Wine, anything above version 1.1.3 would do..
Here is a detailed explanation of how to install the latest version of Wine for Ubuntu.
Now go to the folder where the setup file for Microsoft Office exists.
Double click on the .exe file.
The Office installer will pop up, provide the usual password and let the installation begin.


Thats it, you have installed Office 2007 on Ubuntu.But one problem on startingpage u will find ugly crossbars like this......

To get rid of them do this:
Go to the Office button -> Word Options -> Advanced -> Show document content -> uncheck "Show crop marks".