-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
color-scheme in wayland gnome doesn't seem to work #72
Comments
The PR doesn’t reflect the current implementation. See the Not sure when I’ll find time to tackle this. It should be an easy fix in |
I'm afraid I'm missing too much knowledge on Java/Kotlin to be able to test out stuff without actual pairing 😅. I will try to find time in the next couple of weeks and see if I have some luck. One way to maybe lower the bar for contributions could be an standalone cli that works something like:
Making this an standalone java cli would make it much easier for me to iterate when testing out by trial and error, as the current setup I achieved forces me to load a whole IDE in debugging mode etc. |
Please try out the new pre-release version of the plugin and see whether it fixes the issue for you: |
It seems like both the new and the old plugin work the same, or rather stop
working the same, and that is when I change the settings. Setting up the
plugin to "Xdg-desktop" and then restarting the IDE will make it work
correctly with both versions.
However, if I change between the different settings, it seems to stop
working altogether.
Cheers, Javier
…On Sun, Sep 3, 2023 at 1:56 PM Jannis Weis ***@***.***> wrote:
Please try out the new pre-release version of the plugin and see whether
it fixes the issue for you:
https://plugins.jetbrains.com/plugin/14076-auto-dark-mode/versions/pre-release/387545
—
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABXXGQVUVIKYHTZZV7XDEDXYRWABANCNFSM6AAAAAAY4HG5ZI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can't speak to Wayland, but this pre-release has fixed the Xdg-Desktop implementation for me on Ubuntu 22.04.3 Gnome / XOrg, which hasn't been working for some time. My IDEs now correctly track the system light/dark mode where they were previously just stuck in dark mode. |
@tonyabbott are you able to test out the situation I shared? Choose the xdg-desktop settings in the old one, click OK, restart the IDE, and see if it works? Cheers, Javier |
Switching to the "xdg-desktop" method works for me on GNOME 43. By the way, I don't think this is a Wayland vs. X11 issue but rather dependent on the GNOME version. In a future version, perhaps this plugin could auto-detect which method to use based on some heuristics like GNOME/GTK version. Keeping the switch in the settings is fine for edge cases, but it would provide for a better OOTB experience. Thanks for this plugin @weisJ by the way. A |
Hello!
I have checked the code in #51 and it doesn't seem like the current gnome implementation is caught by the extension. Just in case, I'm referring to the menu button in the upper corner to switch the theme natively.

The current key being monitored is
org.freedesktop.appearance:color-scheme
, however checking with gsettings, the key in gnome-shell 44.1 it seems to beorg.gnome.desktop.interface:color-scheme
, with the valuedefault
when not in dark mode, andprefer-dark
when in dark mode.The version I'm running is
1.8.1-2023.1
.The text was updated successfully, but these errors were encountered: