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

技術支援討論區

Activate dark theme in CLI

已張貼

Hi, you know that by default Firefox have a "default" theme, a "light" theme and a "dark" theme

How can i set one of those in terminal (i'm on linux but I guess thats not far from Windows or MAC)

Hi, you know that by default Firefox have a "default" theme, a "light" theme and a "dark" theme How can i set one of those in terminal (i'm on linux but I guess thats not far from Windows or MAC)
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

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

更多資訊

akilaperera1910 0 個解決方法 7 個答案

Open Firefox.

Right-click the main menu button on the top-right.

Select the Customize option. At the bottom of the page, click the Themes drop-down menu, and select Light or Dark depending on the theme you want to use. Click the Done button..

Open Firefox. Right-click the main menu button on the top-right. Select the Customize option. At the bottom of the page, click the Themes drop-down menu, and select Light or Dark depending on the theme you want to use. Click the Done button..

由 akilaperera1910 於 修改

這篇文章有幫助嗎?
引用

提出問題者

Re read the 5th word of topic or the 27th of the message

Re read the 5th word of topic or the 27th of the message
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17589 個解決方法 159130 個答案

I don't think you can do this via the command line.

The currently used theme is stored in the pref on the about:config page.

You can possibly use a user.js file in the profile folder to set the current theme by copying the related line from prefs.js to user.js.

user_pref(*extensions.activeThemeID", "default-theme@mozilla.org");

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

I don't think you can do this via the command line. The currently used theme is stored in the pref on the <b>about:config</b> page. *extensions.activeThemeID = default-theme@mozilla.org *https://support.mozilla.org/en-US/kb/about-config-editor-firefox You can possibly use a user.js file in the profile folder to set the current theme by copying the related line from prefs.js to user.js. user_pref(*extensions.activeThemeID", "default-theme@mozilla.org"); You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題