Community
    • Login

    Notepad++ on Linux?

    Scheduled Pinned Locked Moved General Discussion
    21 Posts 9 Posters 30.6k Views 4 Watching
    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.
    • David BaileyD Offline
      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 Offline
        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 Offline
          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 Offline
            Claudia Frank @gwarah
            last edited by

            @gwarah

            sorry, not that I’m aware.

            Cheers
            Claudia

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

              @gwarah ,

              https://notepadqq.com

              BR

              1 Reply Last reply Reply Quote 0
              • gwarahG Offline
                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 Offline
                  pnedev
                  last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • gwarahG Offline
                    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 Offline
                      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 Offline
                        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 Offline
                          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 Offline
                            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 Offline
                              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

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors