X
Tap here to go to the mobile version of the site.

منتدى الدعم

Activate dark theme in CLI

Posted

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)
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

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

More Information

akilaperera1910 0 solutions 7 answers

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..

Modified by akilaperera1910

Was this helpful to you?
Quote

Question owner

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
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17539 solutions 158588 answers

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.
Was this helpful to you?
Quote
اطرح سؤالا

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.