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

  • Home
  • SEARCH
  • 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 6731767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:34:05+00:00 2026-05-26T10:34:05+00:00

I have tried to mess with xulrunner before, and now I’m trying once again

  • 0

I have tried to mess with xulrunner before, and now I’m trying once again πŸ™‚

The “real” tutorial (Getting started with XULRunner – MDN) does, in fact, show that one is supposed to have application.ini and other files (possibly zipped as .xpi, which then requires --install-app ...), and then the call should be like:

xulrunner `pwd`/application.ini

… however, I’d like an easier way to start up – and hence, my hope for single-file XUL application approach πŸ™‚ (A good note here is that one also cannot use the zipped .xpi as an argument to xulrunner, see XULRunner question – DonationCoder.com)

 

The thing is, I am almost 100% certain that at some point in the past, I have used a simple single-file XUL application, as in (pseudocode):

xulrunner my-xul-app.extension

… but I cannot remember how it went πŸ™‚ So, was that possible with xulrunner, or only with firefox?

As far as I can remember, I used something like a ‘my-xul-app.xul’ file (as the single-file application), which would specify only, say, a window with a single button (that couldn’t really do anything due to lack of javascript) – and I’d like to repeat the same thing now, to refresh my memory (unless I confused something from back then πŸ™‚)

 

First of all, I found HOWTO: Getting Started with Linux Standalone Apps using XUL – Ubuntu Forums (2007), and I modified the example.xul file used there as:

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window
id = "myapp"
title = "SQLite Example"
height = "420"
minHeight = "420"
width = "640"
minWidth = "640"
screenX = "10"
screenY = "10"
sizemode = "normal"
xmlns = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
<spacer style = "height: 4px; cursor: default;" />
</window>

and I’m trying to “run” this as recommended in link, with:

firefox -no-remote -chrome file:$PWD/example.xul

… and what happens is that Firefox opens, with window size being like 1×1 pixels; if you can find the handle, you can stretch the window, and read:

Remote XUL
This page uses an unsupported technology that is no longer available by default in Firefox.

Ouch πŸ™ Answers to this (like How do I fix the Remote XUL error I get when using Firefox 4.x and the Webmail Advanced Interface?) seem to be related to actual remote xul (and recommend a plugin to handle that); but what I want is simply to run a file locally?! Where did the “remote” part come from?

 

Also, seeing the firefox switch ‘-app‘ (Using Firefox 3 as a XUL runtime environment); although it refers to an application.ini, I tried this:

firefox -no-remote -app $PWD/example.xul

… and Firefox just started as usual.

Btw, I cannot see neither -app nor -chrome command line options in firefox --help πŸ˜‰

 

But actually, I do not really want to use firefox as an engine – just the xulrunner; and I tried the Firefox approach because I thought it is more-less the same as xulrunner; turns out it isn’t (even if you use application.ini: Why does ‘firefox -App application.ini’ and ‘xulrunner application.ini’ behave differentely? | Firefox Support Forum):

In any case, if I run just xulrunner (as I wanted to), I get:

$ xulrunner example.xul 
Error: App:Name not specified in application.ini

 

So, I can see everything points to “single source file” app not being possible with xulrunner – but I just wanted to make sure (in case I missed some obscure tutorial πŸ™‚ ). And if it isn’t – does anyone remember if it was possible at a previous point in time?

 

PS:

$ firefox --version
Mozilla Firefox 7.0.1
$ xulrunner --version
Mozilla XULRunner 2.0 - 20110402003021
$ uname -r
2.6.38-11-generic
$ cat /etc/issue
Ubuntu 11.04 \n \l
  • 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-26T10:34:05+00:00Added an answer on May 26, 2026 at 10:34 am

    I don’t believe you could ever create single-file XULRunner applications. The -chrome <...> parameter probably used to work, I guess the “Remote XUL” error comes from the fact that the URL is file://, not chrome://.

    You could use something like the Live XUL Editor in the Developer Assistant (formerly Extension Developer’s extension) to test XUL quickly.

    The general idea I hear these days is that you should write HTML5 instead, whenever you can, since it is more actively developed, more well-known technology with less incompatible changes and better tooling…

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

Sidebar

Related Questions

I have been called in to clean up and get started again in a
I have gotten myself into a tangled mess with quotes. I am trying to
Have tried to find solutions for this and can't really come up with anything.
I have tried to go through the jungle (really, PayPal, why don't you weed
I have tried searching over the internet about this problem but not able to
I have tried this: #define format(f, ...) \ int size = strlen(f) + (sizeof((int[]){__VA_ARGS__})/sizeof(int))
I have tried many permutations but they all don't seems to work well. Am
I have tried a variety of different solutions found on stack and other places
I have tried everything in the book and EVERYTHING I could find on how
I have tried to install gem draper and it asked me to update my

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.