Add support for libronixdls (and logos4) urls
Certain websites (including my own) use the Logos Reftagger plugin, which has the capability of adding a "Open in Logos Bible Software" icon next to the reference. This attempts to open Logos Bible Software using the libronixdlx: format, which does not work with Ou Dedetai.
Expected behavior:
- Browse to a website with the Reftagger plugin installed and to a page with a Scripture reference. (e.g. the footer of my blog)
- Click the ">L" button (with tooltip "Open in Logos Bible Software (if available)")
- Logos Bible Software opens
Thank you for this! I use RefTagger on my sites.
There is probably a way for us to associate the links with Logos in a DE. We need to research those mechanisms, but our installer could make sure they are put in place.
A general idea for how to make this work. Add the following at ~/.local/share/applications/libronixdls.desktop:
[Desktop Entry]
Name=Libronix Keylink Handler
Exec=ADD LOGOS EXE CMD HERE "%u"
Type=Application
MimeType=x-scheme-handler/libronixdls;
NoDisplay=true
At CLI:, first add, then verify:
xdg-mime default libronixdls.desktop x-scheme-handler/libronixdls xdg-mime query default x-scheme-handler/libronixdls
Criticality of this has now increased due to the login with Logos button using a logo4 formed url scheme (#400 ). The same can be done for libronixdls. Testing for both logos4 and libronix...
(This only works for my user called "user")
echo > ~/.local/share/applications/logos4.desktop '[Desktop Entry]\nType=Application\nName=Logos Scheme Handler\nExec=/home/user/.local/share/FaithLife-Community/oudedetai/oudedetai --wine 'C:\\Users\\user\\AppData\\Local\\Logos\\Logos.exe' '%u'\nStartupNotify=false\nMimeType=x-scheme-handler/logos4;'
update-desktop-database
xdg-mime default logos4.desktop x-scheme-handler/logos4
# Confirm registration if desired:
# cat ~/.config/mimeapps.list
useful articles on the topic:
- http://kb.mozillazine.org/Register_protocol
- https://learn.microsoft.com/en-us/windows/apps/develop/launch/handle-uri-activation