Results 1 to 6 of 6

Thread: How to: install Chatzilla as a stand alone program

  1. #1
    Join Date
    Sep 2006
    Location
    in my pants
    Beans
    Hidden!

    How to: install Chatzilla as a stand alone program

    Ok the only programs you'll need is Xulrunner and Chatzilla.
    The requirements for Xulrunner can be found here.

    The first thing you will need to do is download and extract the xulrunner to your desktop, from there open up terminal (Applications -> Accessories).
    And then move the xulrunner to system location (effectively installing it)
    Code:
    sudo mv ~/Desktop/xulrunner /usr/share/
    Then navigate to that directory in terminal
    Code:
    cd /usr/share/xulrunner
    Then you need to register xulrunner.
    Code:
    ./xulrunner --register-user
    ./xulrunner --register-global
    Now comes the slightly more exciting part... Installing Chatzilla. Make sure you have downloaded chatzilla to your desktop.
    Code:
    sudo ./xulrunner --install-app ~/Desktop/chatzilla-0.9.76-xr.zip
    Now navigate to where chatzilla has been installed.
    Code:
    cd /usr/lib/chatzilla
    Now make everything readable and executable (because it doesn't by default).
    Code:
    sudo chmod a+rx *
    sudo chmod a+rx *
    sudo chmod a+rx chrome/icons/default/*
    sudo chmod a+rx chrome/branding/*
    sudo chmod a+rx defaults/preferences/*
    sudo chmod a+rx extensions/*/*
    Ok now obviously you'll want a shortcut to run chatzilla, one way to do this is to right click on the ubuntu logo and selecting 'edit menu' which will start 'Alacarte Menu Editor'.

    Then left click on 'Internet' and then click file -> New Entry
    Name: chatzilla
    comment:
    command:
    Code:
    /usr/lib/chatzilla/chatzilla
    Note: It may come up with a 'malformed file error on 'install.rdf' but I have not found this to be an issue, so you can probably just ignore the error messege.

    This how to was created with the help of:
    http://chatzilla.rdmsoft.com/xulrunner/
    sometimes people put up walls, not to protect themselves but to see who cares enough to break them down.

  2. #2
    Join Date
    Aug 2006
    Location
    Memphis, TN
    Beans
    72
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to: install Chatzilla as a stand alone program

    you have to do a sudo chmod a+rx chrome/* also

  3. #3
    Join Date
    Oct 2006
    Beans
    24

    Re: How to: install Chatzilla as a stand alone program

    It's not a good idea to randomly "make everything readable and executable." It's better to fix the specific permissions that are wrong so that they are correct.

    For the Chatzilla 0.9.83 package available from http://chatzilla.rdmsoft.com/xulrunner/, the files with incorrect permissions are the following (inside the /usr/lib/chatzilla directory):

    • chrome/chrome.manifest
    • defaults/preferences/update-prefs.xr.js
    • chrome/icons/default/chatzilla-window16.xpm
    • chrome/icons/default/chatzilla-window.ico
    • chrome/icons/default/chatzilla-window.xpm


    All these files should be set to permissions 644 (-rw-r--r--), i.e. the owner (root) has read and write access, while the group and others have only read access:

    Code:
    cd /usr/lib/chatzilla
    sudo chmod 644 chrome/chrome.manifest defaults/preferences/update-prefs.xr.js chrome/icons/default/chatzilla-window16.xpm chrome/icons/default/chatzilla-window.ico chrome/icons/default/chatzilla-window.xpm
    I have reported the permissions problems to the package maintainer.

    Note also that xulrunner is now available from Ubuntu's package repository. The "xulrunner" package is version 1.8, while the "xulrunner-1.9" package is version 1.9, which is a stable release (the same code used in Firefox 3; see https://developer.mozilla.org/en/XULRunner for more info) and probably the preferable one.

  4. #4
    Join Date
    Oct 2006
    Beans
    24

    Re: How to: install Chatzilla as a stand alone program

    Note: Chatzilla 0.9.84 is now available (from the Chatzilla on XULRunner web site), and its files all have the correct permissions, so there's no need to fix them.

  5. #5
    Join Date
    Jan 2008
    Beans
    11

    Re: How to: install Chatzilla as a stand alone program

    Just a thought.
    If what you're trying to achieve is simply to launch chatzilla ONLY without having to launch the firefox browser first (rather than actually having a firefox-installation-independent chatzilla, which is what's been described above, I believe), then a simple way to do it is to make a launcher for the command "firefox -chat" as mentioned in the official chatzilla faq (http://chatzilla.hacksrus.com/faq/#start)

    Google "chatzilla logo" to customize your launcher completely with its own icon. I put mine in the .mozilla->chatzilla folder and linked to it

    Note that you can specify an irc:// URL too in that, e.g.
    firefox -chat irc://irc.freenode.org/ubuntu
    (if you just do firefox irc://irc.freenode.org/ubuntu , this will first launch the browser with an empty tab, and only subsequently open chatzilla in that channel)

  6. #6
    Join Date
    Oct 2012
    Beans
    50
    Distro
    Xubuntu

    Re: How to: install Chatzilla as a stand alone program

    When I try to --register-user, it says "Error: unrecognized application.ini path.

    What do I need to do?
    Apparently I've found the one situation in which Windows provides more low-level hardware access than Linux…
    https://unix.stackexchange.com/q/446088/26420

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •