Linux terminal opens Pdf&html__linux

Source: Internet
Author: User
Tags gtk locale

Recently write code in Linux, Project help manuals are PDF or HTML. All said that using vim to write code without a mouse, but see the Help manual has to enter the file system like Windows, find the appropriate directory and double-click Open, very inconvenient.

In fact, the Linux powerful command system provides a solution to the above problems, both hands do not need to leave the keyboard, directly in the terminal operation.

Open HTML file

Firefox command. In terminal input firefox-h you can view related usage and parameters.

Usage:firefox-bin [Options ...] [URL] where options include:x11 options--display=display x display to use--sync make x calls synchronous- -no-xshm Don ' t use X shared memory extension--xim-preedit=style--xim-status=style--g-fatal-warnings make all Warni
	NGS fatal Firefox options-h or-help Print this message.
	-V or-version Print Firefox version.
	-P <profile> Start with <profile>.
	-migration Start with Migration Wizard.
	-profilemanager Start with ProfileManager.
	-no-remote Open new instance, not a new window in running instance.
	-uilocale <locale> Start with <locale> resources as UI locale.
  -safe-mode disables extensions and themes for this session.
  -jsconsole Open the Error console.
  -browser Open a browser window.
  -private Enable Private Browsing mode.

        -setdefaultbrowser Set This app as the default browser.
 G or--debug Start within/usr/bin/gdb (MUST)
In general, use only the Firefox URL to open the appropriate HTML.

Open PDF File

Use the evince command. In the Linux terminal, enter evince--help to view the help document.

Usage:
  evince [Options ...] [File ...] GNOME Document viewer

Help options:-
  H,--help                      Display Help options
  --help-all                      display all help options
  --help-sm-client                Show session Management options
  --HELP-GTK                      Displays the GTK + options

application options:-
  P,--page-label= page           of the document to display.
  -F,--fullscreen                run evince-S in full-screen mode
  ,--presentation              run in Show mode evince
  -W,--preview                   Run evince-L in Preview Program mode
  --find= the               word or phrase to be found in the string document
  --display= display                  The X display to use
The actual use only evince xxx.pdf can be.








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.