[GNC] dark theme on Linux

Geert Janssens geert.gnucash at kobaltwit.be
Fri Jun 25 12:54:00 EDT 2021


Hi Marcus,

For flatpak, that file should go into
$HOME/.var/app/org.gnucash.GnuCash/config/gnucash
(as per https://wiki.gnucash.org/wiki/
Configuration_Locations#In_GNC_CONFIG_HOME )

Note though that you will probably have to update your css file to work with 
gnucash 4.5. Most of the gnucash-own css selectors have changed names to be 
more consistent. For example there's now "gnc-id-cursor" where before there 
was "cursor" or ".cursor" (depending on the version of Gtk you had installed). 
You can look at 
https://github.com/Gnucash/gnucash/blob/maint/gnucash/gnucash.css
for examples of most of the gnucash specific selectors. All others can be 
discovered using the gtkinspector tool.

Regards,

Geert

Op vrijdag 25 juni 2021 16:21:08 CEST schreef Marcus Winston:
> I'm in the same boat, running GnuCash 4.5 flatpak on Linux Mint 20.1. I
> have the dark theme running, but want the alternating lines appearance
> that I had in GC 3.x. I had created a gtk 3.0 theme css file for GC 3.x,
> and it had worked. Now, with upgrading the OS and installing Flatpak GC,
> I can't find where to put the old .css file to have it work. Any
> pointers would be appreciated.
> 
> -marcus
> 
> On 6/24/21 3:38 AM, David Cousens wrote:
> > Michael,
> > 
> > Under the Edit->Preferences dialog there is an option to use the GnuCash
> > built in colour scheme. Turning this off allows the dark Theme from the
> > system to be used in the register display. I am running Linux Mint using
> > Adwaita-dark for the buttons and the Linux Mint-Y-dark for the Windows
> > borders and Mint-Y-Dark-Teal for Icons in the System theme settings.
> > These seem to be picked up by GnuCash without any difficulty. I have made
> > no changes to the defauklt gtk-3.0.css filein .config/gnucash or the
> > stylesheets in.local/share/gnucash. The window appearance with the
> > default GnuCash colours is as per the attached screenshot of a screen
> > fragment. With the Gnucash colors on, the appearance is the same apart
> > from the background colors for the register entries but the windows
> > borders icons and buttons remain unchanged. The link you posted did not
> > link to anything so I am not sure what you have done
> > 
> > 
> > David
> > 
> > On Thu, 2021-06-24 at 11:20 +0200, Michael via gnucash-user wrote:
> >> I have the following configuration: MX Linux 19.4 AHS, GnuCash 4.5, I
> >> have Adwaita-dark theme enabled by default in MX, when I start GNC, the
> >> buttons/menu has no dark theme enabled, tried the solution suggested in
> >> this post <cid:part1.CD5676F6.DD59D71C at yahoo.com>, still doesn't work,
> >> how can I enable dark theme in GNC? Please see the attached screenshot.
> >> 
> >> _______________________________________________
> >> gnucash-user mailing list
> >> gnucash-user at gnucash.org
> >> To update your subscription preferences or to unsubscribe:
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >> If you are using Nabble or Gmane, please see
> >> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >> -----
> >> Please remember to CC this list on all your replies.
> >> You can do this by using Reply-To-List or Reply-All.
> >> 
> >> _______________________________________________
> >> gnucash-user mailing list
> >> gnucash-user at gnucash.org
> >> To update your subscription preferences or to unsubscribe:
> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >> If you are using Nabble or Gmane, please see
> >> https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
> >> Please remember to CC this list on all your replies.
> >> You can do this by using Reply-To-List or Reply-All.
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.






More information about the gnucash-user mailing list