Proximity Collection Clipboard

When fleshing out family records, I often find myself re-selecting from the same small pallette of Record Objects but having to repetitively drill down from the top & through the whole spectrum of Record Objects.

(As an example, the family members often have the same group of 3 or 4 cemeteries. I’m processing from the same few Sources, cross-referencing to the same local newspapers & online databases. The Places they were born tends to be the same townships and had they had residences in the same general area. )

So, I keep tossing Places on the Clipboard (Mostly because the Place Tree has so much latency when populating the Selector and it is so tedious to drill down through.) And it helps… until I close the session and have to pick up the work again later.

It would be nice to have the clipboard palette of objects re-loaded automatically. Have it use a filter of People in proximity to the Active Person/Family (like the Degrees of Separation by @Mattkmmr ) and load a clipboard pallette of all the nearby People, the Places they referenced, and Sources used in that group.

Since you might only notice a selection is getting repetitive after the fact, another option might be to poll the session log and populate from the recently changed records.

Refreshing the pallette shouldn’t be dynamic. It would be good to have a button to force re-polling the pallette.

Or maybe such a feature should be a tool that pushes data to the Clipboard instead of a GUI button? If it was a tool, maybe it could have a histogram-based filter for omitting outliers… ignore objects that are only referenced once is a small selection … or less than half a dozen times as it looks at a larger group of people or recent records.

One further thing… sometimes you need to Refine the Clipboard pallette. Cleaning is easy with the Clear… but the Drill Down of adding is tedious. It would be nice to be able to one-click switch to the last-used mode in the Category View of an Clipboard object and focus on that object. Then I can load a few nearby Objects into my Clipboard pallette. Or, if an Object Editor window is floating, I can drag the nearby object directly into it.

1 Like

I like these ideas. The first thing would be to make the clipboard content reloadable at gramps startup with its previous session content.

For the moment with actual clipboard, when I close the session and i want to reuse clipboard content, I transfer its content in one of the collection clipboards then i transfer these records links back to the regular clipboard when I restart gramps.

1 Like

The Collections Clipboards (CC) will retain their contents between sessions. And you can detach them from their location so that they will float.

The one thing to remember, if you navigate between different databases, the CC will not keep stored Gramps objects. i.e. store a place on the CC in Relationships view sidebar in one database, open another database in the Relations view, the CC will be empty, go back to first database, the CC will also be empty.

Non object entries will be retained between databases. i.e. text, attributes, etc.


That explains something that was not obvious.

My use of Gramps is characterized by constantly switching to the example.gramps tree. (To validate a step-by-step instructions in replies. For screen captures destined for the wiki. For bug report testing. To test my own assumptions.)

I was looking forward to the persistence of data between sessions in the Collections Clipboards. But it seemed to be unreliable. The contents would persistent during testing but not actually needed … during normal use. My tests did not include switching Trees!

When switching between databases, the contents of a Collections Clipboards (CC) will disappear IF they are stored on a view that is visited.

The information on a CC is stored in the ini files stored in the user’s version folder. Files like People_personlistview_sidebar.ini. Any view you visit with the second database will automatically update the view’s ini files and in the process the contents of the CC on that view. The objects from the first database are not in the second and get erased. Then when you return to the first database, the view now sees that nothing is stored in the CC. If when you open another database, and never go to a view with a CC in either sidebar or bottombar, that information will be retained when you return to your main database.

This view visit is why sometimes you would see a CC’s contents disappear while at other times they did not.

Yes. I realized that and left the realization implicit in my message. I should have been explicit. Sorry.

(People have complained I am pedantic. So I try to edit myself. Then get complaints from the same people for not spelling thing out. I don’t seem to be able find that happy medium.)

And I was just trying to make my point clear after my convoluted explanation of what was happening in the background.

But this is also a warning if you periodically do a clean import of your database into a new tree. (I did mine today.) Be careful which view you are on when you create the new database. That view will be the view the new database will access and will clear any CC contents.


that is their problem, not yours!
Write like you want and ignore people that complain.

I have never seen you write anything not understandable… and English is not my first language.

It’s all about willingness to understand or not… some always think half empty, some always think half full.


Well… it’s often been executives at work during our ‘corporate teambuilding exercises’… so I kinda hafta pay some attention :laughing:

Thanks for being supportive!

I finally found an easier way. I have the example database open at the same time, in a completely separate instance of Gramps. (Of course, you could also do that with a virtual machine or a separate physical machine.)

On my Mac (sorry, I don’t know whether/how this would work on Windows or Linux), I just made a copy of the packaged installation. In other words, in the Applications folder, I made a copy of and gave it a different name. Then, within the new copy (right click, Show Package Contents), I edited Contents/Resources/ and changed the APPDATA environment variable to point to a different place than the default, so that it doesn’t conflict with my original installation. That means it has its own family trees, custom filters, preference settings, addons, etc.

I can also use the copy for learning by experimenting with the code without endangering my regular environment. And I gave it a different Theme so that it’s easier to tell it apart.

Initially I had spent a couple days trying unsuccessfully to build a separate version from the source code, in an environment that looks something like this, then realized this approach was much simpler.

Now that there is an update to Gramps 5.1.3 on the Windoze PortableApps, it might be possible to start using that for my documentation & bug testing needs!

It will still require some experimenting to determine if the User Directory is also sufficiently isolated when using that installation. (I hope. I hope!)[it does] That would allow using the settings I REALLY want instead of just the stuff that is easy to revert.

It can easily be done on Windows 10 with WSL2 running. In addition to installing WSL2 Linux Distribution, install the GWSL X server from Windows Store.

By doing this you can have multiple Gramps open, running from different WSL instances.
Here I have 2 databases open, both are in the “same” windows folder where I have all my gramps databases.

Only thing I have not done is to set up media files to have correct path for the different profiles, but it shouldn’t be a big problem to do that.

It’s like running “normal” Windows version of Gramps, except all the trouble to get all libraries installed on a Linux distro (I still have the Postgresql error on the WSL installation, I have not cared to get it solved…

I know that it is a better idea to be exploring options to run virtual environments. And that learning Linux would be a wise long-term plan. Plus posting wiki documentation of the process of setting up the Linux distribution with Gramps under Windows is something that should be pursued.

But there are other constraints in my current situation that make that preferred option unworkable.

Naturally, working from a thumb drive will do awful things to performance. But the upside is that the 2 of my sibs (who are superficially interested in genealogy) are not willing to install software. So I hoped to find a painless method that lets them use Gramps Geography view during their travels. And there are another half dozen 1st cousins that could also be interested.

FYI, a typo might prevent others from finding the X Server – the correct name is “GWSL” and here’s the website if interested:

Looks good, thanks for sharing @StoltHD

1 Like

Thanks for spotting the typo, changed it now…

1 Like

If they only is interested in the geography view, you could create a map of interest, using i.e. QGIS or SAGA, export the geocoded places to csv and import them to QGIS and create the maps you like to share, you can even export those to openstreetmap, G.maps, Apple Maps, Bing Maps, ot just create pixelated bitmaps out of them… of course you could also just create screen captures or something from gramps, but you can get a lot more mapped if you use one of the external tool I have mentioned and, you can add your own captions to the points if you want to…

PS. there is a leaflet plugin for Obsidian, and there is Geo Map plugins for VS Code/Codium you can even preview KML files.

Just another tip from the “Toolbox”

I coudn’t add another answer so had to edit this one!

New topic (continued on the "multple instances on Windows) :

Another method for running multiple instances of Gramps on Windows 10 is to run a custom Windows Sandbox instance or 2…

Here is a article on how to do different configurations for Windows Sandbox: How to configure Windows Sandbox (run apps/scripts, share folders, etc.) | Digital Citizen

If you set it correct, you can install any changes but as soon as you close the Sandbox, it is reset to your initial configuration…


Maybe there could be a new option to export selected events into a KML file? Then you could create, for example, a Google map that you share with them. Actually, it doesn’t even need to be KML; you can import CSV as well. (See here.)

By the way, it seems like this discussion has veered from the original topic.

That is often how good solutions get created :slight_smile: