Is there a way to (quickly) turn on a dark mode in Ubuntu with GNOME, e.g. 18.04 and higher? And how is possible to have a dark mode of the different apps?
I agree with this article: Ubuntu Needs to Make it Easier to Enable Dark Mode (OMG! Ubuntu)
There are some answers for Ubuntu with Unity but they are not helpful for Ubuntu with GNOME:
How can you enable GTK3 themes' dark theme mode when using Unity 7? – Ask Ubuntu
Is there any fast switch between light mode and dark mode (light/dark theme) in 16.04? – Ask Ubuntu
Best Answer
For easy and quick toggling from Dark to Light theme and vice versa install this GNOME extension:
Invert the color of individual windows only (Default shortcut is Super+I): use the Globe Extension Invert Window Color. Thank you Sam!
Ubuntu 20.04: You can now easily choose a dark mode within the Settings:
Appearance > Window colors > Dark
. There is no possibility to set a time to have an automatic switch based on time, though (without a GNOME extension, see above).For a Full Dark Mode of the system (incl. System tray menu, top-bar calendar, notification popups, and desktop context menu) you need some more steps:
(*) Firefox add-on for GNOME Shell integration in Firefox.
2. Install user themes GNOME Shell extension:
https://extensions.gnome.org/extension/19/user-themes/
3. Turn on user themes GNOME extension in GNOME Tweaks or in the GNOME extensions app.
4. Log out and back in to your session OR manually restart GNOME Shell (Alt + F2, type r, hit enter) for the theming extension to actually be activated.
5. Launch GNOME Tweaks and navigate to Appearance in the left pane, choose Yaru-dark as the Shell theme! More details and source: [How to Enable Dark Gnome Shell Menus, Calendar in Ubuntu 20.04 | UbuntuHandbook]
But the Dark Theme Toggle does not make some of the apps fully dark and you have to do some further configuration:
LibreOffice: (adapted from Debugpoint.com)
There may be more custom color settings you like to adapt. For example, Remove the gray background from Table Of Contents: Modify the color setting in Text Document, ☑ Index and table shadings. (Or disable it: ☐ Index and table shadings.)
There is a also a dark theme to install: RaitaroH/LibreOffice-BreezeDark: Icons, color palette and color scheme for LibreOffice
Firefox:
Enable Dark Mode in Firefox, see HowToGeek for details.
To view the webpages in dark colours, use an add-on. Two tested options:
Before you install disable similar extensions.
Handy keyboard short-cut to toggle: F9
PDF viewer (e.g. Evince document viewer): See Is there any pdf viewer with dark mode? - Ask Ubuntu
Go to the options on the top right corner (Sandwich menu). Then select Night Mode or Inverted colours.
Wire messenger (How to install Wire messenger on Ubuntu):
Go to preferences, then Options, choose dark theme.
Thunderbird
With TB 78+ you can choose a dark theme (open add-on page and choose themes on the left side).
Apart from that there are some dark theme add-ons with more tweaks.
Audacity:
The theme to use can be selected at Edit > Preferences > Interface
You can also change the colour of the waves without selecting a theme.
And more sophisticated (source: OMG!Ubuntu):
Calibre: See How do I get a dark theme/night mode in Calibre? - Ask Ubuntu