Comments (7)
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.
from auto-dark-mode.
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 lifeeyesaver.
from auto-dark-mode.
The PR doesn’t reflect the current implementation. See the 2023.1
branch for the latest revision used in version 1.8.1-2023.1
. It does use the org.gnome.desktop.interface:color-scheme
key. But probably the default
and prefer-dark
versions aren't handled.
Not sure when I’ll find time to tackle this. It should be an easy fix in GtkVariants
though. I’d be happy to review and merge a fix for this :)
from auto-dark-mode.
I'm afraid I'm missing too much knowledge on Java/Kotlin to be able to test out stuff without actual pairing :sweat_smile:. 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:
auto-dark-mode-cli --implementation-type gsettings --guess-light-dark false --change-ide-theme true --ide-theme-light "MyLightTheme" --change-editor-theme true --editor-theme-light "MyEditorLightTheme" --check-high-contrast false
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.
from auto-dark-mode.
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
from auto-dark-mode.
from auto-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
from auto-dark-mode.
Related Issues (20)
- Make IDEA crash on RHEL 8.5 HOT 5
- GTK themes list is incomplete HOT 3
- Doesn't work on android studio, osx m1 monterey (works on Idea on the same mac) HOT 6
- Support for Linux HOT 8
- Support for 2022.1 version HOT 1
- Time-based fallback for unsupported environments HOT 2
- libauto-dark-mode-linux-gtk.so not found HOT 2
- [Feature Request] Detect system theme with the new libadwaita baked into GNOME 42 HOT 2
- UI freeze upon exit HOT 6
- Not compatible with WebStorm 2022.2 HOT 4
- gnome-settings-daemon detection doesn't work outside of i3, GNOME, or XFCE HOT 6
- Not working in 2023.1 EAP HOT 34
- com.intellij.serviceContainer.AlreadyDisposedException: Cannot create light service HOT 5
- libauto-dark-mode-linux-gtk-x86-64.so GLIBC version for Ubuntu 20.04 HOT 1
- 2023.2 compatibility HOT 10
- Updating LAF causes issues down the road HOT 1
- [feature suggestion] ability to select themes for dark/light HOT 1
- Incompatible with PyCharm versions newer than build 231.* HOT 1
- Not compatible with 2023.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-dark-mode.