Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Activate dark theme in CLI

  • 3 odgovori
  • 1 ima ovaj problem
  • 8 views
  • Posljednji odgovor poslao cor-el

more options

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)

All Replies (3)

more options

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

Izmjenjeno od strane akilaperera1910

more options

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

more options

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.