Re: howto install XPIs and themes for all users (unix)

KaiRo - Robert Kaiser <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Vienna University, Austria
Message-ID <[email protected]>
Hi,

> what is the recommend way to make additional themes and XPI-programms 
> available for all users?
> I tried to install the themes and XPIs in mozilla running as root, but 
> only the language packs are usable if I start mozilla as an user.

Themes are recommended to be installed in the profile directory, which 
makes uninstall work but also makes the theme user-only. Almost all 
available themes are installed that way.

My own EarlyBlue and LCARStrek themes - when installed by the XPI on 
http://www.kairo.at/download/ - check if you have write access to the 
mozilla directory, and decide what to do from that:
If you have write access, it does a "global" install to the mozilla 
directory, and the theme is available to all users / profiles.
If you don't have write access, it does a "private" install to the 
profile directory, and only the currect user / profile can use it.

If you want to install any other theme that way, you probably can save 
my .xpi file to disk, unpack it (zip format), replace the .jar and the 
"var themeName" and "var themeVersion" values in install.js (be aware 
that the name of the .jar should be the value of themeName followed by 
".jar"), repack it again and install with write access.

I hope this helps. I'm not sure about other XPIs, I only know this to 
work with themes.

Greetings from Vienna

Robert Kaiser
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.