Snap installation, snap application installation

I tried to install Dune 2 - The Golden Path … I used this manual: https://snapcraft.io/install/dune-2-goldpath/opensuse

Installation was succesfull, but I have no this game in start menu in Games… I tried run:
lenovo@localhost:~> dune-2-goldpath
dune-2-goldpath: příkaz nenalezen (= command not found)

Also I got error:
lenovo@localhost:~> sudo snap install dune-2-goldpath
2023-12-04T23:03:29+01:00 INFO Waiting for automatic snapd restart…
2023-12-04T23:03:30+01:00 INFO Waiting for automatic snapd restart…
dune-2-goldpath 1.0 from Marisa Giancarla (marisag1967) installed
WARNING: There is 1 new warning. See ‘snap warnings’.

lenovo@localhost:~> snap warnings
last-occurrence: today at 23:02 CET
warning: |
the snapd.apparmor service is disabled; snap applications will likely not start.
Run “systemctl enable --now snapd.apparmor” to correct this.

lenovo@localhost:~D> systemctl enable --now snapd.apparmor
lenovo@localhost:~>

lenovo@localhost:~> snap warnings
last-occurrence: today at 23:02 CET
warning: |
the snapd.apparmor service is disabled; snap applications will likely not start.
Run “systemctl enable --now snapd.apparmor” to correct this.

so the error still remains…
what to do to launch this game and also have it in start menu in games category?

Thank you, best regards.

The warning message has the same timestamp - it’s not disabled, you just saw the same error message twice.

Snaps typically aren’t in the path, so you have to run them either from the GUI or find the executable and run them from the path they got installed in. If you’re using GNOME, just hit the super key and start typing the name of the game in, and it should find it.

I have no idea where it is installed :confused: i tried to find, but… :confused:

https://snapcraft.io/docs/data-locations

I found dune-2-goldpath in /var/snap/ but I can not find some launchable file in it… :confused:

in rest of locations mentioned in this manual I can not find nothing to launch…

You should probably contact the packager, then, to find out what you need to do to use their snap image.

@palunador I found the correct command to start Dune 2! This snap is not properly built, thats why you need to use following command:

/snap/bin/dune-2-goldpath.wine /snap/dune-2-goldpath/current/D2TGP.exe

@aggie I also don’t use snaps normally. But instead of adding unrelated flatpak stuff, i spent 10 minutes to dive into the Dune 2 snap directory and succeded in the end :wink:
Thats helps the TO!

It depends on the used desktop environment. As example for KDE Plasma:
Right click on application starter → Edit applications
This will open the KDE menu editor. Simply create an application starter with the above commands and as shown in the screenshot:

Great, this was working perfectly, thank you :slight_smile:

This was also working for me, thank you.

Sorry, I didnt found flatpak version anywhere - Discover nor Google: dune 2 golden path flatpak - Google Suche

There is no flatpak version. aggie only tried to help but did miss the point…