Categories
applications How to's

Text Web Browsers in Linux

These are the text webbrowsers in linux. That means you can search web or surf the net using these. You can also view html from console using these text browsers. Here is the list

w3m
This is one of the simplest internet browsers you have seen..

Then we have links. This is sibling of w3m


Elinks. IT is a bit more complicated that links & w3m and has commanline user interface.


Lynx
This webbrowser is suggested by google to simulate web spider.

Categories
applications How to's

How to View .Chm files in Linux

Chm files are Microsoft help files. They can be viewed or opened in linux using Gnochm, Kchm, Kchmviewer and Xchm.

Gnochm is used in Gnome desktop environment (you can use this in KDE but its recommended to use Kchm or kchmviewer). Kchm and Kchmviewer are KDE desktop applications and they can be used to view .CHM Files in KDE. Xchm is a xwindow application with minimal graphical interface. It looks outdated but works fine.

to open a file you have to type it like

$xchm filename.chm

just replace xchm with gnochm or kchm if you want to open file with them.

Update:
One of the Reader “kounryusui” mentioned that there is a extension available in firefox with which you can open chm files. Here is link for extension of firefox to open chm files.

Here are the screen shots of each of above applications

XCHM
xchm

GNOCHM

gnochm

KCHM
kchm

KCHMVIEWER

kchmviewer

Categories
applications How to's

How to configure Evolution Mail Client for GMAIL

To receive and send emails from evolution by your Gmail account you need to enable pop3 forwarding. To enable it you need to go to setting–> Forwarding and PoP/IMAP in your gmail settings.

Now select the option

and save the settings.

gmail settings1

Start the evolution mail client then you will face this dialog if no email accounts are configured. If you have already email accounts configured in evolution then goto tool –> preferences–> mail accounts or edit–> preferences–>mail accounts and click on add button to add new email account.

first screen

Click on forward and you will see a window asking for you name and email address.
Type your Name and email address including @gmail.com as show below in the figures.
Optionally if you want to make your gmail account default then check the option make this my default account and click forward.

enter email and name

Now you have to configure the incoming server settings.
Select Server Type as POP/POP3 enter
in field server : – pop.gmail.com
in field Username:- yourmailid@gmail.com
Type of secure connection as SSL
and authenication Password
and click forward to go to next screen.

pop3 mail server settings

Set the frequency with which evolution checks for new mails like from 10 minutes to 5minutes etc. Now check the option Leave messages on server so that the all messages are still on the server and not deleted once downloaded in your computer.

receiving options

You can to configure your outgoing server so that you can send emails
Select the Server Type as SMTP
enter the server address as smtp.gmail.com
click on server requires authentication and type of authentication as plain and enter your username yourmailid@gmail.com
also Use Secure Connecion : SSL Encryption
click forward to goto next screen.

Evolution Configuring SMTP Server

Give a Name for you account in evolution like GMAIL account of My Gmail Account. This is different name which will be useful when changing the email addresses for that account.

Name of Account

Select you timezone in the next screen
Select Time Zone

That all click forward and finish and you will be all set with evolution mail client ready to use with your gmail account.

Categories
applications How to's

How to view djvu files in linux

Most of the scanned texts are found in DJVU format. DJVU files are usually of less size compared to their PDF counter parts. In linux evince can open djvu file. But in case you don’t like the interface of evince there is another reader to view DJVU files called djview. Just type this as root to install djview

#apt-get install djview

and you will see it in graphics section of Applications menu.

Categories
applications How to's Info

What is the command to invoke Adobe acrobat reader in Linux

If you have installed Adobe Reader in Linux and you need to invoke it from console ( for some reason you don’t want to go to menus). Just enter acroread  and you will see  Adobe reader opened.
to open a file enter

$acroread filename.pdf

enter acroread -help and you will find all the command line options available to you. Here is the list of options available

Usage: /usr/bin/acroread [options] [list of files]

Options:
    --display=
        This option specifies the host and display to use.
    --screen=
        X screen to use. Use this options to override the 
 screen part of the DISPLAY environment variable.
    --sync
        Make X calls synchronous. This slows down the program considerably.
    -geometry [x][{+|-}{+|-}]
        Size and/or location of the document windows.
        Note: this option is position dependent, and can be
        specified multiple times. The geometry specified only
        affects the list of files following it.
    -help
        Prints the common command-line options.
    -iconic
        Launches in an iconic state on the desktop.
    -setenv =
        Tells the main application to perform the equivalent of
        C-shell setenv  .
    -tempFile
        Indicates files listed on the command line are temporary files
        and should not be put in the recent file list.  The document
        title will be the title in the pdf document, instead of the
        filename.
    -tempFileTitle        Same as -tempFile, except the title is specified.    -toPostScript [options] pdf_file ... [ps_dir]    -toPostScript [options] -pairs pdf_file_1 ps_file_1 ...    -toPostScript [options]        Converts the given pdf_files to PostScript.        In the first form, if the last file specified is a directory,        then all preceding files will be converted to PostScript        and the generated PostScript files will be placed into ps_dir.        If a directory is not specified, then the PostScript files        will be placed in the same directory as the original file.        In the second form, the file list contains pairs, each        consisting of a PDF filename and a corresponding PostScript        filename.        The third form specifies a filter, reading a PDF file from        standard input and writing the PostScript file to standard        output.        Note: When using -toPostScript it must be the first argument        passed in on the command line.        The following are valid options for the conversion of PDF to        PostScript:        -binary - emit binary PostScript where possible        -start  - identify the first page in the document to be           converted (default is the first page of the document)        -end  - identify the last page in the document to be           converted (default is the last page of the document)        -optimizeForSpeed - emit PostScript such that all fonts are           emitted once at the beginning of the document.  This           results in faster transmission times and smaller           PostScript documents but requires more PostScript printer           virtual memory.        -landscape - rotate the pages to print landscape        -reverse - reverse the page order of the output        -odd - emit only odd-numbered pages        -even - emit only even-numbered pages        -commentsOff - don't print comments        -annotsOff - don't print annots        -stampsOff - don't print stamps        -markupsOn - print document and markups        -level2 - emit Level 2 PostScript  (level1 is not supported)        -level3 - emit Level 3 PostScript         -printerhalftones - use the printer default halftones.        -saveVM - download fonts as needed to preserve printer memory -size - Paper size (letter,tabloid,ledger,legal,a3,a4,a5,b4,b5)        -scale  - scale the pages according to the scale factor           (default is 100 percent)        -shrink - shrink the pages to fit the page size        -expand - expand the pages to fit the page size        -size  - set the page size.  The following page sizes           are recognized:              letter - letter size paper              tabloid - tabloid size paper              ledger - ledger size paper              legal - legal size paper              executive - executive size paper              a3 - ISO standard A3 size              a4 - ISO standard A4 size              a5 - ISO standard A5 size              b4 - ISO standard B4 size              b5 - ISO standard B5 size              wxh - custom size paper where w is the integer width                 in points and h is the integer height in points        -transQuality level - set the transparency flattening level            Value from 1-5, where 1 means rasterize everything, 5 means           rasterize as little as possible, default is 3.    -openInNewWindow        The application starts normally without checking if it        is already running.    -version        Print version information and quit.    -visual  [depth=]    -visual id=    -visual best    -visual default        Specifies a visual.        In the first form, the visual class (specified by either        its name or number) with an option depth determine the        visual to use.        In the second form, the visual id is specified. The prefix        0x must be used for hexadecimal numbers.        The third form uses an internal algorithm based on depth        and visual class.        The fourth form simply uses the default visual.        Note that PseudoColor visuals of depth greater than 8,        and DirectColor visuals are not supported.