Re: [GNC] Changing default font size in Gnucash 3.2

2018-07-04 Thread Daniel Dickinson
Thanks all for your replies.  Creating a gtk.css file in ~/Library/Application 
Support/Gnucash/config/gtk-3.0/ did the trick!  Perhaps the wiki should be 
updated to indicate that only the .css option is available on Mac?

Dan



From: John Ralls 
Sent: Monday, July 2, 2018 2:34 PM
To: Geert Janssens
Cc: Gnucash Users; Daniel Dickinson
Subject: Re: [GNC] Changing default font size in Gnucash 3.2



> On Jul 2, 2018, at 11:20 AM, Geert Janssens  
> wrote:
>
> Op maandag 2 juli 2018 18:34:18 CEST schreef John Ralls:
>>> On Jul 2, 2018, at 9:03 AM, Geert Janssens 
>>> wrote:>
>>> Op maandag 2 juli 2018 16:28:39 CEST schreef John Ralls:
>>>>> On Jul 2, 2018, at 2:46 AM, Geert Janssens 
>>>>> wrote:>
>>>>>
>>>>> Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
>>>>>> I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having
>>>>>> trouble
>>>>>> setting a default font size.  The current font is too small and makes
>>>>>> it
>>>>>> very difficult for me to read the register.
>>>>>>
>>>>>>
>>>>>> Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I
GTK3 - GnuCash<https://wiki.gnucash.org/wiki/GTK3>
wiki.gnucash.org
Menu Keyboard Shortcuts. Keyboard shortcuts can be assigned to actions in 
GnuCash application. A more detailed information is available on Keyboard 
Shortcuts.. To assign a custom shortcut, do the following:



