PDF filenames for reports

Geert Janssens janssens-geert at telenet.be
Wed Apr 23 11:31:58 EDT 2014


On Wednesday 23 April 2014 16:01:18 Mike Evans wrote:
> On Wed, 23 Apr 2014 16:46:59 +0200
> 
> Geert Janssens <janssens-geert at telenet.be> wrote:
> > On Wednesday 23 April 2014 10:47:44 Mike Evans wrote:
> > > When exporting invoices etc. to pdf to the file names are of the
> > > form
> > > Invoice-000141-23_04_14.pdf.  I want to change this to either;
> > > have
> > > the date format follow the format set in Preferences (I think it
> > > should anyway), or get rid of the date altogether.  I've tried
> > > using
> > > dconf-editor (fedora) but I can't find the key to edit this
> > > setting.
> > > It was editable under the old settings regime using gconf-editor
> > > and
> > > the same key should be available in gsettings but it doesn't
> > > appear
> > > to be.
> > > 
> > > Any ideas?  Is this a bug/feature?
> > > 
> > > Mike E
> > 
> > Hmm, can you remind me which setting this used to be ? Perhaps it
> > didn't survive the conversion to gsettings. But I don't remember
> > deliberately removing this.
> > 
> > Geert
> 
> Hi Geert
> 
> using gconf-editor it's (was) in:
> /apps/gnucash/general/report/pdf_export/(filename_format and
> filename_date_format)
> 
> Mike E

Ok, in dconf you will want to look for
/org/gnucash/general/report/pdf-export/(filename-format and filename-
date-format)

Most notable path changes in dconf are:
- path now starts with /org/gnucash instead of /apps/gnucash
- underscores have become invalid characters so they are replaced with -

Note that gnucash is not installed system-wide in /usr and friends you 
must make sure that dconf can find your gnucash schema.

I believe the proper way to do so is to run
XDG_DATA_DIRS="/path/to/gnucash/install/dir/share;
${XDG_DATA_DIRS};/usr/local/share;/usr/share dconf-editor

(all in one line and properly setting the path to your gnucah's share 
directory)

Does that work ?

Geert


More information about the gnucash-user mailing list