Notepad++ on Linux?

  • Wine works so well now that I think it could form the basis for a complete solution. The editor could be started from a bash script - thus avoiding the need to type the wine command.

    This would leave the problem that the wine file-open box is rather ugly, and doesn’t relate directly to the native Linux file system. I have wondered if the wine developers could be persuaded to add a few native functions such as a file-open/save box that would help to make programs running under wine look native to Linux.


  • @David-Bailey

    on my two ubuntu based systems wine even created the shortcuts (launchers) on the desktop when installing npp which is nice.
    The one thing I really miss is the execution functionality, meaning I want to run
    gcc or python on linux directly like using Run or nppexec but without building a
    server/client like framework, where a python script plugin script takes the code,
    create a temporary file and forwards to a running linux python server instance
    which than executes the needed calls and reports back …, I haven’t found a suitable solution yet.

    And it looks like wine can’t satisfy this wish, that’s why I’m looking for the native build.
    But if you know a way how to achieve this, meaning writing code in npp
    and building/compiling/executing on linux from within npp - I would appreciate any hints.


  • And another related question, some windows application (ex. foobar2000) are available as a snap app. Is there any project to do the same with npp?

  • @gwarah

    sorry, not that I’m aware.


  • @Claudia-Frank , I think it would be a good suggestion to npp developers pay some attention. I’ve tried npp in wine environment with success. I believe snap use some wine environment to allow runs some windows programs, so maybe would be easy to runs npp in such environments.

    @pnedev, sure. I’m also think is the best option. But would be nice the column mode of npp in nqq

  • @gwarah ,
    I personally prefer N++ under Wine.

  • It’s exactly what I believe snap implements with windows app, but with the advantage with no need to install wine via apt-get.

    If you have a Linux with snap installed and wine not installed, try to run this:

    # sudo snap install foobar2000

    and then run foobar2000:

    # foobar2000

    Snap install previously wine in a local user (and safer) environment.

  • I didn’t know that, thanks.
    Will try it some time when I upgrade my Linux.

  • Good news!! npp is now availble on ubuntu snap store:

    sudo snap install notepad-plus-plus


  • I installed Notepad++ via Wine, and later found this post.
    Tried installing it via snap, and it says ‘already installed’?

    I also wondered,
    If I wanted to use Notepad++ from Snap or Wine in Ubuntu (Lubuntu),
    And wanted to do some C++ coding,
    In Windows, there’s a procedure to install Plugins > NppExec , and create a script like below:

    • npp_save
      C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe “$(FILE_NAME)”
      cmd /c “$(CURRENT_DIRECTORY)\a.exe”

    What is the right procedure for Linux using G++?

  • I did not see anything about why NPP is not native available on Linux. I am okay using it with Wine as I have been doing for a long time, but it would be nice to have a native version.

  • @Guus-Ellenkamp

    Notepad++ is developed using the Win32 api and is solely dependent on it. A native Linux version would require a nearly complete rewrite of the application…and you’d have to be crazy to want to do that.

Log in to reply