firefox profile directory.
This commit is contained in:
parent
d41580050e
commit
e5c59faf1a
@ -16,6 +16,10 @@ RUN set -eux; apt-get update; \
|
|||||||
rm -f /tmp/firefox-setup.tar.bz2; \
|
rm -f /tmp/firefox-setup.tar.bz2; \
|
||||||
ln -s /usr/lib/firefox/firefox /usr/bin/firefox; \
|
ln -s /usr/lib/firefox/firefox /usr/bin/firefox; \
|
||||||
#
|
#
|
||||||
|
# create a profile directory
|
||||||
|
mkdir -p /home/neko/.mozilla/firefox/profile.default/extensions; \
|
||||||
|
chown -R neko:neko /home/neko/.mozilla/firefox/profile.default; \
|
||||||
|
#
|
||||||
# clean up
|
# clean up
|
||||||
apt-get --purge autoremove -y xz-utils bzip2; \
|
apt-get --purge autoremove -y xz-utils bzip2; \
|
||||||
apt-get clean -y; \
|
apt-get clean -y; \
|
||||||
@ -27,4 +31,5 @@ COPY supervisord.conf /etc/neko/supervisord/firefox.conf
|
|||||||
COPY neko.js /usr/lib/firefox/mozilla.cfg
|
COPY neko.js /usr/lib/firefox/mozilla.cfg
|
||||||
COPY autoconfig.js /usr/lib/firefox/defaults/pref/autoconfig.js
|
COPY autoconfig.js /usr/lib/firefox/defaults/pref/autoconfig.js
|
||||||
COPY policies.json /usr/lib/firefox/distribution/policies.json
|
COPY policies.json /usr/lib/firefox/distribution/policies.json
|
||||||
|
COPY --chown=neko profiles.ini /home/neko/.mozilla/firefox/profiles.ini
|
||||||
COPY openbox.xml /etc/neko/openbox.xml
|
COPY openbox.xml /etc/neko/openbox.xml
|
||||||
|
@ -12,6 +12,10 @@ RUN set -eux; apt-get update; \
|
|||||||
wget -O '/usr/lib/firefox-esr/distribution/extensions/uBlock0@raymondhill.net.xpi' https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi; \
|
wget -O '/usr/lib/firefox-esr/distribution/extensions/uBlock0@raymondhill.net.xpi' https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi; \
|
||||||
wget -O /usr/lib/firefox-esr/distribution/extensions/nordvpnproxy@nordvpn.com.xpi https://addons.mozilla.org/firefox/downloads/latest/nordvpn-proxy-extension/latest.xpi; \
|
wget -O /usr/lib/firefox-esr/distribution/extensions/nordvpnproxy@nordvpn.com.xpi https://addons.mozilla.org/firefox/downloads/latest/nordvpn-proxy-extension/latest.xpi; \
|
||||||
#
|
#
|
||||||
|
# create a profile directory
|
||||||
|
mkdir -p /home/neko/.mozilla/firefox/profile.default/extensions; \
|
||||||
|
chown -R neko:neko /home/neko/.mozilla/firefox/profile.default; \
|
||||||
|
#
|
||||||
# clean up
|
# clean up
|
||||||
apt-get clean -y; \
|
apt-get clean -y; \
|
||||||
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
@ -22,4 +26,5 @@ COPY supervisord.conf /etc/neko/supervisord/firefox.conf
|
|||||||
COPY neko.js /usr/lib/firefox-esr/mozilla.cfg
|
COPY neko.js /usr/lib/firefox-esr/mozilla.cfg
|
||||||
COPY autoconfig.js /usr/lib/firefox-esr/defaults/pref/autoconfig.js
|
COPY autoconfig.js /usr/lib/firefox-esr/defaults/pref/autoconfig.js
|
||||||
COPY policies.json /usr/lib/firefox-esr/distribution/policies.json
|
COPY policies.json /usr/lib/firefox-esr/distribution/policies.json
|
||||||
|
COPY --chown=neko profiles.ini /home/neko/.mozilla/firefox/profiles.ini
|
||||||
COPY openbox.xml /etc/neko/openbox.xml
|
COPY openbox.xml /etc/neko/openbox.xml
|
||||||
|
8
.m1k1o/firefox/profiles.ini
Normal file
8
.m1k1o/firefox/profiles.ini
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[General]
|
||||||
|
StartWithLastProfile=1
|
||||||
|
|
||||||
|
[Profile0]
|
||||||
|
Name=default
|
||||||
|
IsRelative=1
|
||||||
|
Path=profile.default
|
||||||
|
Default=1
|
@ -1,6 +1,6 @@
|
|||||||
[program:firefox]
|
[program:firefox]
|
||||||
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
||||||
command=/usr/bin/firefox --display=%(ENV_DISPLAY)s -setDefaultBrowser -width 1280 -height 720
|
command=/usr/bin/firefox --no-remote -P default --display=%(ENV_DISPLAY)s -setDefaultBrowser -width 1280 -height 720
|
||||||
autorestart=true
|
autorestart=true
|
||||||
priority=800
|
priority=800
|
||||||
user=%(ENV_USER)s
|
user=%(ENV_USER)s
|
||||||
|
Reference in New Issue
Block a user