Closed
Bug 247610
Opened 21 years ago
Closed 20 years ago
CLI options like '-installExtension' do not work without $DISPLAY
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 265859
People
(Reporter: bugs-mozilla, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040617 Firefox/0.9
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040617 Firefox/0.9
http://www.mozilla.org/projects/firefox/extensions/commandlineoptions.html
tells some CLI options which can be used in multi-user environments to
install extensions systemwide.
Usually, such an installation happens automatic (e.g. with cfengine,
or with RPMS) without having an X server running. Doing this, results
in something like:
| $ DISPLAY= firefox -installExtension /tmp/Adblock.xpi application
|
| (firefox-bin:16000): Gtk-WARNING **: cannot open display:
| $
and 'firefox' exits immediately without installing the extensions.
Keeping '$DISPLAY' set, things are fine.
firefox was configured for the gtk2 widgetset on an FC2 like system.
Reproducible: Always
Steps to Reproduce:
1. unset DISPLAY
2. firefox -installExtension /tmp/Adblock.xpi application
Actual Results:
firefox-bin:16000): Gtk-WARNING **: cannot open display:
Comment 1•20 years ago
|
||
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20050117 Firefox/1.0
I have the same behavior with Firefox 1.0.
$ DISPLAY= firefox -install-global-extension ./jslib_current.xpi
(firefox-bin:3663): Gtk-WARNING **: cannot open display:
Reporter | ||
Updated•20 years ago
|
Summary: CLI options like '-installExtension' do work without $DISPLAY → CLI options like '-installExtension' do not work without $DISPLAY
*** This bug has been marked as a duplicate of 265859 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•