Manually Installing addons

Hi no folks:

I downloaded a number of the addons from the Gramps website, but I’m not sure what directory to install them into. I run Gramps 5.2.2 on a Linux Mint 20.3 setup.

Any advice would be greatly appreciated. :thinking:

Regards…

Brian Lunergan
Russell, Ontario
Canada

Any particular reason you decided to do it manually rather than automatically ?

To manually install the addons see the Manually installed Addons section of the https://gramps-project.org/wiki/index.php/5.2_Addons page.

1 Like

To expand, the automatic part is that the Addon Manager will check for what add-ons are available and compares that to those are already install on your system. And after you select from the new (or updated) Add-Ons, it automates the download and install.

You still have full control over which to install. (Although, with over a hundred available add-ons, many people just let the Addon Manager install ALL the add-ons in the official repository.)

Addons/Plugins are stored in your user directories.

In the main user directory will be the version folder and within that will be the folder plugins ( /gramps52/plugins )

While there may be some experimental plugins that need to be installed manually, installing plugins from within the program itself is the preferred method.

Alternatively, you can ask Gramps directly about the current path to the add-ons.

Use the Python Evaluation gramplet and paste the following 5 “Evaluation” lines, then press the Apply button:

from gramps.gen.const import USER_DATA, USER_PLUGINS
print ("User Directory:")
print ("   " + USER_DATA)
print ("Add-on plug-ins folder:")
print ("   " + USER_PLUGINS)
Here are the results on my Fedora system with a "DistrictSupport" username:

1 Like

[emyoulation] emyoulation https://gramps.discourse.group/u/emyoulation
July 3

Alternatively, you can ask Gramps directly about the current path to the
add-ons.

Use the Python Evaluation
https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Gramplets#Python_Evaluation gramplet in and paste the following 2 “Evaluation” lines, then press the Apply button:

from gramps.gen.const import USER_PLUGINS print (USER_PLUGINS) |

Here are the results on my Fedora system with a “DistrictSupport” username:

image
https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/a/a756e9236750e53fbb6d015e6907beba6f584e59.png


Visit Topic
https://gramps.discourse.group/t/manually-installing-addons/5696/5 or
reply to this email to respond.

To unsubscribe from these emails, click here
https://gramps.discourse.group/email/unsubscribe/250770295b3ec5957a86180e781030dfe5ab6ebb5c9106a06c699d49a1ddfe9a.

Hello Brian:

Thanks for the advice, but I’ve run into a problem. I can’t seem to find
the menu entry for that window. Is there something I need to install or
connect? What menu entry should I be looking under?

I freely admit being a bit of a noob with operating and using Gramps.

Regards… :worried:

The Python Evaluation is a Gramplet, not a Tool or Report. Gramplets can be added to the Dashboard category or the Sidebar or Bottombar of any of the other (Like People or Relationship) category.


Gramplets have the benefit of being dynamic and context sensitive. As the active record changes, the Gramplet updates its content. (Back in 2013, the developers decided to convert it from a Tool to a Gramplet because it is most powerful when run interactively. In this case, I am using it to lookup static values.)

After a gramplet is added to a splitbar, you can grab the titlebar tab and ‘undock’ (‘detach’, ‘unpin’) by dragging it to the menubar of Gramps. That is why the Gramplet is appearing as a window rather than a tab. (This reveals a Help button to open the wiki page for the gramplet.) An undocked/detached/unpinned Gramplet lets you make better use of multiple screen space.

The default directory location for addons is ~/.gramps/gramps52/plugins.

You can create sub-directories and just copy the addon files into these. The addon manager just enables you to find addons easily and automates the installation process. The end result is the same.

1 Like

[emyoulation] emyoulation https://gramps.discourse.group/u/emyoulation
July 3

greywolf60:

I can’t seem to find the menu entry for that window.

The Python Evaluation is a Gramplet, not a Tool or Report. Gramplets
can be added to the Dashboard category or the Sidebar or Bottombar of
any of the other (Like People or Relationship) category.

https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/1/11fb500e6e5d8448673bd350f8251eccd38c152d.png

Gramplets have the benefit of being dynamic and context sensitive. As
the active record changes, the Gramplet updates its content.

After a gramplet is added to a splitbar, you can grab the titlebar tab
and ‘undock’ (‘detach’, ‘unpin’) by dragging it to the menubar of
Gramps. That is why the Gramplet is appearing as a window rather than a
tab. (This reveals a Help button to open the wiki page for the
gramplet.) An undocked/detached/unpinned Gramplet lets you make better
use of multiple screen space.

Hi again:

Found the “add gramplet” menu but checking all instances of the menu and
“Python shell” shows up but not “Python evaluation”.

Am I missing something? Not installed? Under a different menu name? Do I
need to use the Reset option?

Regards… :worried:

The Python Evaluation gramplet is only visible when Gramps is started in developer mode. You need to start Gramps without the -O flag.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.