-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Description
DISPLAY set to
zinit v3.11.0-10-g1cb1df63 (linux-gnu_x86_64)
~
> which opencode
~/.local/share/mise/installs/ubi-sst-opencode/1.0.146/opencode
~
> cat /usr/share/applications/OpenCode.desktop
[Desktop Entry]
Categories=
Comment=A Tauri App
Exec="OpenCode Desktop"
StartupWMClass="OpenCode Desktop"
Icon=OpenCode Desktop
Name=OpenCode
Terminal=false
Type=Application
~
>
~
> OpenCode\ Desktop
thread 'main' (16890) 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 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
~
x RUST_BACKTRACE=1 OpenCode\ Desktop
thread 'main' (16976) 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:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: glib::main_context::<impl glib::auto::main_context::MainContext>::with_thread_default
4: tauri_runtime_wry::Wry<T>::init_with_builder
5: opencode_lib::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Screencast_From_2025-12-13_09-56-40.mp4
OpenCode version
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop