Skip to content

xdg-open fails on Kububtu (Ubuntu with KDE desktop) only from Medley shell #2319

@RyanBurnside

Description

@RyanBurnside

Describe the bug
xdg-open fails when run from within Medley on Kubuntu 24.04.
Kubuntu is one of the forms of Ubuntu that ships with KDE as the desktop. Nothing too uncommon nor exotic.

I noticed this while troubleshooting the side documentation buttons on the desktop.
I walked down through the source code for the buttons until I reached a callback to "ShellCommand" which runs a concatenated form of the xdg-open location and the url (which I verified to both be correct).

I reconstructed the command manually and tried it from the real Linux Bash shell and it ran just fine. I do have xdg-utils installed and can run xdg-open from the host.

ShellBrowser-warnings-17650.txt

To Reproduce
Click one of the documentation calling buttons on the side in Kubuntu.
Check the error logs of the /tmp directory which it writes to.

Expected behavior
I would have expected it to open my system set default browser to the documentation pdf.

Screenshots

Image

Context (please complete the following information):

  • Are you using online.interlisp.org? [no]
  • OS: Kubuntu 24.04, KDE Plasma Version 5.27.12, Graphics Platform: X11
  • OS Version: 24.04
  • Display/window system: X11
  • Host arch: x86_64
  • Maiko version: Latest packaged version from Website
  • IL:MAKESYSDATE: [ date ] or (il:print-lisp-information): copy-paste or screenshot this
Image

Additional context
I'm not sure if it's a KDE issue or if it also applies to Gnome as well.
xdg-open DOES run from the host Bash shell.
The version is xdg-open 1.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions