Specifying a custom share directory?

Derek Atkins warlord at MIT.EDU
Mon Aug 9 14:24:17 EDT 2010


Hi,

You really should reply to the list in order to get quick replies.  I've
been on vacation for the last week....

Duncan Bayne <dhgbayne at gmail.com> writes:

> Derek,
>
>> I'm not sure why you would want to do this?
>
> Some background: I use multiple machines running Ubuntu.  I keep the
> configuration for my apps - Bash, Emacs etc. - in a private Subversion
> repository, and I use a single Bash script to set up a clean Ubuntu
> machine as a personal dev machine.
>
> What I'd like to do is keep a custom report file (invoice.scm) in that
> repository, and instruct GnuCash to load that file from there.  As far
> as I can tell, it defaults to loading _all_ such files from
> /usr/share/gnucash, so I was wondering if there was a way to point it
> at an alternative share path at runtime.

So why not just create a new "my-invoice.scm" file and store it there?
GnuCash will auto-load reports from the standard reports directory.

>> The share directory is part
>> of the installation.  You can specify the appropriate ./configure option
>> (--sharedir, I believe) to change where it points do when you build
>> gnucash.
>
> I presume that means it's fixed at runtime?

Yes, it's a compile-time option.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list