olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.78k stars 236 forks source link

Snap package requires network-manager connection #969

Open TheJackiMonster opened 2 years ago

TheJackiMonster commented 2 years ago

I could fix the snapcraft.yml to build newer snap packages again which seem to work fine on Ubuntu 20.04 LTS and Manjaro KDE from my testing. On Ubuntu however it required to connect the network-manager plug manually via snap connect manuskript:network-manager.

The application GNU Jami (more specifically its Qt client application) had a similar issue: https://forum.snapcraft.io/t/request-for-auto-connection-of-jami-network-manager/22833/17

Since it works fine without this work-around on Manjaro I assume there are differences in the versions of host libraries/applications which are used by snap, snapd or desktop-launch. But this is only speculation for now.

So it may be very confusing why an application like Manuskript may require the permission to access and change the settings of the network manager even though it does not even use an internet connection except for clicking on web-links in your text files as far as I know. That's the reason I'm writing this explanation here.

TheJackiMonster commented 2 years ago

I've now files this issue as bug on Ubuntus snapd launchpad. So for everyone interested, progress can be followed there.

TechnoDexx commented 2 years ago

Run command in terminal: snap connect manuskript:network-manager :network-manager This solves the problem at least on Ubuntu 22.04

JeromyK commented 1 year ago

Issue fixed by this command also in Xubuntu 22.04.02 LTS

poffaf commented 1 year ago

It worked for my Kubuntu 22.04 For some reason opening my old work required 2 tries, but it works now (mysteries...)