I’m trying to snap the Pixelorama sprite editor so following this great how-to from @popey I made the directory called “pixelorama”, and in that I downloaded and put the .pck and x86_64 linux files under a “files” folder (plus a “Brushes” and a “Palettes” directories found in the downloaded zip) and put this yaml under a “snap” folder:
name: pixelorama base: core18 version: '0.6' summary: Pixelorama sprite editor description: | Your free & open-source 2D sprite editor, made by Orama Interactive in the Godot Engine, using GDScript! grade: devel confinement: strict apps: pixelorama: command: desktop-launch "$SNAP/Pixelorama.x86_64" environment: LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio" plugs: - opengl - network - network-bind - pulseaudio - x11 - desktop - joystick parts: editor: plugin: dump source: files/ after: [desktop-glib-only] stage-packages: - libgl1-mesa-dri - libglu1-mesa - libgl1-mesa-glx - libpulse0 - libxcursor1 - libxinerama1 - libxrandr2 - libxi6 - libasound2 desktop-glib-only: build-packages: - libglib2.0-dev plugin: make source: https://github.com/ubuntu/snapcraft-desktop-helpers.git source-subdir: glib-only stage-packages: - libglib2.0-bin
I executed the
snapcraft command and the
sudo snap install pixelorama_0.6_amd64.snap --dangerous command both with success.
But when I try to launch the snap I obtain this error:
aurelio@aurelio-Lenovo-B51-80:~/snap/pixelorama$ pixelorama /snap/pixelorama/x2/bin/desktop-launch: line 528: /snap/pixelorama/x2/Pixelorama.x86_64: Permission denied /snap/pixelorama/x2/bin/desktop-launch: line 528: exec: /snap/pixelorama/x2/Pixelorama.x86_64: cannot execute: Permission denied
I don’t know how to solve this
what have I done wrong?