Skip to content

Crash on Wayland: AppImage fails with DBus ServiceUnknown errorΒ #104

@EchoSingh

Description

@EchoSingh

Bug Report

OS: Garuda Linux (Arch-based)
Desktop: KDE Plasma (Wayland)
WakaTime version: v2.1.6
Install method: AppImage (wakatime-linux-x86_64.AppImage)


Issue:
The app crashes immediately when launching the AppImage on Wayland with the following error:


thread '<unnamed>' panicked at x-win-rs/src/linux/api/wayland\_extension\_api.rs:206:6:
called `Result::unwrap()` on an `Err` value: MethodError("org.freedesktop.DBus.Error.ServiceUnknown", Some("The name is not activatable"), ...)

Expected behavior:
AppImage should launch the tray app or at least handle Wayland gracefully instead of crashing.

Steps to reproduce:

  1. Download the latest AppImage
  2. Mark executable: chmod +x wakatime-linux-x86_64.AppImage
  3. Run via terminal
  4. Crash occurs instantly on Wayland

Temporary workaround:
Switching session to X11 avoids the crash but still unstable.


Request:

  • Add proper error handling for missing DBus services
  • Improve Wayland support or detect and warn users

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions