Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6007757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:43:40+00:00 2026-05-23T01:43:40+00:00

I am trying to create a XUL Hello World application in Mac OS X.

  • 0

I am trying to create a XUL “Hello World” application in Mac OS X. I download the XULRunner from here, followed this tutorial and then this tutorial and then this tutorial… None worked. So, I looked at it better and found this section, whose instructions I followed. Unfortunately, it does not work yet. I even can run the application with the command

/Library/Frameworks/XUL.framework/xulrunner-bin $PWD/application.ini 

However, no window is presented and no error is printed. It happens when I try to run the application with firefox -app too.

What can be wrong? Also, does someone know some tutorial which would work? It would be an acceptable answer, too 🙂

Thanks in advance!

File contents

The content of the application.ini file is:

[App]
Vendor=Me
Name=Zull
Version=1.0
BuildID=31052011
ID=zull-xul@zull.com

[Gecko]
MinVersion=2.0
MaxVersion=2.*

The content of chrome/chrome.manifest is:

content zull file:content/

The content of chrome/content/main.xul is:

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="main" title="My App" width="300" height="300"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <caption label="Hello World"/>
</window>

Finally, the content of defaults/preferences/prefs.js is:

pref("toolkit.defaultChromeURI", "chrome://zull/content/main.xul");
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:43:41+00:00Added an answer on May 23, 2026 at 1:43 am

    Following the recommendations of Wladimir Palant, I changed the content of chrome/chrome.manifest from

    content zull file:content/
    

    to

    content zull content/
    

    Then, following these instructions, I created a chrome.manifest file in the root app dir whose content is

    manifest chrome/chrome.manifest
    

    It is required because the default place for chrome.manifest in XULRunner 2.0 is the root app directory.

    However, the error No chrome package registered for chrome:///User/brandizzi/sandbox/zull/main.xul persisted. Then, I got it: trying to solve the problem, I experienced using the full path to the main.xul file in defaults/preferences/prefs.js:

    pref("toolkit.defaultChromeURI", "chrome:///User/brandizzi/sandbox/zull/main.xul");
    

    I just changed it to the chrome path…

    pref("toolkit.defaultChromeURI", "chrome://zull/content/main.xul");
    

    …and it worked.

    It was a bunch of silly errors nonetheless but it is solved now. This thread was very helpful to me. Also, Wladimir recommendation about using the -jsconsole option of XULRunner (such as in /Library/Frameworks/XUL.framework/xulrunner-bin ~/sandbox/zull/application.ini -jsconsole) was very useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying create simple application in C++. This application has to read from file
I'm trying to dynamically create a set of labels in my XUL Runner application.
I am trying create system in which I can login from php and then
Ok so I am trying create a login script, here I am using PHP5
Trying to create a QtRuby application, I get the following error: /usr/lib64/ruby/site_ruby/1.8/Qt/qtruby4.rb:2144: [BUG] Segmentation
Trying to create a small monitor application that displays current internet usage as percentage
I'm trying create a RCP Application with Eclipse, but I can't get past the
I'm trying create a scaling layout for an Android application. The whole screen should
I trying create a class derivated from System.Web.UI.Page and in override Render i set
I'm trying create this function such that if any key besides any of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.