![]() |
[solved] Plugins throw an error
Greetings,
I am new to Sigil. I have been trying to install and run some plugins, and they do not work. The plugins appear to install OK, and they appear in the plugins menu, but when I try to run them I get an error that says Code:
Error: A plugin by that name does not exist.The plugin is installed in the directory Code:
/home/brian/.local/share/sigil-ebook/sigil/pluginsAnybody know how to fix this? Thanks, Banjo (_)=='=~ |
KDE Desktop?
|
Yes. KDE Plasma 5.8.9
Code:
System: Host: LinuxMain Kernel: 4.4.0-135-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.9 |
Thought as much. There's a bug in KDE's KDEPlatformTheme plugin that affects Qt programs (https://bugs.kde.org/show_bug.cgi?id=337491). The short of it is that it injects accelerator shortcuts (&) into the menu text of applications. That menu text is what we (Sigil) use to know which plugin to launch from the menu--so this messes with that functionality (and the functionality of a lot of other Qt applications affected by it).
I added a workaround for it in Sigil 0.9.8 that seems to do the trick, but unfortunately, the version of Sigil included in Xenial-based repositories is Sigil 0.9.5. There are a few things you can do. 1) Assign plugins to the plugin menu button shortcuts and launch them that way (you only have 3 plugin shortcut buttons available on 0.9.5, though). 2) Build/install a newer version of Sigil yourself from source. 3) Install a newer version of Sigil from a third-party repository (there are several reputable launchpad repos that provide newer versions of Sigil). There's also some mention of something that can be added to a "kdeglobals" file (in the above bug report comments), but I cannot vouch for its accuracy or effectiveness. |
Further info (untested by me) on that kdeglobals workaround is that adding:
Code:
[Development] |
Thanks for the quick response.
I will look into your solutions. I am investigating how to build from source, but I have not worked through the details yet. I would like to build inside an IDE, but the instructions online address command line builds. I will see if one of the other workarounds will suffice until I can get my act together on a build. |
Quote:
I suppose it could all be set up within QtCreator (configured to use CMake instead of .pro files), but I see no real advantage in doing so. *shrug* |
All very true, but I like to poke around in things and see how they work. I spent too many years looking through core dumps with gdb. :smack:
Banjo (_)=='=~ |
C++ code is a far cry from core dumps, but I get your drift. ;)
|
I thought that I would update this thread to follow up on what has worked for me to solve this problem, just in case someone else is having the same issue.
Running plugins from the buttons did work, but as mentioned, there are only three buttons, and the tooltips do not identify which plugin is assigned to which button. So I tried the workaround, adding the following: Code:
[Development]Once again, here are my system specs Code:
Host: LinuxMain Kernel: 4.4.0-135-generic x86_64 (64 bit) Banjo (_)=='=~ |
Thanks for verifying that the ~/.config/kdeglobals entry workaround does in fact work! I'll try to remember to make a note of it in the Linux section of Sigil's github wiki.
|
How do I mark this SOLVED? On most forums you edit the first post, but that doesn't seem to work here.
|
Quote:
|
| All times are GMT -4. The time now is 08:57 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.