Notepad++ on Linux?



  • @Claudia-Frank said:

    @Daniele-Ricciardi

    Hi Daniele,

    thank you for the offer - my background is something similar, being more a tool developer (mainly python) than a GUI application programmer. I do have gathered some knowledge while using wxPython and to be honest, I assume I will create the complete UI
    in python first (because I already did 85%) and if I know what needs to be done I try to transfer it to c++ (let’s see how this works :-)

    And if I should build something which works, I would, of course, ask if you might give it a try.

    Cheers
    Claudia

    Count on me, whenever you need just contact me.

    thanks for your efforts

    Daniele



  • 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



  • @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.

    Cheers
    Claudia



  • 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.

    Cheers
    Claudia





  • @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.
    BR



  • 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
    

    \o/



  • 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
      cd $(CURRENT_DIRECTORY)
      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++?


Log in to reply