Community
    • Login

    NP++ on Linux?

    Scheduled Pinned Locked Moved General Discussion
    42 Posts 31 Posters 147.0k 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.
    • oren AO
      oren A @Makrand Sanap
      last edited by

      @Makrand-Sanap said:

      Anyone tried this?

      http://notepadqq.altervista.org/wp/

      I tried this one, but it is not as functional as notepad++, for sure it is not a full port (I do not even understand why they use the same name… )

      1 Reply Last reply Reply Quote 0
      • ensiformE
        ensiform @dail
        last edited by ensiform

        @dail said:

        @Kevin-Havens said:

        It appears that the “upstream” developers have no interest in developing NP++ on Linux… so I am gonna do it.

        I have a Launchpad PPA (so it’s gonna be only for Ubuntu now)… and I’m working on it as I write this.

        Install instructions soon. Maybe in a day or two.

        Have you seen this commit?

        Technically all this commit does is allow compiling with mingw/gcc on Windows or via cross compiling. You still need to rewrite the entirety of the powereditor to use Gtk+ and toggle the WINAPI and windows rendering stuff under windows only! I think starting by making it work with Gtk+ under windows first slowly disabling the windows functions etc then migrate to linux later.

        One can actually download a newer version of scintilla from the scintilla page and compile it for linux with gtk+ or possibly even Qt. I tested gtk+ which compiles fine. But that still leaves us at no ported ide (“PowerEditor” aka N++)

        1 Reply Last reply Reply Quote 0
        • amylonidA
          amylonid
          last edited by

          I would also like to see NP++ on Linux.
          I would happily contribute to this.

          1 Reply Last reply Reply Quote 0
          • Luis Piña IIIL
            Luis Piña III
            last edited by

            Has there been any more development on NP++ for Linux?

            1 Reply Last reply Reply Quote 0
            • gstaviG
              gstavi
              last edited by gstavi

              I don’t know if someone is working on it but … as much as I would like a native editor for Linux as good as NP++ I don’t really expect a port of NP++. Because:

              1. NP++ works very well on wine.
              2. Trying to port NP++ to GTK or QT will likely end up splitting the project since too many users like the Win32 version.
              3. Much of NP++ appeal is due to plugins and their developers are even less likely to port them to another GUI system.


              So I don’t expect NP++ to be ported to Linux, I just hope that someone will make a better clone than notepadqq with a framework for C/C++ plugins.

              1 Reply Last reply Reply Quote 1
              • Michael AridaM
                Michael Arida
                last edited by

                There is an open source clone of Notepad++ that is called Notepadqq. I wrote a guide on how to install it here if you are interested.

                gstaviG 1 Reply Last reply Reply Quote 0
                • gstaviG
                  gstavi @Michael Arida
                  last edited by

                  @Michael-Arida
                  Following what I wrote here.
                  I had high hopes for Notepadqq when I first encountered it.
                  But as a C developer who wrote plugins for Notepad++, I am disappointed with the technical decisions its author took.
                  It could be great if Plugin developers would have easy path to maintain plugins for both platforms from a single source base. Now Notepadqq made it impossible. Notepadqq needs to grow its own community without being able to take advantage of the existing Notepad++ community. Maybe it will succeed, Linux certainly needs a good editor. But for now Notepad++ on wine is just a better alternative.

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

                    @gstavi

                    What if one tries to migrate it using wxWidgets?
                    On windows it would/could still look like it is but
                    would give the advantage to make it run under unixOS and macOS.
                    It would be a lot of work and to be honest I guess it must be a hard cut
                    to decide starting migrating and not to update current version anymore.
                    And I do see, that maintaining multiple operating systems and relying
                    on a framework might not be a first class choice but … it could be worth,
                    Well, whoever defines what worth means in this context.

                    I’m currently playing with this framework and so far it is looking promising

                    Cheers
                    Claudia

                    Scott SumnerS 1 Reply Last reply Reply Quote 5
                    • Scott SumnerS
                      Scott Sumner @Claudia Frank
                      last edited by

                      @Claudia-Frank

                      OMG, Claudia, you are some kind of miracle worker!
                      :-D

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

                        @Scott-Sumner

                        Currently might be a bit misleading ;-D
                        It already took a couple of weeks to get it to that stage.

                        Cheers
                        Claudia

                        gstaviG 1 Reply Last reply Reply Quote 1
                        • gstaviG
                          gstavi @Claudia Frank
                          last edited by

                          @Claudia-Frank
                          Very impressive for couple of weeks as well.
                          Anything similar to NPP on Linux will be great. I hate Mac but if you get it for free go ahead.
                          I hope you will stick with C++ and Scintilla and a similar enough plugin framework.

                          I am skeptical that a full migration of Notepad++ user base is realistic but even as just an alternative it would be a big step in the right direction.

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

                            @gstavi and all

                            sorry if I gave the impression that this has been coded in c/c++.
                            It’s not - it’s python. wxWidgets does have a python port wxPython
                            and just for fun I built a python clone of npp. I just wanted to know
                            if wxWidgets could be used - or better - if it is a proper tool if Don one day
                            decides to make a linux/mac port.

                            Cheers
                            Claudia

                            Scott SumnerS 1 Reply Last reply Reply Quote 0
                            • Scott SumnerS
                              Scott Sumner @Claudia Frank
                              last edited by

                              @Claudia-Frank

                              wxWidgets is also available for C++, so Claudia, I suggest you GO FOR IT ! Post back here in a couple of days when you have Notepad++ all rewritten ! ;-)

                              Seriously, though, that screenshot looks awesome!

                              Claudia FrankC 1 Reply Last reply Reply Quote 1
                              • Claudia FrankC
                                Claudia Frank @Scott Sumner
                                last edited by

                                @Scott-Sumner

                                I hope you and me do have the same understanding what a “couple of days” mean. ;-)
                                Don’t forget the gel-time? ;-D

                                wxWidgets is also available for C++

                                Thank you, I know but it seems I didn’t express myself correctly.
                                What I am trying to say is

                                Hello C/C++ developers, do you know wxWidgets?
                                Might this be the tool to bring npp into the next era?
                                It does have many many features built-in and it doesn’t try to
                                emulate operating systems instead it provides an interface for the
                                different native APIs. Doesn’t this sound exciting? Did someone already
                                play with it? Could it be useful or is it just a waste of time?

                                Cheers
                                Claudia

                                Cees TimmermanC 1 Reply Last reply Reply Quote 1
                                • Eduardo Lúcio Amorim CostaE
                                  Eduardo Lúcio Amorim Costa
                                  last edited by Eduardo Lúcio Amorim Costa

                                  The Notepad++ is the only application that came from Windows as inheritance to my beloved Linux. It works almost perfectly on Wine 2.x and with performance! I’m hoping it’ll be ported to Linux so he can natively run it! While this is not happening… I created this script
                                  (https://github.com/eduardolucioac/nppstub) to try to integrate Notepad++ with Linux and its terminal (bash).
                                  In this way (example) we can do powerful searches on files contents such as…

                                  nppstub $(find ./ -iname "*.txt" -type f -exec grep -i -l 'some text value' -- {} \;)
                                  

                                  … and other things like run Notepad++ from terminal!

                                  Nppstub makes Notepad++ work like these examples with Vim and Sublime…

                                  vim -p $(some_comand) 
                                  

                                  or

                                  subl3 -p $(some_comand)
                                  

                                  an so on… Long life to the Notepad++! =D

                                  1 Reply Last reply Reply Quote 0
                                  • TurbonoobT
                                    Turbonoob
                                    last edited by

                                    @milipili Any updates on this? I’ve always wondered if NP++ would come to linux and just now found this 2 year old thread.

                                    There are a lot of great text editors on linux but NP++ is still my favorite. I use it at work every day and regularly work with 200+MB text files… no other text editor handles them so well. Would love to use it on my home linux machine

                                    1 Reply Last reply Reply Quote 0
                                    • Cees TimmermanC
                                      Cees Timmerman @Claudia Frank
                                      last edited by

                                      @Claudia-Frank

                                      I’ve toyed with wxWidgets years ago, but decided HTML was fast enough for my needs. Having a native-looking app without starting an entire browser is nice, though.

                                      Python has great C++ wrappers (ctypes, swig, etc.) so npp’s killer feature – plugins – can be combined with the safety and rapid development of the cross-platform Python runtime. The heavy lifting should be done by libraries, anyway.

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

                                        @Cees-Timmerman

                                        Thanks for your insight but could you elaborate on this?

                                        I’ve toyed with wxWidgets years ago, but decided HTML was fast enough for my needs. Having a native-looking app without starting an entire browser is nice, though.

                                        Sorry, but I don’t get this?

                                        Python has great C++ wrappers…

                                        Yes, especially ctypes is what I use with python but swig is also a nice tool which, by the way and
                                        as far as I know, is used by wxPython to wrap the c++ apis of wxWidgets. Very cool thing.

                                        Cheers
                                        Claudia

                                        Cees TimmermanC 1 Reply Last reply Reply Quote 0
                                        • Cees TimmermanC
                                          Cees Timmerman @Claudia Frank
                                          last edited by

                                          @Claudia-Frank

                                          You’re welcome. The performance difference between native GUI and HTML elements is probably negligible, especially on new hardware and with all the fancy new APIs available to web content. I wanted to make my own Palace graphical chat app, but figured i may as well be lazy and use simple browser scripts for my GUI (no hassle with low level graphic handling, cross-platform differences, or lacking features/documentation). Turns out others already made a free modern Palace clone, so i didn’t even have to worry about figuring out a HTML version.

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

                                            @Cees-Timmerman

                                            Ahh, thank you, I guess I got it now.
                                            You referred to it in general but I was indicating to use it
                                            as new framework used to develop npp, not for general purpose.
                                            Should have made this clearer.

                                            Cheers
                                            Claudia

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