-
Notifications
You must be signed in to change notification settings - Fork 32
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 themes are not dark #109
Comments
Actually this works with some limitations. |
I am on Fedora, it is natively packaged and still does not work :-( |
See wiki article - you need to find a way how to switch Qt into dark mode. Then Nixnote will be dark. Nixnote itself will not change the colors except for the note editor (html text). Of course if someone will be willing to improve this, then pull request are welcome as always, but I don't have any time to improve it. So it is a "feature" how it is now.. |
I have adwaita-qt in place, maybe it needs more configuration tweaks. |
QT_QPA_PLATFORMTHEME=qt5ct did it. |
Fully working in Fedora 31:
Then, logout & login again. (Some other Qt5 apps, like VLC, also changed the style, whereas others like Calibre or VirtualBox seems unaffected) |
OK. Thanks for info |
In my
Also tried
And no success with And Wireshark (another QT app) became dark, but no the NixNote, in AppImage :( And I cannot use ebuild without additional Gentoo overlay, because qt-webkit is not exists in Gentoo anymore :( @boo-yee please, maybe you can fix something about dark theme in AppImage, and/or switch from qt-webkit to a modern qt-webengine? |
@vitaly-zdanevich You could append this attached text file's content which contains a new theme to the themes.ini file located in your app image folder first, and switch to some other theme, and switch to this new theme. Finally reboot Nixnote, then it will work. (On my machine, I have to switch to some other theme first, otherwise it will not be displayed normally.) I set the main color to #939393(grey), you can change it as needed. No third party tool or other setting needed. |
Where is it?
I did a search on my machine - this file not exists. |
squash-root/usr/share/nixnote/themes.ini |
There is no such folder in |
Not in root, squash-root is the folder name of your AppImage after it is unzipped. |
and I will need to run another executable, from that unzipped folder? |
Sorry, I made a mistake, it is squashfs-root instead of squash-root, it is the foder where the executable(AppRun) is located. Maybe you using the AppImage by mounting it without unzipping? If so, you have to unzip it first: After appending, run Nixnote by executing the AppRun, follow the instructions above, it will load the themes. |
Hm, is it a recommended way to use AppImage software - to extract it first? Maybe my Gentoo ebuild should unpack it on install... |
If so, your search for themes.ini should have succeeded. If you dislike this way, you might want to wait for the next release |
There is another way now: 1. unzip 2. append the new theme 3. re-package the squshfs-root folder as AppImage. The package tool link: appimagetool |
What are your thoughts on including this file into AppImage? |
OK. In the next release. |
Expected vs. actual behavior
When you select a "dark" theme, only note text gets dark background. The menus are still black on white.
Specifications
The text was updated successfully, but these errors were encountered: