X
Tryk her for at gå til webstedets mobilversion.

Supportforum

Activate dark theme in CLI

Skrevet

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)
Citér

Yderligere systemdetaljer

Installerede plugins

  • Shockwave Flash 32.0 r0

Program

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

Yderligere information

Luk
akilaperera1910 0 løsninger 7 svar

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

Ændret af akilaperera1910 den

Fandt du dette nyttigt?
Citér

Spørgsmålsstiller

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
Fandt du dette nyttigt?
Citér
cor-el
  • Top 10 Contributor
  • Moderator
17519 løsninger 158412 svar

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.
Fandt du dette nyttigt?
Citér
Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.