I'll be sharing this issue and solution with anyone who might encounter it. I use Windows 11 and I've been trying to set up the basic dark mode for Deluge, but nothing was working. After running Deluge in debug mode (deluge-debug.exe) I saw the following warning:
Code: Select all
(deluge:9584): Gtk-WARNING **: 13:21:14.116: Failed to parse C:\Program Files\Deluge\share\gtk-3.0\settings.ini: Key file contains line ???[?S?e?t?t?i?n?g?s?]?\u000d?? which is not a key-value pair, group, or comment
Turns out that I have followed every step in this thread correctly, and the problem basically was that my .ini file was in UTF-16 LE BOM encoding and it could not be read properly (probably related to the way I created the file). After replacing the old settings.ini (at C:\Program Files\Deluge\share\gtk-3.0\settings.ini) with a new one encoded in UTF-8 without BOM (utf8) and restarting the program, it succesfully changed to the dark theme.
Very specific for my case, the debug executable was extremely useful and could help for any future problem I might encounter.