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)
Mehr Details zum System
- Shockwave Flash 32.0 r0
- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
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..
Geändert am von akilaperera1910
Re read the 5th word of topic or the 27th of the message
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.
- extensions.activeThemeID = firstname.lastname@example.org
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.
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.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder
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.