It is not typical to “open” .gramps (or .gpkg archives with media) files. These are the backup files and are imported into a new tree.
The working files are SQLite database files which are “loaded” using the Family Trees manager. These SQLite folders are located in the database path folder.
It is preferable to leave this “database path” in the default location unless there is a special need. (Such as: automated backup that requires folders to be in a paticular location; multiple users/workstations using a common network location.)
Copying the database folder on the old machine to the new computer would have moved the trees… but not the media objects.
However, you may be asking about “associating” an unknown filetype with a particular application on your new computer.
About setting filetypes to open with a particular macOS application
Perplexity summary of that process:
To open an unknown filetype with a specific application on macOS and set that application as the default for that filetype, follow these steps:
Opening an Unknown Filetype with a Specific Application
Right-click (or Control-click) the file in Finder.
Select “Open With” and choose your desired application from the list, or select “Other…” to pick an app not listed. If the app is greyed out, change the “Enable:” dropdown to “All Applications” to select any installed app[6][9].
Making the Application the Default for the Filetype
Right-click (or Control-click) the file and select “Get Info.”
In the Info window, find the “Open with:” section.
Choose your preferred application from the dropdown menu. If it’s not listed, select “Other…” and pick the app.
Click the “Change All…” button below the dropdown to set this application as the default for all files with the same extension.
Confirm when prompted[6][7][9].
Note: This process works for files with a specific extension. macOS does not provide a built-in way to set a default app for all unknown filetypes or all files without an extension; you must repeat the process for each unique extension[2][4][5].
If you frequently encounter many unknown extensions, consider using a third-party tool like RCDefaultApp (if compatible with your macOS version) to manage associations by MIME type or UTI, or create an Automator service to quickly open files with your chosen application[2][5].
@npaisnel reported (on Facebook) trying the “Open with” of a .gpkg archive and having Gramps refuse to open the filetype. (He has Mac, Linux and Windows and was unsure which … or if all… OS failed. The captures below appear to be from macOS )
Is this normal for macOS?
Choosing a .gpkg (that he generated himself) to “Open With” (with the Gramps app not started)
It is predictable that if the main 2 filetypes the Gramps supports are not registered as compatible with Gramps on macOS, then all the other core supported types will have the same issue.
I have certainly had problem understanding how to ensure an Importer addon can add a file extension/type to the File Selector filter and the ‘known types’ list. (Currently, I have experiments in progress with Tab Separated Values .tsv, and DoroTree .dte. And addons that compete with built-ins new revisions to .vcf, and .csv)
Just home from the farm and gardening and other after works sewing machine repair stuff and ha a chance to try with the iMac running Linux Mint
Open with …Gramps works fine and imports the exported file correctly
Alos tried on the Galaxy Tab running Win 10 Pro and that too imports correctly with “Open With”.
So yes it is just Mac OSx issue rather me not k owing how to do things…
The little Win 10 Galaxy Tab is now no longer seeing network computers..and it is not being seen by other machines…so now another issue to fix! ;). It was workmen a few days ago..bloody Windows…
With Windows network drives, Mapping a drive letter to the resource has always offered the most stability and compatibility.
(That has been true since the Windows for Workgroups and Window NT era … around 1992. That’s nearly a decade before Gramps was even a glimmer in Don Allingham’s eye. Every new release claims that that problem is a thing of the past. And within months of release, the general public is nudged back to the old reliable workaround That’s been a third of a century of persistence.)
I just tried
And nothing happens, with Gramps running or closed
BUT…
If you drag and drop into an open instance of Gramps ..and have the Family Tree manager window open, and drop on that, then the green cross appears and it instantly imports to the manager
Networking…Brian…seems SMB is working, the discovery is “broken”
if I type \192.168.1.145 or what ever in to the address bar or run window, it displays the shared folders fine..
It is a non- issue really ..I was given the Galaxy Pro with Win10 last week or so..its only purpose is really to run QDSLR Dashboard, a camera control software to run 24-36 hour time lapse sequences for exposure control during sunset/sunrise. I only put Gramps on it to see. When I was given the Galaxy, I was also given an M1 MacBook, so with a £30 AliExpress battery, the m1 is now working again and is my Gramps machine. It does me a full day on the battery. Never had a machine do that before! Last new computer I bought was 2008…I am happy to run on free throw-outs now and be a bit behind the times This 2020 M1 Mac book is my most modern machine