For Linux Mint users, enabling dark mode in Google Chrome isn't always straightforward. Sometimes, the usual settings don't work as expected. This article provides a step-by-step guide on how to force dark mode in Chrome by modifying the panel shortcut.
Many users prefer dark mode for its aesthetic appeal and potential reduction in eye strain. While Chrome usually offers a built-in dark mode option, Linux users sometimes find that it doesn't function correctly. A common workaround involves using command-line flags.
The key to enabling dark mode persistently without using the terminal each time lies in modifying the Google Chrome shortcut located on your panel. Here's how:
Identify the Correct Command: The command to force dark mode is:
google-chrome-stable --enable-features=WebUIDarkMode --force-dark-mode
Edit the Application Launcher:
Modify the Command Field:
/usr/bin/google-chrome-stable --enable-features=WebUIDarkMode --force-dark-mode
/usr/bin/google-chrome-stable
might be different on your system. Ensure you're using the correct path to the Chrome executable. You can find by typing which google-chrome-stable
in the terminalSave the Changes:
Test the Shortcut:
By adding the --enable-features=WebUIDarkMode
and --force-dark-mode
flags to the Chrome launcher, you're instructing Chrome to activate its dark mode features upon startup. This eliminates the need to use the terminal every time you want to run Chrome in dark mode.
.desktop
File: For advanced users, you can directly edit the .desktop
file associated with the Chrome launcher. These files are typically located in /usr/share/applications/
or ~/.local/share/applications/
. Find the relevant .desktop
file, open it with a text editor, and modify the Exec=
line to include the dark mode flags. Save the file, and the changes will be reflected in your panel shortcut.By following these steps, you can easily and permanently enable dark mode in Google Chrome on Linux Mint, providing a more comfortable browsing experience.