Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently playing around with the Ubuntu webapps preview. For some cases it may be useful to store some configuration settings. Does anyone know if this is possible?

share|improve this question
what configuration you are talking about? – Web-E Jul 23 '12 at 15:54
up vote 2 down vote accepted

You can use HTML Storage for configuration management. This is not Ubuntu specific. For example:

// When user decides to have the application print "FOO" on startup
localStorage["print_FOO"] = true;

// And then later, when the application launches in another session
if (localStorage["print_FOO"]) {

You can read about local storage in more detail at Dive into HTML5.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.