Open main menu

Gramps β

Gramps 5.1 Wiki Manual - User Directory

Revision as of 15:22, 4 August 2020 by Eponymous (talk | contribs) (Mac OS X: changed file name, put it in the more appropriate Documents folder, and was more specific about outcome.)
Previous Index Next


This appendix provides the reference to the Gramps user directory available on various operating systems.

Gramps-notes.png
The location of your Gramps user directory depends on the operating system you are using and how you have set up your computer.

Where <~username> is shown below it should be replaced by the name you use to log in to your computer.

Contents

POSIX - style systems

The default user directory location for Gramps in a POSIX-style environment is:

/HOME/<username>/.gramps

which can also be entered as

<~username>/.gramps

This is true for BSD, Linux, Solaris, Unix and Mac OS-X when using Mac OS X Build from source.

Alternately, you can leverage the $HOME Home directory equivalent to avoid dealing the complications of active user names. Although Gramps will not recognize directory equivalents for paths internally, you can use them within Linux to find Gramps user files. The Gramps user directory path above is simplified to either:

$HOME/.gramps

or

~/.gramps

Or if using MS Windows the following syntax is used

$HOME\.gramps

or

~\.gramps

Mac OS X

On Apple Macs running OS X, filenames starting with "." do not show up in Finder. To simplify access to the Gramps user directory, open a terminal window using the Terminal application and type:

ln -s ~/.gramps ~/Documents/Gramps

which will make Finder show the directory as a folder in your Documents folder named "Gramps". (You can replace "Gramps" with whatever name you wish, but use a / before any spaces.) Alternatively you can simply click on Go -> 'Go to Folder...' in the Finder, and type

~/.gramps

in the resulting macOS Go to the Folder dialog box.

The Mac OS X:Application package uses a different, more MacOS-standard default location for the directory:

/Users/<~username>/Library/Application Support/gramps

MS Windows

On Microsoft Windows, filenames and folder for programs and userdata are hidden in the File Explorer. To make access to the Gramps user directory easy follow the following advice from Microsoft:

The default location for an installation on a Windows 7 (and newer) system is

C:\Program Files\GrampsAIO64-5.X.X

or

C:\Program Files (x86)\GrampsAIO32-5.X.X


The default location for any Gramps user data on a Windows 7 (and newer) system is

C:\Users\<~username>\AppData\Roaming\gramps

Alternately, you can leverage the %AppData% environment variable to avoid dealing the complications of active user names. Although Gramps will not recognize Environment Variables for paths internally, you can use them within Windows to find Gramps user files. The Gramps user directory path above is simplified to:

%AppData%\gramps


See Also

Previous Index Next
  Special copyright notice: All edits to this page need to be under two different copyright licenses:

These licenses allow the Gramps project to maximally use this wiki manual as free content in future Gramps versions. If you do not agree with this dual license, then do not edit this page. You may only link to other pages within the wiki which fall only under the GFDL license via external links (using the syntax: [https://www.gramps-project.org/...]), not via internal links.
Also, only use the known Typographical conventions