Change ledger font

AC gnucash at acarver.net
Sat Sep 20 02:33:27 EDT 2014


On 2014-09-19 04:44, Geert Janssens wrote:
> On Thursday 18 September 2014 21:17:01 AC wrote:
>> On 2014-09-18 07:12, Geert Janssens wrote:
>>> On Thursday 18 September 2014 06:30:59 AC wrote:
>>>> On 2014-09-18 00:03, Geert Janssens wrote:
>>>>> GnuCash ships with a tool to change the theme it uses. That tool
>>>>> also
>>>>> allows you to change the font being used by default. You should
>>>>> find
>>>>> it in your start menu in the same group as gnucash. I believe it's
>>>>> called 'Select Theme' or something like that.
>>>>
>>>> Thank you, I didn't notice that tool before.  So much better now.
>>>> I'll have to dig into the theme files later and find out how things
>>>> get tweaked.
>>>>
>>>> Do the ledger row colors themselves get set in there (right now
>>>> they
>>>> are alternating green and tan)?  I didn't see any of the themes
>>>> changing that part in the preview on the tool.
>>>
>>> The ledger row colors are not set in here. GnuCash uses the
>>> hardcoded
>>> green/tan color scheme by default.
>>> It has a preference option though to switch to the colors offered by
>>> the current theme:
>>> Edit->Preferences->Register->Use System Theme colors
>>>
>>> I'll add that there is currently a bug in gnucash version that
>>> causes
>>> the theme colors to be ignored. This bug will be fixed in the
>>> upcoming gnucash 2.6.4.
>>
>> I noticed that setting, I just had hoped it was somewhere else
>> configurable, too, without changing the whole system scheme.
>>
>> I did also notice that it ignored my current system setting which is
>> why it's currently on green/tan.
> 
> You can always override the system's theme settings by writing a 
> customized gtkrc config file.
> 
> See
> http://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_change_the_register_colors.3F
> http://wiki.gnucash.org/wiki/Windows#Q:_What_if_I_need_to_change_another_visual_aspect.2C_not_covered_by_.22Select_Theme.22.3F
> for more info.

Those instructions don't lead me to a .gtkrc-2.0 file anywhere on my
system.  I used the select theme tool as instructed but it never
generated the .gtkrc-2.0 file.

The closest I've found is an etc directory (\program files
(x86)\gnucash\etc) with a simple gtkrc file under a directory named
gtk-2.0 within that etc directory but it has only one line:

gtk-theme-name = "Nimbus" (which is the theme I chose.)

I tried adding a theme override here using the examples at
http://svn.gnucash.org/trac/browser/gnucash/trunk/doc/gtkrc-2.0.gnucash
with no success.

I also found many gtkrc files spread throughout the \program files
(x86)\gnucash\share\themes tree.  I edited the Nimbus theme there, too,
again with no success.  The ledger stays green/tan.


More information about the gnucash-user mailing list