September 29, 2025Sep 29 Community Expert One big annoying problem with unraid for me is that there is no way to preconfigure the firefox on the console. Limetech has put in their stuff and refuse to listen to demands from others.It is totally annoying that for each new started sessions you always need to click NO to get rid of the "translation offer" if you run UNRAID gui with a different language than english.This can drive you crazy over the time and it is unnecessary to.So I have made me a small script /boot/config/addtofirefoxsettings which contains just a few lines:#!/bin/shBASEPATH=/usr/share/mozilla/firefoxINFOFILE=profiles.iniUPREFFILE=user.jsDIR=`grep "Path=" $BASEPATH/$INFOFILE | sed "s/Path=//"`ZIEL=$BASEPATH/$DIR/$UPREFFILEecho $DIR(echoecho '#### MAM 2025 ####'echo 'user_pref("browser.translations.enable",false);') >> $ZIELIt searches the active firefox profile and adds the lines BEFORE the gui is started.There are three seperate options you can put in here"user_prefs" means this option only applies to the current user"lockPref" means this option is set and cannot be changed by the user (in the settings)"defautPref" means this option is just the default and can be changed by the user later on(but because the profiles are regenerated on each reboot they all work quite the same of course)To get activated you have to put this line into your /boot/config/go file (BEFORE the emhttp line)/usr/bin/bash /boot/config/addtofirefoxsettingsFor getting rid of the translation popup, you need just the first line "browser.translations.enable".You can add all the settings you can find in the Firefox Documentation under "about:config".A small warning ahead: Don't change stuff that is needed for UNRAID like the startup page with "browser.startup.homepage"! Edited September 30, 2025Sep 30 by MAM59
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.