English
Login

Dark mode

Relevant for

MK4 family
XL family
MINI family
MK3 family
MK3.5 family
+
14 comments
Article is also available in following languages
English
Čeština
Polski
Deutsch
Français
Español
Italiano
日本語

OSX and Linux

PrusaSlicer supports dark mode on OSX and Linux natively. If you have dark mode enabled in your system settings, PrusaSlicer should automatically start in dark mode as well.

Windows

You can enable dark mode manually from Menu - Configuration - Preferences - Dark Mode. Alternatively, the Preferences screen can be opened with the shortcut Ctrl + P

Implementing dark mode for Windows took significantly more effort than we expected. Unlike OSX and Linux, Windows has no official dark mode for Win32 controls, which our multi-platform GUI library (wxWidgets) uses. So we embarked on a journey to implement it ourselves. We started skinning the existing Win32 components and implementing replacements for those, which were not skinnable. Luckily, we discovered Notepad++! As far as we’re aware, Notepad++ is the only Win32 open-source application that implements Dark Mode to a reasonable extent. We ended up using some of the source code from Notepad++ interfacing with the unpublished Dark Mode API, which is based on this project.

 

7 comments

Log in  to post a comment
David Hahn
For those hitting this issue on Arch, I'm not sure why they push you to the flatpak but I uninstalled that and installed the version available in the pacman respositories and dark mode is now working with the settings.ini fix from above
Adroit Jones
[Using Arch Linux but same result with Debian and Tuxedo OS as well] In Prusaslicer 2.9.0-RC1 I no longer have an option in preferences to enable or disable dark mode. Dark mode always worked on previous versions but even though all my system settings are and have always been (even by default) on dark mode, the fact I'm stuck with glaring white on my screen to use prusaslicer is awful. Is this an oversight removing the dark mode button or how is this supposed to be usable in dark mode if my settings are already in dark mode.
Jav.BR
Same here, on Arch. I uninstalled from pacman and installed 2.9 from flathub as they suggested - no more dark mode
B Major
Also, the below "settings.ini" file fix doesn't work for me. The upgrade to the flatpak has broken dark mode on Linux for me. I'm on Ubuntu 20.04.
O
I also installed from flatpak. What worked for me was to change the env variable for prusa slicer to enable dark mode. I used the "flatseal" app to do it, but there are probably other ways. I changed the following from false to true and restarted slicer
PRUSA_SLICER_DARK_THEME=true
MagnusVesper
To enable dark mode on linux, run this line in a terminal:
mkdir -p ~/.config/gtk-3.0 && echo "[Settings]\ngtk-application-prefer-dark-theme = true" >> ~/.config/gtk-3.0/settings.ini
MagnusVesper
If you want a step-by-step: If the folder ~/.config/gtk-3.0 does not exist, make it.  Create/edit ~/.config/gtk-3.0/settings.ini Add these 2 lines to it: [Settings]gtk-application-prefer-dark-theme = true Note: if there is already a "[Settings]" line, you can just put the "gtk-application..." line after it. But having 2 "[Settings]" lines doesn't cause issues. Having 2 of the "gtk-application..." lines doesn't seem to cause issues either. So the command in my first comment should always work.(Edit: not sure why line breaks aren't showing here. There should be 1 line containing only "[Settings]" and a second containing "gtk-application-prefer-dark-theme = true" without the quotes on either.)
MagnusVesper
"If you have dark mode enabled in your system settings" - there is no  "system settings" app nor is there a "dark mode" setting in Linux.
What specifically enables dark mode in Linux?
MagnusVesper
Some Linux distros come with system settings apps, and some of those have "dark mode" settings. But those are all separate apps using separate methods to enable what they decided to call "dark mode".
Just stating the way it checks would save a ton of people headaches.
Thomas Lord
Is there a way to turn off dark mode on OSX?
Petr Kubiš

No there is not such a preferece option at the moment.