Skip to content

Blank screen on opencode desktop on Linux(Ubuntu) #5683

Closed

Description

@zemzale

Description

Tried to use opencode but it just blanked screen. The issue seemed to be because of bad config folder, since when CLI updated it started throwing

Directory "commands" in /home/azemzale/.opencode is not valid. Rename the directory to "command" or remove it. This is a common typo.

I have not used opencode in a while so that might also be part of the issue. When I remove said folder it all starts to work again.

I didn't find any similar issues for Linux specifically, or that they have a reason found for them.

OpenCode version

1.0.164

Steps to reproduce

  1. mkdir $OPENCODE_CFG_DIR/commands
  2. Run opencode desktop
  3. See blank screen

Screenshot and/or share link

Image Image

Operating System

Ubuntu 24.04

Terminal

Ghostty

Activity

  1. github-actions commented on Dec 17, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues appear to have the same symptom (blank/empty screen on launch across different platforms). While your issue specifically identifies a config directory problem as the root cause, it may be worth checking if those other issues also involve config-related problems or if there's a common underlying issue affecting multiple platforms.

  2. adamdotdevin commented on Dec 19, 2025

    @adamdotdevin
    Member

    @zemzale In the latest, you should see an error screen for this case, can you confirm?

  3. zemzale commented on Dec 19, 2025

    @zemzale
    Author

    Yeah, shows the error message now.

    Image

    it's a bit cut off, but you can still easily understand it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions