Request to set cool-retro-terminal confinement to classic.
Running the terminal in strict confinement and even in devmode only allows partial capability.
Attempting to run system applications (e.g. htop or apt) fail as the snap is unable to access those tools. The snap can only cd to it’s own /home directory and not /home/USER
Current .yaml:
name: cool-retro-term # check to see if it's available
version: '0.6' # this is freakin' awesome
summary: cool-retro-term is a terminal emulator. # 79 char long summary
description: |
First off, this is freakin' awesome. cool-retro-term is a terminal emulator which mimics the look and feel of the old cathode tube screens. It has been designed to be eye-candy, customizable, and reasonably lightweight.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: classic # use 'strict' once you have the right plugs
apps:
cool-retro-term:
command: desktop-launch $SNAP/usr/bin/cool-retro-term
desktop: usr/share/applications/cool-retro-term.desktop
parts:
my-part:
source: https://github.com/Swordfish90/cool-retro-term
source-type: git
plugin: qmake # See 'snapcraft plugins'
qt-version: qt5
after: [desktop-qt5]
build-packages:
- build-essential
- qmlscene
- qt5-qmake
- qt5-default
- qtdeclarative5-dev
stage-packages:
- qmlscene
- qml-module-qtquick-controls
- qtdeclarative5-qtquick2-plugin
- libqt5qml-graphicaleffects
- qml-module-qtquick-dialogs
- qtdeclarative5-localstorage-plugin
- qtdeclarative5-window-plugin
You will see in the following video that issuing a couple of commands does not provide the desired result:
Nice work! I’m keen for this to be upstreamed, so Filippo can own the snap and push to the store himself, rather than wait on you/us for that. I’ve sent a mail to him and you to start that conversation. Thanks for making and testing the yaml!
Ok, so we’ve had a reply from upstream who are willing to accept a PR for the snapcraft.yaml. I’d recommend creating a PR over there and continue the discussion on the PR. We will of course need classic confinement for the up-streamed snap and we can come back here to request that once the PR lands.
Still awaiting response from upstream regarding the PR and classic confinement.
Users are running into errors with the snap during installation. After several bouts of trouble-shooting/rebuilding the snap with additional stage-packages and plugs, it “works” in --devmode.
However, the snap is not capable of running sudo commands at present; leading me to believe that classic confinement would remedy that problem.
cool-retro-term author here. Sorry for jumping in so late into this discussion, but here I am for the name ownership migration from (@kz6fittycent to myself) and for the classic confinement approval @popey