Somewhat late(!!), but hopefully still relevant.

Snaps seem to run like this:

snap run <program>

So for the test "Hello World" program:
sudo snap install hello-world
snap run hello-word
This should check that your snap setup is working properly.

NB I had some issues on my Debian unstable setup:
1. Snap system only seems to work if your init system is setup to systemd (my 
default seems to be systemv still)
2. Apparmor prevented the snap system working, causing obscure 'bind-mount' 
errors. I removed the apparmor profile for the snap program to get it to work.
Hopefully it should be OK by default on Ubuntu.

For Viking the current snap uses a slightly long name:

snap run viking-gps.viking

Some things to note about running the current version inside a snap:
1. No access to run gpsbabel program - so you won't be able to import KML, TCX, 
etc file types. GPX is OK.
2. Trying to open a web-browser e.g. via Tools->Webtools-><service> is blocked.
3. Exporting a layer to open with an external program e.g. josm is blocked.
4. The default $HOME is mapped to ~/snap/viking-gps/x1 so if need to manually 
modify settings (typically a custom maps.xml) it's in 
~/snap/viking-gps/x1/.viking/
5. If you want to share map cache with the main system Viking instance ensure 
any new maps cache point to the same place e.g. /home/<username>/.viking-maps.
Loading existing .vik files should be OK.
6. Probably have no access to serial ports if using quite old GPS devices.

NB You should be able to create a desktop launcher with the command 'snap run 
viking-gps.viking' rather than having to use the command-line directly.

HTH.

--
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.

________________________________________
From: Chris <cpoll...@embarqmail.com>
Sent: 01 November 2016 14:03:38
To: viking-devel@lists.sourceforge.net
Subject: [Viking-devel] Viking-gps snap

Just installed the snap on my Ubuntu 16.04LTS box. Question is, how to
start it? Trying 'viking-gps' from the cli gives me 'command not
found'. Trying just 'viking' gives me - The program 'viking' is
currently not installed. You can install it by typing:
sudo apt install viking

Chris

--
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
08:59:14 up 6 days, 21:04, 1 user, load average: 0.33, 0.40, 0.53
Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 
UTC 2016

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to