Community
    • Login

    Notepad++ on Linux?

    Scheduled Pinned Locked Moved General Discussion
    21 Posts 9 Posters 28.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Daniele RicciardiD
      Daniele Ricciardi @Claudia Frank
      last edited by

      @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

      1 Reply Last reply Reply Quote 0
      • David BaileyD
        David Bailey
        last edited by

        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

        Claudia FrankC 1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @David Bailey
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • gwarahG
            gwarah
            last edited by

            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?

            Claudia FrankC 1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank @gwarah
              last edited by

              @gwarah

              sorry, not that I’m aware.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • pnedevP
                pnedev
                last edited by

                @gwarah ,

                https://notepadqq.com

                BR

                1 Reply Last reply Reply Quote 0
                • gwarahG
                  gwarah
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • pnedevP
                    pnedev
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • gwarahG
                      gwarah
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • pnedevP
                        pnedev
                        last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • gwarahG
                          gwarah
                          last edited by

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

                          sudo snap install notepad-plus-plus
                          

                          \o/

                          1 Reply Last reply Reply Quote 1
                          • H BH
                            H B
                            last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • Guus EllenkampG
                              Guus Ellenkamp
                              last edited by

                              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.

                              dailD 1 Reply Last reply Reply Quote 0
                              • dailD
                                dail @Guus Ellenkamp
                                last edited by

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

                                1 Reply Last reply Reply Quote 3
                                • First post
                                  Last post
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors