X
點擊此處開啟此網站的行動版。

技術支援討論區

How to show favorite bar by default, for all users?

已張貼

I am trying to create a Mint Mate image for many users. I already setup a distribution.ini file with the default favorites, amongst other things, but the favorite bar is hidden by default.

Every single solution I found online involves manually right clicking and selecting "Favorite bar", but that only applies to the current user. I also searched in about:config for anything I can add to mozilla.cfg, but found nothing related to the favorite bar, I might have missed something.

I'd like a way to make it so that it shows, by default, to all users, without doing something weird like making it manually, then copying the entirety of .mozilla to /etc/skel or something similar. If it can be done from the terminal, better.

Also, I'd like to disable the "Most visited" and "First Steps" on the favorite bar as well, but that is out of the scope of this question.

I am trying to create a Mint Mate image for many users. I already setup a distribution.ini file with the default favorites, amongst other things, but the favorite bar is hidden by default. Every single solution I found online involves manually right clicking and selecting "Favorite bar", but that only applies to the current user. I also searched in about:config for anything I can add to mozilla.cfg, but found nothing related to the favorite bar, I might have missed something. I'd like a way to make it so that it shows, by default, to all users, without doing something weird like making it manually, then copying the entirety of .mozilla to /etc/skel or something similar. If it can be done from the terminal, better. Also, I'd like to disable the "Most visited" and "First Steps" on the favorite bar as well, but that is out of the scope of this question.

由 cmc_suporte.estag2 於 修改

被選擇的解決方法

Since this wasn't answered, I ended up finding an answer myself. So for anyone googling and finding this, maybe this will help:

The value is stored inside ~/.mozilla/firefox/[profile].default/xulstore.json, where [profile] is defined inside ~/.mozilla/firefox/profiles.ini. You can alter it there, then toss it in /etc/skel along with an apropriate profiles.ini and it should do the trick.

從原來的回覆中察看解決方案 0

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

更多資訊

選擇的解決方法

Since this wasn't answered, I ended up finding an answer myself. So for anyone googling and finding this, maybe this will help:

The value is stored inside ~/.mozilla/firefox/[profile].default/xulstore.json, where [profile] is defined inside ~/.mozilla/firefox/profiles.ini. You can alter it there, then toss it in /etc/skel along with an apropriate profiles.ini and it should do the trick.

Since this wasn't answered, I ended up finding an answer myself. So for anyone googling and finding this, maybe this will help: The value is stored inside ~/.mozilla/firefox/[profile].default/xulstore.json, where [profile] is defined inside ~/.mozilla/firefox/profiles.ini. You can alter it there, then toss it in /etc/skel along with an apropriate profiles.ini and it should do the trick.