Skip to content

but gui fails to launch GUI on KDE / Fedora #13141

Description

@rocketraman

Version

0.19.6

Operating System

Linux

Distribution Method

rpm (Linux)

Describe the issue

When running but gui on KDE (Fedora 43) I get the following error:

kf.kio.core: "/usr/share/applications/GitButler.desktop" contains supported protocols but doesn't use %u or %U in its Exec line! This is inconsistent.

And the following logs:

Apr 01 09:15:08 edison kio-fuse[553264]: couldn't create worker: "Unknown protocol 'but'."
Apr 01 09:15:08 edison systemd[2575]: Started app-GitButler@14aaddcfdc3a41869d6b44f0c5aae432.service - GitButler.
Apr 01 09:15:08 edison kioexec[576553]: Protocol Class of url QUrl("but://open?path=/path/to/my/project&t=1775049308432") , isn't ':local', cancelling job.
Apr 01 09:15:08 edison kioexec[576553]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kioexec'")
Apr 01 09:15:08 edison kioexec[576553]: couldn't create worker: "Unknown protocol 'but'."

Naiively adding %U to the .desktop file Exec line does not work, results in the following errors in the journal instead:

Apr 01 09:09:03 edison systemd[2575]: Started app-GitButler@bf723d9651fa4d2fafbf2bc5892015ce.service - GitButler.
Apr 01 09:09:03 edison gitbutler-tauri[573243]: Error: "but but://open?path=/path/to/my/project&t=1775048942920" is not a command. Type "but --help" to see all available commands.

OS and DE details:

Operating System: Fedora Linux 43
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.8-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland

How to reproduce (Optional)

On Fedora KDE, do:

but .

Expected behavior (Optional)

GitButler UI opens at the current project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingos:linuxThe Linux platform🎉reproduced🎉The issue could be reproduced by following the instructions

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions