Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
September 17, 2021 11:09 am GMT

Enable Dark mode in chrome on Ubuntu

Recently I started using Ubuntu as my default OS for programming and I am loving working in it!

But there was an issue which I faced, By default in Google Chrome dark mode is not enabled and it was kind of a letdown.

After digging up the Internet I found that In order to enable the Dark mode I needed to edit the google-chrome.desktop file.

If you are also dealing with a similar issue then, just follow along

Firstly open, the google-chrome.desktop file using,
sudo gedit /usr/share/applications/google-chrome.desktop

After the file has been opened, you will need to edit two lines

1. Search for the line-

Exec=/usr/bin/google-chrome-stable %U

replace it with-

Exec=/usr/bin/google-chrome-stable %U --enable-features=WebUIDarkMode --force-dark-mode

2. Search for the line-

Exec=/usr/bin/google-chrome-stable

replace it with-

Exec=/usr/bin/google-chrome-stable --enable-features=WebUIDarkMode --force-dark-mode

Now, Save the file and restart Chrome. Dark mode should be enabled now

Thanks for reading!
Have a nice day!


Original Link: https://dev.to/ankitbrijwasi/enable-dark-mode-in-chrome-on-ubuntu-20na

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To