background preloader

Generic

Facebook Twitter

Command Line Options - MDC. Command line options are used to specify various startup options for Mozilla applications. For example, you can use command line configuration options to bypass the Profile Manager and open a specific profile (if you have multiple profiles). You can also control how Mozilla applications open, which components open initially, and what the components do when they open.

This page describes the commonly used options and how to use them. You can open the Command Line Interface by pressing Shift + F2. Syntax Rules But first, let's describe the syntax rules that apply for all options. Command parameters containing spaces must be enclosed in quotes; for example, "Joel User". Using command line options Command line options are entered after the command to start the application. Application -option -option "argument" -option argument Examples The following examples show the use of the "-ProfileManager" command, which will open the Profile Manager prior to starting Firefox or Thunderbird: Windows Linux.

Test documentation for cmd-line features. You are here: Browser/Composer front-end QA > front-end test cases > Test documentation for cmd-line This plan covers features which are accessed at the command line in a Linux/unix or Win32 console, or as a Mac OS shortcut. Will test The test areas here are pretty straightforward.

Basically test for: Results of commands issued in a Linux/unix or Win32 console. Results of launching the shortcuts on the Macintosh platform. Will not test The following areas will not be covered. Issues, references & bug information These features have been lightly tested by QA, so your input is greatly welcomed! The following are two useful references: Also check out open bugs currently under XP Apps: Cmd-line Features, sorted by severity. Test coverage Test coverage includes: Couldn't find a particular test scenario here? Acceptance tests Acceptance testing of command-line features basically comprise unit tests of the more common options.

Testing less commonly used options. . Mac OS command files GTK options: Ad Hoc. Xvfb + Firefox :: semicomplete.com - Jordan Sissel. Resig has a bunch of unit tests he does to make sure jQuery works properly on whatever browser. Manually running and checking unit test results is annoying and time consuming. Let's automate this. Update (May 2010): See this post for more details on automating xserver startup without having to worry about display numbers (:1, :2, etc).

Combine something simple like Firefox and Xvfb (X Virtual Frame Buffer), and you've got a simple way to run Firefox without a visible display. Let's start Xvfb: startx -- `which Xvfb` :1 -screen 0 1024x768x24 # Or with Xvnc (also headless) startx -- `which Xvnc` :1 -geometry 1024x768x24 # Or with Xephyr (nested X server, requires X) startx -- `which Xephyr` :1 -screen 1024x768x24 This starts Xvfb running on :1 with a screen size of 1024x768 and 24bits/pixel color depth. DISPLAY=:1 firefox # Or, if you run csh or tcsh env DISPLAY=:1 firefox Seems simple enough. DISPLAY=:1 firefox-remote DISPLAY=:1 import -window root googledotcom.png. How to Capture a Website Screenshot in Linux. You might be wondering how to capture a website screenshot (as thumbnail) but you dont know how to do it. Although PHP GD library is available, it is just not possible to do the task with php. You will need a linux server running xwindow system and a browser like KDE konquerer or firefox.

In this tutorial i am going to show you how to capture a website screenshot with khtml2png in a Centos/RHEL server. I am documenting here the experiment i conducted in my VPS so that my work could be helpful. What is Needed? Screenshot Capturing Basics Most linux servers will usually not have a graphics card or output device like monitor. First install Xvfb server and ImageMagick yum install Xvfb ImageMagick then, yum install firefox start the virtual display > Xvfb :2 -screen 0 1024x768x24& // This starts the virtual server with display no 2, screen no 1 on resolution 1024x768 with color depth of 24 bit. Run the firefox on the virtual display in the command line > DISPLAY=:2 firefox then . Firefox 2 Tweak Guide. The release of Mozilla Firefox 2 further expands the capabilities and features of this highly regarded Internet browser, proving that just because you are popular doesn't mean you should slack off. Some of the new and updated features include: a visual refresh, integrated phishing protection, browser session resuming, live Titles and JavaScript 1.7 support (a more complete listing can be found in the release notes).

Regardless of how you feel about Mozilla Firefox, it's quite fair to say that much of the change and innovation in Internet browsers in recent years has happened because of it. This guide goes through numerous configuration tips and tweaks for Firefox 2, covering all aspects of the browser such as the options menu, preferences, CSS customization, interface, extensions and more. Additionally, a TechSpot first - mini-videos are now sprinkled throughout the guide, better illustrating some of the content and options to be selected (all created using the excellent CamStudio). 1. How to disable Firefox's session restore crash recovery feature. About:config entries. From MozillaZine Knowledge Base This is not the place to edit your configuration settings.

This is a reference to the entries in about:config, where all user preferences can be viewed and modified. In most cases the list below doesn't state whether a given preference applies to all, or only some (and which), of Firefox, Thunderbird, Mozilla Suite, SeaMonkey, or even the now discontinued Sunbird: trial and error is often the only way to tell if some particular preference applies to your version of your application. Users not already familiar with about:config entries should read the companion article, about:config, which describes how to modify values and work with the about:config list.

This article does not contain a complete list of all preferences. (For a comparison view of table and actual about:config settings, use the Fox Splitter (formerly Split Browser) extension or the new version of Fox-Splitter to show one above the other. Advanced.* has been migrated to Category:Preferences. BerliosProject:FreeNX - FAQ - OpenFacts2. CMD Script Subroutines.