Describe the bug
The app is crashing immediately when attempting to run the flatpak.
To reproduce
Steps to reproduce:
- Attempt to run the flatpak - app crashes immediately
Expected behavior
The app starts up.
Environment
- OS: CachyOS - 6.19.5-3-cachyos (64-bit)
- Whis version: 0.7.2
- Installation method: Flatpak
Additional context
Some logs:
flatpak run ink.whis.Whis
(ink.whis.Whis:2): libayatana-appindicator-WARNING **: 14:34:22.954: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
Detected environment: KDE Plasma (Wayland)
Shortcut not configured. Two options:
- System: Configure compositor shortcut -> whis-desktop --toggle
- Direct: Enable direct keyboard access (see Settings)
IPC listener started at /run/user/1002/whis-desktop.sock
Gdk-Message: 14:34:23.466: Error 71 (Protocol error) dispatching to Wayland display.
A quick search revealed another tool with a similar error and a possible fix was to set some environment variables. The result of this attempt is shown below:
flatpak run --env=GDK_BACKEND=x11 --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 --env=RUST_BACKTRACE=1 ink.whis.Whis
thread 'main' (2) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.34.5/src/platform_impl/linux/event_loop.rs:218:53:
Failed to initialize gtk backend!: BoolError { message: "Failed to initialize GTK", filename: "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gtk-0.18.2/src/rt.rs", function: "gtk::rt::init", line: 141 }
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Describe the bug
The app is crashing immediately when attempting to run the flatpak.
To reproduce
Steps to reproduce:
Expected behavior
The app starts up.
Environment
Additional context
Some logs:
A quick search revealed another tool with a similar error and a possible fix was to set some environment variables. The result of this attempt is shown below: