Skip to content

Option to control the NoDisplay option in stabilitymatrix.desktop file in linux #1093

Open

Description

@matplinta

Proposal

I installed the app via appimage in linux, as a portable package. I see that the desktop file ~/.local/share/applications/stabilitymatrix.desktop was created for the package.

Name=StabilityMatrix
Exec=/home/mateusz/Documents/StabilityMatrix.AppImage %u
Type=Application
NoDisplay=true
Categories=Utility
X-Desktop-File-Install-Version=0.28
MimeType=x-scheme-handler/stabilitymatrix;x-scheme-handler/stabilitymatrix

Since NoDisplay is set to true (I'm assuming this is set because of the portability of the package) I am unable to find the app in application launcher (my desktop env is KDE). Simply setting the option to false fixes the issue, however upon next launch of the app this setting is overwritten. My proposal is to add an option to control this setting.

Activity

  1. silverbot01 commented on Jul 24, 2025

    @silverbot01

    I've found that if it's changd at all (even if I change it to read only) the file is deleted and replaced with the above .desktop file. Im currently trying to find a workaround.

    Edit (workaround):Thought of and figured out a workaround as I was typing that. It works. Simply rename the .desktop file to something else. The SM will still create its own .desktop file but it wont replace one thats named differently. Sadly this means that the active icon while the app is running will be separate from the launch icon but this still gets you a permanent pinned icon.

  2. added a commit that references this issue on Sep 7, 2025
  3. cfnz commented on Oct 17, 2025

    @cfnz

    Was looking to ask why the file gets deleted and recreated each time, and found this issue... didn't think about adding a new file with a different name, so thanks for that tip :-)

    My desktop file is below, may not be the best keywords and comment, as I am still figuring out what the app does, but it works for me...

    The reason I have included it below is that the last line groups the launch icon and the running icon, at least in gnome.

    [Desktop Entry]
    Name=StabilityMatrix
    Exec=/opt/StabilityMatrix-linux-x64/StabilityMatrix.AppImage %u
    Type=Application
    Icon=/opt/StabilityMatrix-linux-x64/StabilityMatrixIcon.png
    Categories=Utility
    X-Desktop-File-Install-Version=0.28
    MimeType=x-scheme-handler/stabilitymatrix;x-scheme-handler/stabilitymatrix
    Comment=Config tool for AI image generation, including Stable Diffusion and ComfyUI 
    Keywords="Stable Diffusion",ComfyUI
    StartupWMClass=StabilityMatrix.Avalonia
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions