ubuntusnapcraft

notepad-plus-plus snap does not start on Ubuntu


I installed notepad-plus-plus on Ubuntu machine. It was working fine. With no evident reason it stopped to work. Icon disappeared from application list. When I launch shell script /snap/notepad-plus-plus/current/bin/notepad-plus-plus I got error message:

You need to connect this snap to the wine-platform-i386 snap.

snap connect :wine-platform-plug wine-platform-i386:wine-base-stable

I removed snapd (sudo apt autoremove --purge snapd) and install it again. Same behavior. I installed notepad-plus-plus snap on another Ubuntu system and it works fine.

How to 'connect' notepad-plus-plus snap to the wine-platform-i386 snap?


Solution

  • I was also facing same problem and I used these commands. Hopefully its working fine now.
    1.sudo snap install notepad-plus-plus
    2.sudo snap connect notepad-plus-plus:process-control
    3.snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable