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
Dark / light mode Macos #22
Comments
Except for the editing window, Geany follows your GTK theme, so on systems where GTK theming is set by the system (like my Linux Mint here) it just works if your machine is set to a dark theme, so the problem is basically Macos specific where GTK doesn't follow the system theme it seems. Will transfer to the Geany-OSX issues. |
If you set the |
The solution #22 (comment) works from command line BUT, it does not work in normal Mac workflow. That is, double-clicking a file which opens with Geany, makes light mode. Also starting Geany from the dock defaults to light mode There is a I don't think gsettings exist for Macos. For the average user, I think the best solution would be to keep Macos bundle intact. To reiterate: now two bundle-based alternatives exists ( Willing to test-drive if you don't have a Mac available |
I'm totally macos illiterate, but I would have thought these can be modified to do the setting of The problem with adding it into a menu in Geany will be that its a macos special since other systems provide their own methods of setting themes, and we don't want conflicts, if its gonna work, it better do it the system way. A better place to add an option might be in the macos launcher, then it may work in all situations, thats something a macos expert like @techee will have to comment on. |
|
From this comment:
|
I can confirm that version 1.37 works as anticipated (problem reported for version 1.36, which I thought was latest). |
@pragma-git does it work for you? |
Basically the quote @codebrainz mentioned should describe how theme picking works - and at least on my machine theme selection works automatically for 1.37. |
Yes it works very well (sorry I used the wrong account when answering above). |
Thanks once more for such a great editor!
Intro
Working in dark mode in the MacOs system (and probably other systems too) it is annoying with a single application that does not adhere, and that does not have an obvious way of changing to dark mode. It is possible that I have missed how to do this
Changing color theme works. BUT, it is only the text area that changes (all the rest of the GUI is light).
Digging around, I found that dark mode is in principle implemented, and that there are indeed two different css:
/Applications/Geany.app/Contents/Resources/share/themes/Mojave-light-solid/gtk-3.0/gtk.css
/Applications/Geany.app/Contents/Resources/share/themes/Mojave-light-solid/gtk-3.0/gtk-dark.css
but I am not aware of a way to tell Geany which one should be active (gtk.css is on by default)
What works: It is possible to rename gtk-dark.css to gtk.css, and then Geany looks beatiful in Dark mode.
Request: Listen to the system setting, with option to override to dark/light mode from the settings menu. As a last resource (not as good) allow and document a "less hacky" way to change to dark mode, such as a setting in geany.conf
(Tested on Geany 1.36 with GTK+ v3.24.10 and Glib v2.60.6 runtime libraries)
The text was updated successfully, but these errors were encountered: