Dark Mode

UUID: darkMode@linuxedo.com
Last edited:
5 days ago 2024-04-20, 10:35
Last commit: [5b050750] darkMode@linuxedo.com: Add Dutch translation (#5782)

Easily switch between dark mode and light mode with one click.

README

Close

Dark Mode

Changing themes to switch between light mode and dark mode doesn't have to be a tedious task. Once you have configured the applet with your default light mode and dark mode themes & wallpaper, you can switch between the modes with a single click.

For more details and feature requests: Dark Mode in Cinnamon Desktop Environment

License: GPL-v3

Changelog

  • Sep 3, 2023
    • Add support to XDG Desktop Portal. This dark mode setting affects applications which support it and lets you choose between two options:
    • default: Let the applications decide
    • prefer-dark: Prefer Dark Mode
  • Jul 12, 2022
    • Fix configuration dialog not opening in some circumstances.
  • Apr 12, 2022
    • Fix desklet not working if local folders are missing
  • Nov 21, 2021
    • Change the desktop background.
  • Oct 28, 2021
    • Automatic mode switch based on time.
  • Oct 21, 2021
    • Stable release.

Log In To Comment!

25 Comments

Fubero8
Fubero8-2 months ago
Hello, thank you for this applet. Unfortunately, on LMDE 6 it does not switch according to the set time. I have to switch manually unfortunately. Does anyone have this error too?
Sudo Shindo
Sudo Shindo-3 months ago
Suggestion: Make the background specific/explicit instead of random. Setting up a light/dark wallpaper pair is kind of a hassle because you have to make 2 directories containing only 1 image each. It might be better if you get rid of the "random selection" part of the code so that the wallpaper files are easier to manage for users. It would allow us to have a /wallpapers/sunset dir that contains sunset-dark.png and sunset-light.png instead of /wallpapers/dark/sunset.png and /wallpapers/light/sunset.png and we could even avoid using subdirectories if we wanted to since we could specify the exact image paths.
Michał D
Michał D-6 months ago
Thanks for this useful applet! It would be great if the theme switched automatically if my laptop was asleep during transition time. E.g. I set the light mode to start at 6 AM, but I wake up my laptop at 8 AM - currently the theme remains dark from yesterday evening and I have to manually switch to light. Would be great if that happened automatically.
neek
neek-7 months ago
Great applet. One small request - the window border, window control, and desktop themes in ~/.themes can all be selected in the applet, but not the icon themes in ~/.icons (only the icon themes in /usr/share/icons). Are you able to give us access to icon themes in ~/.icons too? Cheers
neek
neek-7 months ago
Actually, you can also select icons themes from /.local/share/icons . I think ~/.icons is associated with freedesktop.org themes. Regardless, it is one of the places the Cinnamon theme manager looks for icons, and it would be nice to have this directory added.
unalignedcoder
unalignedcoder-10 months ago
Excellent applet, the only thing missing is a "next background" command. Since the user can set a wallpaper folder for the theme, which is ideal, the next logical step is to allow the user to manually flip through the backgrounds.
mash-00
mash-00-11 months ago
Hello and thank you very much for this. It is one of the best applets out there :-)! Something I noticed similar to appoloin; when e.g. a notebook goes to sleep and wakes up past the scheduled start/end time of the automatic mode switch the change is not fired "again", hence the theme is not switched. Before I found this neat applet I used to simply add some .sh scripts in crontab along shortcuts to fire them manually and had actually the same issue. During my brief fixing research I found this link, maybe it could be useful for you and this applet as well: https://stackoverflow.com/questions/58405459/how-to-set-cronjob-on-wake-up-from-sleep BR
claudiux
claudiux-11 months ago
Very useful applet! ...which I just discovered. Its author is also the author of the best desklet: googleCalendar. Thank you very much, @slgobinath
Yaroslav
Yaroslav-1 year ago
How to use in after downloading?
claudiux
claudiux-11 months ago
Open its settings...
richo
richo-1 year ago
Thanks a lot.
Andrei Miculita
Andrei Miculita-1 year ago
Works very nicely, thanks! Only thing I'd change is that clicking the applet should instantly change the theme, without opening a menu with just 1 option.
Jonathan Sanfilippo
Now Work in Arch Linux perfect !
Jonathan Sanfilippo
Arch dont work
Filip Fjeldstad
Filip Fjeldstad-1 year ago
Having trouble configuring it now... Any tips?
binarynoise
binarynoise-1 year ago
Please also toggle the libadwaita theme. With gnome migrating to libadwaita, half of the applications don't change their theme
Jyusup
Jyusup-1 year ago
thanx for fixing. doesn't work without ~/.local/share/icons folder on lmde 5 and debian
appoloin
appoloin-1 year ago
The auto change doesn't switch theme on resume. If you enter hibernation say on the dark theme and resume after the time for the light theme to be used, the applet doesn't switch.
Kalvez
Kalvez-1 year ago
Hi, still can't access the config menu on Linux Mint 20.3 :(
Jyusup
Jyusup-2 years ago
LMDE 5 doesn't work
Gobinath
Gobinath-2 years ago
This problem is fixed now. Please try again. Thanks
Jyusup
Jyusup-2 years ago
Linuxmint 20.3. Can't access configuration menu. On Fedora it works, please, help!
Gobinath
Gobinath-2 years ago
This problem is fixed now. Please try again. Thanks
dvoraking
dvoraking-2 years ago
In order to get working, you need to make the folder ~/.local/share/icons, which was missing from a fresh install of Mint. Found by DonLH.
nicholaspaquet
nicholaspaquet-2 years ago
Does nothing on Linuxmint 20.3. Can't access configuration menu either.