This snap uses the wine-i386 with notepad-plus-plus portable
Notepad-plus-plus is free source code editor and Notepad replacement that supports several languages. Its based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.
Why are the plugs needed and can they be auto-connected (file requests in #store) if they are absolutely necessary (would make a more user-friendly install)?
This is amazing, Iâve loved the idea of having Wine apps in the snap store, such a user-friendly way of distributing Wine apps. I know itâs duplicating work by PlayOnLinux and Lutris (so some users donât like the idea of distributing Wine apps via the snap store) but this would just be so awesome if we could do itâŠcan you imagine a working Wine config of Photoshop being available in GNOME Software for example?!? How about League of Legends? Microsoft Office? I can imagine this would help a lot more people switch to GNU/Linux!
snap does not have network access so it can not use internet and it does not ship windows version of internet browsers however Launch on IE opens the file on IE.
As for Plugs only process-control is needed to run the wine snap on strict confinement and other plugs are optional.
Hmm, we could be really clever and run a patch on the Notepad++ source (on building the snap) to launch Firefox/Chromium from native rather than WineâŠnot sure how to do that though, or if it would actually workâŠ
Only minutes into testing but I am thrilled to see this. I put a plugin into
:~/snap/notepad-plus-plus/current/notepad-plus-plus/plugins
and it seems to work fine for now. Iâm wondering how it will be handled when there is an update. Will I need to copy the plugin manually?
snap also links all the âTTFâ fonts from root partition to âWINEPREFIXâ when it is run for the first time so it should have the extra fonts, you can change font from style configurator on notepad-plus-plus with enable global font.
You can add more fonts here â/home/USERNAME/snap/notepad-plus-plus/common/.wine/drive_c/windows/Fonts/â
My problem solved by copying Windows fonts to ~/snap/notepad-plus-plus/common/.wine/drive_c/windows/Fonts/ .
B.t.w.:
i have no idea why the default design not working for me:
âsnap also links all the âTTFâ fonts from root partition to âWINEPREFIXâ when it is run for the first time so it should have the extra fontsâ
There is a pretty serious bug: Changes to keyboard shortcuts and macros are not saved.
This is because â~/snap/notepad-plus-plus/62/notepad-plus-plus/shortcuts.xmlâ is just a link pointing to the read-only file â/snap/notepad-plus-plus/62/usr/share/notepad-plus-plus/shortcuts.xmlâ.
This was going to prevent me from using this implementation of N++, but I found a workaround:
1.) Delete the â~/snap/notepad-plus-plus/62/notepad-plus-plus/shortcuts.xmlâ link file.
2.) Copy the â/snap/notepad-plus-plus/62/usr/share/notepad-plus-plus/shortcuts.xmlâ file to â~/snap/notepad-plus-plus/62/notepad-plus-plusâ.
The problem does not occur for config.xml, since that file is already in â~/snap/notepad-plus-plus/62/notepad-plus-plusâ (unlike the link file that exists there for shortcuts.xml).
You should also make the same fix for at least some of the other XML files, such as âcontextMenu.xmlâ
It should be fixed on snap revision 65 I have just released it to stable channel and also make sure you have cleared the contents of ~/snap/notepad-plus-plus before testing new revision of snap.
Recently, notepad-plus-plus suddently doesnât work. Anyone can help me out? Thanks a lot!
When i tried to luanch it from bash, it reports:
You need to connect this snap to the wine-platform-i386 snap.
snap connect notepad-plus-plus:wine-platform-plug wine-platform-i386:wine-base-stable
But, when i install wine-platform-i386, it outputs:
2018-09-04T12:06:00+08:00 INFO snap "wine-platform-i386" has bad plugs or slots: wine-base-devel, wine-base-stable, wine-base-staging (read or write path must be set)
wine-platform-i386 1.0 from 'mmtrt' installed
Which eventually failed the below command:
$ sudo snap connect notepad-plus-plus:wine-platform-plug wine-platform-i386:wine-base-stable
error: cannot perform the following tasks:
- Connect notepad-plus-plus:wine-platform-plug to wine-platform-i386:wine-base-stable (snap "wine-platform-i386" has no slot named "wine-base-stable")
$ sudo snap remove notepad-plus-plus
notepad-plus-plus removed
$ sudo snap remove wine-platform-i386
wine-platform-i386 removed
$ sudo snap install wine-platform-i386
wine-platform-i386 1.0 from 'mmtrt' installed
$ sudo snap install notepad-plus-plus
2018-09-04T14:47:47+08:00 INFO snap "notepad-plus-plus" has bad plugs or slots: desktop, desktop-legacy, wayland (unknown interface)
notepad-plus-plus 7.5.8 from 'mmtrt' installed
$ notepad-plus-plus
You need to connect this snap to the wine-platform-i386 snap.
snap connect notepad-plus-plus:wine-platform-plug wine-platform-i386:wine-base-stable
$ sudo snap connect notepad-plus-plus:wine-platform-plug wine-platform-i386:wine-base-stable
error: cannot perform the following tasks:
- Connect notepad-plus-plus:wine-platform-plug to wine-platform-i386:wine-base-stable (snap "wine-platform-i386" has no slot named "wine-base-stable")