@zimm I can confirm this does seem to do the trick for me as well.
I took a look at the log output of the plugin loader without manually enabling a plugin:
22:50:38.643 DEBUG plugin_handler.cpp:375
22:50:38.644 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib/opencpn/libgrib_pi.so
22:50:38.644 MESSAGE plugin_loader.cpp:508 Checking plugin compatibility: /usr/lib/opencpn/libgrib_pi.so
22:50:38.644 MESSAGE plugin_loader.cpp:1374 Plugin is compatible: true
22:50:38.644 MESSAGE plugin_loader.cpp:1390 PluginLoader: Loading PlugIn: /usr/lib/opencpn/libgrib_pi.so
22:50:38.647 DEBUG plugin_loader.cpp:1491 blacklist: Get status for GRIB 5 0
22:50:38.647 MESSAGE plugin_loader.cpp:421 Loading plugins from dir: /usr/lib64/opencpn
22:50:38.647 MESSAGE plugin_loader.cpp:640 PluginLoader searching for PlugIns in location /usr/lib64/opencpn
22:50:38.647 MESSAGE plugin_loader.cpp:678 Found 6 candidates
22:50:38.647 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib64/opencpn/libwmm_pi.so
22:50:38.647 MESSAGE plugin_loader.cpp:508 Checking plugin compatibility: /usr/lib64/opencpn/libwmm_pi.so
22:50:38.648 MESSAGE plugin_loader.cpp:1374 Plugin is compatible: true
22:50:38.648 MESSAGE plugin_loader.cpp:1390 PluginLoader: Loading PlugIn: /usr/lib64/opencpn/libwmm_pi.so
22:50:38.649 DEBUG plugin_loader.cpp:1491 blacklist: Get status for WMM 1 1
22:50:38.649 MESSAGE plugin_loader.cpp:534 Skipping not enabled candidate.
22:50:38.649 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib64/opencpn/libpolar_pi.so
22:50:38.649 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib64/opencpn/libchartdldr_pi.so
22:50:38.649 MESSAGE plugin_loader.cpp:508 Checking plugin compatibility: /usr/lib64/opencpn/libchartdldr_pi.so
22:50:38.649 MESSAGE plugin_loader.cpp:1374 Plugin is compatible: true
22:50:38.649 MESSAGE plugin_loader.cpp:1390 PluginLoader: Loading PlugIn: /usr/lib64/opencpn/libchartdldr_pi.so
22:50:38.651 DEBUG plugin_loader.cpp:1491 blacklist: Get status for ChartDownloader 1 4
22:50:38.651 MESSAGE plugin_loader.cpp:534 Skipping not enabled candidate.
22:50:38.651 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib64/opencpn/libdashboard_pi.so
22:50:38.651 MESSAGE plugin_loader.cpp:508 Checking plugin compatibility: /usr/lib64/opencpn/libdashboard_pi.so
22:50:38.652 MESSAGE plugin_loader.cpp:1374 Plugin is compatible: true
22:50:38.652 MESSAGE plugin_loader.cpp:1390 PluginLoader: Loading PlugIn: /usr/lib64/opencpn/libdashboard_pi.so
22:50:38.653 DEBUG plugin_loader.cpp:1491 blacklist: Get status for Dashboard 1 2
22:50:38.653 MESSAGE plugin_loader.cpp:534 Skipping not enabled candidate.
22:50:38.653 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib64/opencpn/libweather_routing_pi.so
22:50:38.653 MESSAGE plugin_loader.cpp:442 Checking plugin candidate: /usr/lib64/opencpn/libgrib_pi.so
22:50:38.660 MESSAGE glChartCanvas.cpp:562 BuildFBO 3
22:50:38.661 MESSAGE glChartCanvas.cpp:1016 OpenGL-> Framebuffer OK, size = 1646
22:50:38.701 MESSAGE o-charts_pi.cpp:2790 o_charts_pi: OpenGL-> Minimum cartographic line width: 1.0
22:50:38.701 DEBUG pluginmanager.cpp:1857 OCPN_OPENGL_CONFIG
I believe that Skipping not enabled candidate.
might indicate that your proposed solution is indeed the "correct" way to do it, or at least how OpenCPN seems to ship and bundle the default set of plugins in the first place.
Seems like the respective plugin aur packages must be updated to alter the OpenCPN configuration file?
Pinned Comments
cybuzuma commented on 2022-09-29 08:33 (UTC) (edited on 2024-10-11 10:14 (UTC) by cybuzuma)
Please note that when using this package, you will not be able to use the Plugin Manager but have to install plugins via the aur or compile them yourself. If you need a plugin that is not in the aur, feel free to contact me for help.
If you encounter errors with plugins after a opencpn update, you might need to rebuild the affected plugin, for example using
makepkg -fi
.