Call for testing: notepad-plus-plus


#1

Introduction

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.

Install Instructions

sudo snap install notepad-plus-plus

Mandatory Plug

sudo snap connect notepad-plus-plus:process-control

Optional Plugs

sudo snap connect notepad-plus-plus:removable-media
sudo snap connect notepad-plus-plus:hardware-observe
sudo snap connect notepad-plus-plus:cups-control

snap repo

snap wiki

Screenshot

Feedback is welcome.


Building Eve Online in a snap
Winepak Snappy equivalent and docs?
#2

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)?


#3

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? :heart_eyes::heart_eyes: I can imagine this would help a lot more people switch to GNU/Linux!


#4

Making a JavaScript file and using Run > Launch in Firefox doesn’t seem to work.

Notepad++ 7.5.5 (31) in edge
$ snap info notepad-plus-plus
tracking:    edge
installed:   7.5.5 (31) 48MB -
$ snap version
snap    2.31.2
snapd   2.31.2
series  16
ubuntu  17.10
kernel  4.13.0-37-generic
$ snap info core
tracking:    candidate
installed:   16-2.31.2 (4206) 85MB core # same version as in stable

#5

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.


#6

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…


#7

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?


#8

First of all, it works fine in Ubuntu 16.04.

But, it seems that no Chinese fonts packed in this snap, so it displays garbled message for Chinese text.

Is there anyone have a workaround?


#9

sorry for late answer, user plugins should be copied over when the snap is updated and if this has issues let me know.


#10

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/’


#11

Thanks a lot for your great help!

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”


#12

I can confirm Chinese fonts in the system are not available to the application by default, as the following screenshot depicts:

Screenshot_20180613_235042

UPDATE: I filed to Chinese fonts not working · Issue #6 · mmtrt/notepad-plus-plus