Passing parameters to a snap package

Colin Law clanlaw at gmail.com
Fri May 24 14:26:06 UTC 2019


I want to pass a command line parameter to an application when I run
snap start <application>
Google suggests that it is necessary to edit the Exec line in the
desktop file in /var/lib/snapd/desktop/applications to do this.  Is
that correct?  It seems a bit of an issue if there is no way of doing
this via the command line.

Colin




More information about the ubuntu-users mailing list