I’m new at Gramps and I installed the Windows version, which gave me already nice ancestor views. I love the colorful and interactive ancestor view and also the ancestor report.
I would whish some nice little configs for ancestor view:
select Show the profession of a person
select Show the 1st address entry of a person
select Show only the preferred first name or call name instead of full name, if available
select age instead of death
select Show the siblings of all generations - probably a free selection of persons to see?
Right click and select Internet link of a person
print this nice screen view somehow
I would whish some nice little configs for graphical ancestor report:
This is an easy one. You can create other name display settings. Some reports allow you to set the setting for the report/view but if not, you can change the default, run your report, then switch the name display back.
Go to the Preferences’ Data tab’s Name format. Here you set the default as well use the edit button to create other options.
If you use just Call Surname then every record would need the call name set. If the Call name is blank, only the Surname will display. Usually the Call option is used like this. Given (Call) Surname. If the Call name is entered, the (Call) is added between the Given and Surname. If Call is blank then just Given Surname is displayed.
You can use Common Surname. This option will use the Nickname if available as the first choice, then Call as the second choice, and if neither of those are available the first name of the Given names is used.
One of the great features in Gramps is the add-ons. In the Addon Manager look for GraphView chart, this will give you much more options than the default installed Pedigree graph view. And the FamilyTreeView graph (still under development, so requires a bit more configuration to install) has more config options than you can dream of.
Also in the Addon Manager look for reports - there may be a report that gives you the options you’re looking for.
Thank you! Hmm, in Germany we have many given names, while only one of them is the call name. In a condensed Pedigree graph view I would wish to see the short form, while the database should contain the full name. I found the preferences before, but I didn’t find this case considered.
Thank you! I did not manage to get the Addon manager working. It installs something, but it doesn’t start the addon. May be you are right and I have to invest some more time into these Addons. Thanks!
E.g. if you install the GraphView add-on, you will have to go to the Charts in the Navigation bar (left side), and then in the Tool bar select the GraphView chart.
Ok, I found it and tried it. But probably I will go back to the most promising ancester view and add some own code. But this will take time. Thanks for your help.
A1.: It is not stored in the database. It is just a view on the existing database.
A2: There are villages and cities in the database. I select village(1st prio) or city (2dn prio) for viewing. I removed the place of birth view. Same I did for call name(1st prio) and first name (2dn prio).
However, this is what I want to see from my family members.
Here is the main code change:
def get_professions_from_events(self, person):
professions = []
# Loop through the event references attached to the person
for event_ref in person.get_event_ref_list():
# Fetch the actual Event object from the database using its handle
event = self.database.get_event_from_handle(event_ref.ref)
# Check if the event type is an Occupation
if event and event.get_type() == EventType.OCCUPATION:
# Get the main text description (e.g., "Blacksmith")
profession_name = event.get_description()
professions.append(profession_name)
return professions
def get_legacy_city(self, person):
address_data = []
# Direct extraction from the Person's built-in address list
for address in person.get_address_list():
city = address.get_city()
village = address.get_locality()
if village :
city = village
# Format or grab what you need
if city:
address_data.append(f"{city},".strip(", "))
return address_data
def get_name(self, person):
name = person.get_primary_name()
vorname = name.first_name
if name.call:
vorname = name.call
namestr = vorname + ' ' + name.get_surname()
# name string should not be empty
namestr = escape(namestr) if namestr else ' '
return namestr
BTW. I’m not able to change the config window, because I don’t know how to generate the “locales” files.
To display only the name of the city you can create another place name option in Preferences. I created an abridged place name option that only displays the City and State. For European place this results in the City and Country. I use this option for graph views and reports. The setting is p, -2. If you want just City use just the p which stands for populated place. Populated places are defined by place records using the City, Town, Village, Hamlet place types.
Graph View allows the user to select a place display option different from the selected default option.
@DaveSch “place name option in Preferences” has only 3 options and mine is not there. Setting $p-2 does probably work in ancestor reports - the others don’t have this business card $ format option. Obviously it was easier for me to add some own code instead of digging in the few inconsistant configuration windows. Sorry. Beyond this the database, data entry and graphic seems stable and nice, so thank you for your work!
@DaveSch I found your “p, -2” setting, but I didn’d find any nice view or report that uses this setting. However, this following example is the view many private people prefer: