Public bug reported:

Xiphos does not register itself as handler for sword:// URIs

Ubuntu 24.04 (Noble)
Package: xiphos
Version: 4.2.1+dfsg1-8build3

Xiphos itself can successfully open a SWORD URI when invoked directly,
for example:

```text id="89u5a1"
xiphos 'sword://Luther2017/John 3:16'
```

This works correctly.

However, `/usr/share/applications/xiphos.desktop` does not register
Xiphos as a handler for the `sword:` URI scheme.

Relevant entries in the installed desktop file are:

```text id="qj8mq5"
Name=Xiphos Bible Guide
Exec=xiphos
TryExec=xiphos
```

There is no:

```text id="x94j1w"
MimeType=x-scheme-handler/sword;
```

`gio` therefore reports:

```text id="jrh11k"
Default application for “x-scheme-handler/sword”: xiphos.desktop
No registered applications
No recommended applications
```

This causes applications which use `sword://` links, for example
GLosung, to report that no suitable application for opening SWORD links
is installed, although Xiphos is installed and can handle the URI when
called directly.

A local workaround is to create a user-specific copy of `xiphos.desktop`
containing:

```text id="h2w8mg"
Exec=xiphos %u
MimeType=x-scheme-handler/sword;
```

and then run:

```text id="rbp0vo"
update-desktop-database ~/.local/share/applications
xdg-mime default xiphos.desktop x-scheme-handler/sword
```

After this, SWORD links can be passed to Xiphos correctly.

Please consider adding the appropriate SWORD URI scheme registration to
the Xiphos desktop file/package.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xiphos 4.2.1+dfsg1-8build3
ProcVersionSignature: Ubuntu 6.8.0-139.139-generic 6.8.12
Uname: Linux 6.8.0-139-generic x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 12 23:25:31 2026
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: xiphos
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xiphos (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167176

Title:
  Xiphos desktop file does not register x-scheme-handler/sword

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xiphos/+bug/2167176/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to