>>>>>> created
>>>>>> the file ~/Library/Application
>>>>>> Support/Gnucash/config/gtk-3.0/settings.ini
>>>>>
>>>>>> (this file didn't exist previously), with the following contents:
>>>>> I wrote these instructions, but I'll admit the location of this file on
>>>>> Macos was an educated guess which I can't verify as I don't have an
>>>>> Macos
>>>>> system available to experiment with.
>>>>> There is potentially a second location that could be queried rather that
>>>>> the one above.
>>>>> Can you try to make the changes here instead:
>>>>> ~/.config/gtk-3.0/settings.ini
>>>>>
>>>>> I would be interested to learn if that does work.
>>>>>
>>>>> Otherwise the suggestion by GT-I9070 H is the third option. It is likely
>>>>> to
>>>>> work because we have more direct control over GNC_CONFIG_HOME.
>>>>
>>>> ~/Application Support/Gnucash/config/gtk-3.0 is the correct path on
>>>> MacOS.
>>>> XDG_CONFIG_HOME is set in
>>>> Gnucash.app/Contents/Resources/etc/gnucash/environment and needs to be
>>>> changed there to override it.
>>>>
>>>> I’ve found that settings.ini doesn’t work to set the font, you need a
>>>> gtk.css in the same directory with contents like * {
>>>>
>>>>   font-family: Arial;
>>>>
>>>> }
>>>>
>>>> and whatever other CSS font directives you want.
>>>
>>> I'm curious what gtk3 does differently on MacOS that it doesn't pick up
>>> settings.ini in its config file, or ignores the font configuration. Or is
>>> there another font override in the way on that platform ?
>>
>> Geert,
>>
>> That I don’t know. As it happens I spent some time yesterday debugging
>> https://bugs.gnucash.org/show_bug.cgi?id=796727
>> <https://bugs.gnucash.org/show_bug.cgi?id=796727>; I’ve gotten far enough
>> to understand that gtksettings isn’t loading the default settings.ini in
>> GnuCash.app/Contents/Resources/etc/gtk-3.0 (I think I need to add yet
>> another line to environment setting XDG_CONFIG_PATH to include the bundle
>> directories), but even after copying it to ~/Library/Application
>> Support/Gnucash/config/gtk-3.0 it parses the line ‘gtk-key-theme-name =
>> Emacs’ but doesn’t change the GSettings value from “Mac” which is set
>> programmatically earlier in GSettings initialization.
>
> Ok. At least is shows settings.ini is being read in ~/Library/Application
> Support/Gnucash/config/gtk-3.0. But it seems to not apply any of the settings
> in that file...

It applies "gtk-primary-button-warps-slider = false" just fine. (Thanks, Colin, 
for reminding me about that. I despise the warping.)

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@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.


[GNC] Changing default font size in Gnucash 3.2

2018-07-01 Thread Daniel Dickinson
I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having trouble 
setting a default font size.  The current font is too small and makes it very 
difficult for me to read the register.


Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I created the 
file ~/Library/Application Support/Gnucash/config/gtk-3.0/settings.ini (this 
file didn't exist previously), with the following contents:

[Settings]
gtk-font-name=Arial 16


Also, from within Gnucash I went to Edit>Style Sheets>Default and changed all 
the fonts to Arial 16.


Neither of these actions had any effect on the font sizes displayed.  How can I 
set a larger default font size in Gnucash 3.2?


Thanks,

Dan Dickinson

GTK3 - GnuCash
wiki.gnucash.org
Menu Keyboard Shortcuts. Keyboard shortcuts can be assigned to actions in 
GnuCash application. A more detailed information is available on Keyboard 
Shortcuts.. To assign a custom shortcut, do the following:


___
gnucash-user mailing list
gnucash-user@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.


Re: Trouble installing Finance::Quote on Mac OSX Yosemite

2017-08-07 Thread Daniel Dickinson
Thanks all for your replies.  I do indeed have Xcode and command line tools 
installed, and I've run plenty of other Perl code without any issues.

I did a little more digging.  Here is the complete output from running sudo 
perl /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update:


Reading '/Users/danieldickinson/.cpan/Metadata'

  Database was generated on Sun, 06 Aug 2017 20:17:02 GMT

Running install for module 'Date::Manip'

Running make for S/SB/SBECK/Date-Manip-6.59.tar.gz

Checksum for 
/Users/danieldickinson/.cpan/sources/authors/id/S/SB/SBECK/Date-Manip-6.59.tar.gz
 ok

 Unsatisfied dependencies detected during 

   SBECK/Date-Manip-6.59.tar.gz   

ExtUtils::MakeMaker [build_requires]

Running make test

  Make had some problems, won't test

  Delayed until after prerequisites

Running make install

  Make had some problems, won't install

  Delayed until after prerequisites

Running install for module 'ExtUtils::MakeMaker'

Running make for B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz

Checksum for 
/Users/danieldickinson/.cpan/sources/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz
 ok


  CPAN.pm: Building B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz


Using included version of CPAN::Meta (2.143240) as it is newer than the 
installed version (2.133380).

Using included version of CPAN::Meta::Requirements (2.131) as it is newer than 
the installed version (2.122).

Using included version of CPAN::Meta::YAML (0.011) as it is newer than the 
installed version (0.008).

Using included version of ExtUtils::Install (2.06) as it is newer than the 
installed version (1.59).

Using included version of ExtUtils::Manifest (1.70) as it is newer than the 
installed version (1.63).

Using included version of JSON::PP (2.27203) as it is newer than the installed 
version (2.27202).

Using included version of Parse::CPAN::Meta (1.4414) as it is newer than the 
installed version (1.4404).

Checking if your kit is complete...

Looks good

Generating a Unix-style Makefile

Writing Makefile for ExtUtils::MakeMaker

Writing MYMETA.yml and MYMETA.json

cp lib/ExtUtils/Command/MM.pm blib/lib/ExtUtils/Command/MM.pm

cp lib/ExtUtils/MM_QNX.pm blib/lib/ExtUtils/MM_QNX.pm

cp lib/ExtUtils/MM_NW5.pm blib/lib/ExtUtils/MM_NW5.pm

cp inc/ExtUtils/Packlist.pm blib/lib/ExtUtils/Packlist.pm

cp inc/CPAN/Meta/Converter.pm blib/lib/CPAN/Meta/Converter.pm

cp lib/ExtUtils/MakeMaker/Tutorial.pod blib/lib/ExtUtils/MakeMaker/Tutorial.pod

cp inc/CPAN/Meta/YAML.pm blib/lib/CPAN/Meta/YAML.pm

cp lib/ExtUtils/MM_AIX.pm blib/lib/ExtUtils/MM_AIX.pm

cp lib/ExtUtils/MM_Darwin.pm blib/lib/ExtUtils/MM_Darwin.pm

cp lib/ExtUtils/MakeMaker/version/regex.pm 
blib/lib/ExtUtils/MakeMaker/version/regex.pm

cp lib/ExtUtils/MakeMaker/Locale.pm blib/lib/ExtUtils/MakeMaker/Locale.pm

cp inc/ExtUtils/Installed.pm blib/lib/ExtUtils/Installed.pm

cp inc/CPAN/Meta/Merge.pm blib/lib/CPAN/Meta/Merge.pm

cp inc/ExtUtils/Manifest.pm blib/lib/ExtUtils/Manifest.pm

cp lib/ExtUtils/Liblist/Kid.pm blib/lib/ExtUtils/Liblist/Kid.pm

cp inc/CPAN/Meta/Prereqs.pm blib/lib/CPAN/Meta/Prereqs.pm

cp inc/Parse/CPAN/Meta.pm blib/lib/Parse/CPAN/Meta.pm

cp inc/CPAN/Meta/Feature.pm blib/lib/CPAN/Meta/Feature.pm

cp lib/ExtUtils/MakeMaker/version.pm blib/lib/ExtUtils/MakeMaker/version.pm

cp lib/ExtUtils/MM_Unix.pm blib/lib/ExtUtils/MM_Unix.pm

cp lib/ExtUtils/MM_Win32.pm blib/lib/ExtUtils/MM_Win32.pm

cp lib/ExtUtils/MM_Cygwin.pm blib/lib/ExtUtils/MM_Cygwin.pm

cp lib/ExtUtils/MM_MacOS.pm blib/lib/ExtUtils/MM_MacOS.pm

cp inc/JSON/PP.pm blib/lib/JSON/PP.pm

cp lib/ExtUtils/MY.pm blib/lib/ExtUtils/MY.pm

cp inc/CPAN/Meta.pm blib/lib/CPAN/Meta.pm

cp lib/ExtUtils/Mksymlists.pm blib/lib/ExtUtils/Mksymlists.pm

cp lib/ExtUtils/MM_VOS.pm blib/lib/ExtUtils/MM_VOS.pm

cp inc/JSON/PP/Boolean.pm blib/lib/JSON/PP/Boolean.pm

cp inc/CPAN/Meta/Requirements.pm blib/lib/CPAN/Meta/Requirements.pm

cp lib/ExtUtils/testlib.pm blib/lib/ExtUtils/testlib.pm

cp lib/ExtUtils/Mkbootstrap.pm blib/lib/ExtUtils/Mkbootstrap.pm

cp lib/ExtUtils/MM_DOS.pm blib/lib/ExtUtils/MM_DOS.pm

cp lib/ExtUtils/MakeMaker.pm blib/lib/ExtUtils/MakeMaker.pm

cp inc/ExtUtils/Install.pm blib/lib/ExtUtils/Install.pm

cp lib/ExtUtils/MakeMaker/FAQ.pod blib/lib/ExtUtils/MakeMaker/FAQ.pod

cp inc/CPAN/Meta/Spec.pm blib/lib/CPAN/Meta/Spec.pm

cp lib/ExtUtils/MM.pm blib/lib/ExtUtils/MM.pm

cp lib/ExtUtils/MM_UWIN.pm blib/lib/ExtUtils/MM_UWIN.pm

cp lib/ExtUtils/MM_Win95.pm blib/lib/ExtUtils/MM_Win95.pm

cp lib/ExtUtils/MM_Any.pm blib/lib/ExtUtils/MM_Any.pm

cp lib/ExtUtils/Command.pm blib/lib/ExtUtils/Command.pm

cp inc/CPAN/Meta/History.pm blib/lib/CPAN/Meta/History.pm

cp inc/CPAN/Meta/Validator.pm blib/lib/CPAN/Meta/Validator.pm

cp lib/ExtUtils/MM_OS2.pm blib/lib/ExtUtils/MM_OS2.pm

cp lib/ExtUtils/MakeMaker/version/vpp.pm 
blib/lib/ExtUtils/MakeMaker/version/vpp.pm

cp lib/ExtUtils/MakeMaker/Config.pm blib/lib/ExtUtils/MakeMaker/Config.pm

cp inc/ExtUtils/MANIFEST.SKIP 

Trouble installing Finance::Quote on Mac OSX Yosemite

2017-08-06 Thread Daniel Dickinson
I installed GnuCash 2.6.17 and it runs fine.  However, I am having trouble with 
Finance::Quote.  Initially FinanceQuote Update wouldn't run, but I got around 
that by allowing apps from unidentified developers.  When I launch it, it opens 
a terminal window and asks for my password.  It tries to install 
Finance::Quote, but gets stuck at the following:


Running make test

PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" 
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/00compile.t . ok

t/01perl_bugs.t ... ok

t/02-xsdynamic.t ..


It never completes the 02-xsdynamic.t test, just sits there.  But the process 
at the top of the terminal window changes back and forth periodically between 
"lipo" and "xcrun."  I'd guess it's stuck in some kind of a loop.  I checked 
the console but didn't see any error messages that appeared to be related to 
this.


I also tried installing manually using

perl -MCPAN -e shell
 install Finance::Quote

This completed successfully, but GnuCash doesn't seem to know that 
Finance::Quote is there - when I try to download quotes, it says "There was a 
system error while retrieving the price quotes."  Again there is nothing in the 
console that would give any insight about what's going on.


Thanks for any suggestions.


___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.