shell icon indicating copy to clipboard operation
shell copied to clipboard

Application launch (with launcher)

Open ghost opened this issue 1 year ago • 18 comments

I can't run the "Stability Matrix" app with the launcher, but I can run it with the terminal.

Image

ghost avatar Jun 18 '25 12:06 ghost

Could you show the output of cat /usr/share/applications/zone.lykos.stabilitymatrix.desktop?

soramanew avatar Jun 18 '25 12:06 soramanew

cat /usr/share/applications/zone.lykos.stabilitymatrix.desktop
[Desktop Entry]
Type=Application
Categories=Graphics;Utility;
Name=Stability Matrix
Comment=Package and checkpoint manager for Stable Diffusion.
Icon=zone.lykos.stabilitymatrix
Exec=sh -c 'cd /opt/stabilitymatrix && export APPIMAGE=/opt/stabilitymatrix/StabilityMatrix.Avalonia && /opt/stabilitymatrix/StabilityMatrix.Avalonia'
TryExec=/opt/stabilitymatrix/StabilityMatrix.Avalonia
Terminal=false
NoDisplay=false

ghost avatar Jun 18 '25 12:06 ghost

Should be fixed as of 620ff52f75fe78cb3833fa2e0961f957a9fcae79

soramanew avatar Jun 18 '25 13:06 soramanew

Should be fixed as of 620ff52

I updated and cloned the repo, but I get the same error:

Image

Here's what it says in the .desktop file:

#!/usr/bin/env ./Browser/execdesktop
#
# This file is a self-modifying .desktop file that can be run from the shell.
# It preserves arguments and environment for the start-tor-browser script.
#
# Run './start-tor-browser.desktop --help' to display the full set of options.
#
# When invoked from the shell, this file must always be in a Tor Browser root
# directory. When run from the file manager or desktop GUI, it is relocatable.
#
# After first invocation, it will update itself with the absolute path to the
# current Tor Browser location, to support relocation of this .desktop file for GUI
# invocation. You can also add Tor Browser to your desktop's application menu
# by running './start-tor-browser.desktop --register-app'
#
# If you use --register-app, and then relocate your Tor Browser directory, Tor Browser
# will no longer launch from your desktop's app launcher/dock. However, if you
# re-run --register-app from inside that new directory, the script
# will correct the absolute paths and re-register itself.
#
# This file will also still function if the path changes when Tor Browser is used as a
# portable app, so long as it is run directly from that new directory, either
# via the shell or via the file manager.

[Desktop Entry]
Type=Application
Name=Tor Browser
GenericName=Web Browser
Comment=Tor Browser  is +1 for privacy and −1 for mass surveillance
Categories=Network;WebBrowser;Security;
Exec=sh -c '"/home/user/Downloads/tor-browser/Browser/start-tor-browser" || ([ !  -x "/home/user/Downloads/tor-browser/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser)' dummy %k
X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach
Icon=/home/user/Downloads/tor-browser/Browser/browser/chrome/icons/default/default128.png
StartupNotify=true
StartupWMClass=Tor Browser

Vasabii avatar Jun 18 '25 13:06 Vasabii

Did you restart the shell?

soramanew avatar Jun 18 '25 13:06 soramanew

Did you restart the shell?

I rebooted the system, yes

Btw, when I ran --register-app, the .desktop file saved into ~/.local/share/applications/ , does it matter?

Vasabii avatar Jun 18 '25 13:06 Vasabii

Did you restart the shell?

I rebooted the system, yes

Btw, when I ran --register-app, the .desktop file saved into ~/.local/share/applications/ , does it matter?

It shouldn't matter

soramanew avatar Jun 18 '25 13:06 soramanew

Did you restart the shell?

I rebooted the system, yes Btw, when I ran --register-app, the .desktop file saved into ~/.local/share/applications/ , does it matter?

It shouldn't matter

The install.fish script didn't update anything, so I manually deleted and replaced the Apps.qml and Notifs.qml files. The code matches the code in the repo, but it doesn't open apps anymore. The menu opens, search functions, but no response after clicking on an app or pressing enter

Vasabii avatar Jun 18 '25 14:06 Vasabii

Oh wait I think I know. Do you have a caelestia config in ~/. config/quickshell? If you do, you need to delete it cause the new config is installed to /etc/xdg/quickshell as a system config.

soramanew avatar Jun 18 '25 15:06 soramanew

Oh wait I think I know. Do you have a caelestia config in ~/. config/quickshell? If you do, you need to delete it cause the new config is installed to /etc/xdg/quickshell as a system config.

No, I don't have it in ~/. config/quickshell. I have only one config in /etc/xdg/quickshell.

ghost avatar Jun 18 '25 15:06 ghost

Oh wait I think I know. Do you have a caelestia config in ~/. config/quickshell? If you do, you need to delete it cause the new config is installed to /etc/xdg/quickshell as a system config.

Same as SudoCEOfficer here

Image

Vasabii avatar Jun 18 '25 15:06 Vasabii

Switch to quickshell git. This was solved in #99

soramanew avatar Jun 19 '25 03:06 soramanew

Switch to quickshell git. This was solved in #99

Yep! Everything's fixed, but app2unit still gives the Encountered unquoted character "" error notification, even though the app launches successfully

Vasabii avatar Jun 19 '25 04:06 Vasabii

Switch to quickshell git. This was solved in #99

Yep! Everything's fixed, but app2unit still gives the Encountered unquoted character "" error notification, even though the app launches successfully

This should be fixed with 5d210087ff4f2c4feeea3020395e5969d1f0bdeb

soramanew avatar Jun 19 '25 06:06 soramanew

I still can't run the "Stability Matrix" app. Here is error message:

Image

ghost avatar Jun 19 '25 13:06 ghost

@SudoCEOfficer this should fix it 98eb7c16798c2e481d4b8d90a97e54433466fb2a

soramanew avatar Jun 19 '25 13:06 soramanew

Yep, everything is fine now.

ghost avatar Jun 19 '25 13:06 ghost

Second that! Everything works for me too :)

Vasabii avatar Jun 19 '25 17:06 Vasabii