Using Add-ons or a Studio on Linux

From CeltxWiki

This explains how to set up your browser to install Celtx add-ons or use Celtx Studio on a Linux system. This is a one-time setup and does not have to be repeated.

Feel free to add instructions for how to set up other browsers.

Contents

Firefox

  1. Enlarge
    Open about:config in Firefox.
    Type about:config into the address bar in Firefox to see advanced options.
  2. Enlarge
    Add a new preference.
    Right-click in the preferences area and choose to add a new boolean.
  3. Enter the preference name for the celtx protocol.
    Type network.protocol-handler.expose.celtx into the dialog box and press OK.
  4. Choose false.
    Choose false in the dialog box and press OK.
  5. Enlarge
    Add another new preference.
    Right-click in the preferences area and choose to add a new boolean.
  6. Enter the preference name for the celtxs protocol.
    Type network.protocol-handler.expose.celtxs into the dialog box and press OK. This is the same as step 3, except the protocol is celtxs not celtx.
  7. Choose false.
    Choose false in the dialog box and press OK.
  8. Confirm both entries show up correctly.
    You may need to click the Show All button to refresh the list. If you followed the steps correctly, you will see two new lines in the network section, corresponding to the preferences you just added.
  9. Add settings with gconftool.
    Open a terminal window (Applications -> Accessories -> Terminal on most distributions) and enter the following, where /path/to/celtx is the full path to the file called celtx inside the celtx folder (e.g., /usr/local/celtx/celtx or ~/Desktop/celtx/celtx):
    gconftool -s /desktop/gnome/url-handlers/celtx/command -t string "/path/to/celtx %s"
    gconftool -s /desktop/gnome/url-handlers/celtxs/command -t string "/path/to/celtx %s"
    gconftool -s /desktop/gnome/url-handlers/celtx/enabled -t bool true
    gconftool -s /desktop/gnome/url-handlers/celtxs/enabled -t bool true

Source(s): Firefox Features support


Additional steps for Celtx Studio users

Note: Only Studio users need to complete these steps.

  1. Edit a project in your Celtx Studio.
    Visit your Celtx Studio, open the projects window, select a project, and click the Edit button. A dialog box should show up asking you to pick an application to handle the link. Click on the Choose... button.
  2. Enter the path to the Celtx application.
    In the location bar of the open dialog that shows up, enter the path to the Celtx application and click Open. This is usually /usr/local/celtx/celtx.
  3. Select Celtx as the handler.
    Select the new Celtx option that shows up. Click the Remember my choice for celtxs links checkbox, then click OK.

You're done!


Opera

  1. The Opera advanced preferences dialog.
    Enlarge
    The Opera advanced preferences dialog.
    From your Opera menu, go to Settings ➔ Preferences... (or use the Ctrl+F12 shortcut to open the dialog). Go to the Advanced tab and select Programs.
  2. Adding the celtx protocol.
    Enlarge
    Adding the celtx protocol.
    Click the Add... button. In the Protocols dialog, enter celtx in the Protocol box. Select Open with other application and enter the path to the Celtx application. (/usr/local/celtx/celtx in a system-wide installation, otherwise the location where you installed Celtx in your home directory.) Click Okay to save and repeat the process to add celtxs to the protocol list.
  3. Finished!
    Enlarge
    Finished!
    Check that both protocols show up in the list. Click OK to save.

Now you should be able to install your Celtx Add-ons.

Additional steps for Celtx Studio users

Note: Only Studio users need to complete these steps.

(Coming soon)