Skip to content

Wrong directory for python scripts in documentation, PREFIX and not XDG_CONFIG_HOME  #152

Description

@mgavioli

Context: FontForge 2020-03-14 AppImage on Linux Mint 19.3 (<= Ubuntu 18.04)

In the https://fontforge.org/docs/scripting/python/fontforge.html documentation page, it says:

“When FontForge starts (if it’s a FontForge with python) it will look at the directories $(PREFIX)/share/fontforge/python and ~/.FontForge/python and attempt to run all files in those directories which end in ".py"...”

On my machine, after several trials and errors, I discovered that the user directory for python scripts is actually ~/.config/fontforge/python (which was already there, I hadn‘t to create it).

Is it an Ubuntu-specific detail or is the documentation out-of-date?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions