User avatar
Skilowi
Posts: 25
Joined: Thu May 14, 2020 8:17 pm
Location: Poland
Contact: Website

Notepad++

Mon Jun 01, 2020 10:05 am

Hello, is possible to download Notepad++ on RPi 4B?

User avatar
DougieLawson
Posts: 40821
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Notepad++

Mon Jun 01, 2020 10:10 am

Why do you think you need it? What's wrong with Leafpad or Mousepad?
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

fruitoftheloom
Posts: 25772
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Notepad++

Mon Jun 01, 2020 10:11 am

Skilowi wrote:
Mon Jun 01, 2020 10:05 am
Hello, is possible to download Notepad++ on RPi 4B?

There is no release for any Linux Operating System:

https://en.wikipedia.org/wiki/Notepad%2B%2B
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

User avatar
B.Goode
Posts: 11190
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Notepad++

Mon Jun 01, 2020 10:13 am

Skilowi wrote:
Mon Jun 01, 2020 10:05 am
Hello, is possible to download Notepad++ on RPi 4B?


There is nothing to prevent you downloading it -

https://notepad-plus-plus.org/downloads/v7.8.6/



But based on your previous posts, you will probably not have the ability to build it from its source code...

pcmanbob
Posts: 10702
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Notepad++

Mon Jun 01, 2020 10:15 am

As it clearly states in the first page of the manual for notepad ++
Notepad++ is a text editor and source code editor for use under Microsoft Windows

and on its home page is states
Notepad++ is written in C++ and uses pure Win32 API and STL
so no its not written to run on linux or the pi.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

GlowInTheDark
Posts: 1370
Joined: Sat Nov 09, 2019 12:14 pm

Re: Notepad++

Mon Jun 01, 2020 11:01 am

Of course you can download it using the RPi. Then, of course, you will want to copy/move it from the Pi to your Windows desktop PC, in order to install and run it.

This scenario could very well occur in a situation where only the Pi can see the Internet. Windows, of course, should never be allowed to connect directly to the Internet.
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

Loves Linux; loves to dance.

User avatar
Botspot
Posts: 1675
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas! :)
Contact: Website

Re: Notepad++

Mon Jun 01, 2020 12:56 pm

Novaspirit Tech managed to emulate Notepad ++ using qemu, wine, and chroot.
https://www.novaspirit.com/2019/04/15/run-x86-arm/
I followed the tutorial at the time, and it worked - albeit very slow on my pi3. That tutorial is likely outdated now.
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

achrn
Posts: 438
Joined: Wed Feb 13, 2013 1:22 pm

Re: Notepad++

Mon Jun 01, 2020 1:56 pm

Notepadqq is not quite as good as notepad++ (in my opinion - I use notepadd++ on Windows and notepadqq on linux) but is at least written in linux-firlendly source. I'm not aware of a Pi package for it, but in principle you could compile it for Pi.

bjtheone
Posts: 1101
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Notepad++

Mon Jun 01, 2020 2:20 pm

This might be interesting for notepad++ users:

https://itsfoss.com/notepad-plus-plus-linux/

Still will not solve the ARM vs x86 issue though....

Moonmarch
Posts: 611
Joined: Thu Mar 07, 2019 1:34 am

Re: Notepad++

Mon Jun 01, 2020 5:51 pm

The program Geany is similar to Notepad++, with Geany you have tabbed file viewing. I personally do not use Geany, because the text is tough to read out of the box. I have to zoom in or out with the text files all the time, Geany is intended to be more of a precise text editor. With Geany, all of the lines in the text document are labelled in numerical order from start to end. Geany has numerous side windows inside the program, which reduces the size of the text editing window. Mousepad is the basic text editor that I use all the time. Using Mousepad did take time to understand the program. With Mousepad the text in the text document is large, bold, and the same color. This is how I prefer to see text in a text file.

If you were searching for text editor programs for Linux, here is a link to a online article that lists the best text editors for Linux:

Top 10 Text Editors for Linux Desktop
https://www.linuxtechi.com/top-10-text- ... x-desktop/

You can install the programs using the terminal or package manager program.

User avatar
B.Goode
Posts: 11190
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Notepad++

Mon Jun 01, 2020 6:00 pm

Moonmarch wrote:
Mon Jun 01, 2020 5:51 pm


If you were searching for text editor programs for Linux...



Based on previous posts by @skilowi the usual pattern of behaviour is to search for programs that run on Microsoft Windows...

wildestpixel
Posts: 72
Joined: Sun May 26, 2019 7:45 pm
Contact: Website

Re: Notepad++

Mon Jun 01, 2020 7:39 pm

As an option - not necessarily your cup of tea ........

If you are remoting in to your pi via ssh you can use rmate / rsub and edit using Sublime on you Windows, MacOS or Linux machine :

Good guide on that here :

https://acarril.github.io/posts/ssh-sripts-st3

I use that when I need to do heavy lifting of cut and paste on a script on the pi as my VIM capabilities are almost non existent and nano is a bit constricted in light of this.

I suppose Notepad++ is quite good looking and lots of pressy buttons, but Geany is fantastic in Raspbian / Pi OS too as suggested above. Sometimes, if you're going to learn *nixy things, you need to learn a less familiar bit of kit, but often you will find they are more user focused and actually better solutions.

Hope you land on something you like using.
much solution-ness - https://www.wildestpixel.co.uk

CMSerio
Posts: 1
Joined: Wed Jul 29, 2020 8:14 pm

Re: Notepad++

Wed Jul 29, 2020 8:25 pm

I found this article to be helpful. It explains how to link your pi to a windows computer, allowing you to use Notepad++ to edit your pi files. I have not tried yet (don't get my pi until tomorrow), but the process seems painless.

https://www.dexterindustries.com/BrickP ... nd-tricks/

bassamanator
Posts: 91
Joined: Wed Jun 10, 2020 7:04 am

Re: Notepad++

Thu Jul 30, 2020 5:45 am

Using the Raspberry Pi is an opportunity to get out of your comfort zone. This is a good thing.

Geany is what you're looking for.
| Raspberry Pi 4-8GB | 2.0GHz | over_voltage@5 |
| Raspberry Pi OS 32bit |
| https://github.com/bassamanator/raspberrypi-scripts |

hippy
Posts: 9180
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Notepad++

Thu Jul 30, 2020 8:22 am

bassamanator wrote:
Thu Jul 30, 2020 5:45 am
Using the Raspberry Pi is an opportunity to get out of your comfort zone. This is a good thing.
Not necessarily. It can be frustrating and disruptive when trying to be productive, having to battle tools to get the job one wants to do done. When that becomes annoying enough it can lead to the Raspberry Pi being abandoned.

It's not that unreasonable for people to want tools which they are familiar with to be available and working on all platforms, working in the same way. Text editors are a hugely important tool for most programmers so having to use different tools can be highly disruptive, particularly so with command line editors where how they work and command key sequences can be very different.

There is a reason I do most of my Pi development on a PC, why most of my apps have an '--update' option which downloads their latest version from that PC.

NimbUx
Posts: 279
Joined: Fri Jan 03, 2020 10:33 am

Re: Notepad++

Thu Jul 30, 2020 9:00 am

Notepad (non-plusplus, though) comes with the "wine" download and runs native on the Pi's Arm CPUs (no Qemu or other X86 emulation needed). It is one of the very few such hybrid PEs with Arm instructions...

Not that I use or recommend it personally...

Heater
Posts: 17420
Joined: Tue Jul 17, 2012 3:02 pm

Re: Notepad++

Thu Jul 30, 2020 9:02 am

hippy wrote:
Thu Jul 30, 2020 8:22 am
It's not that unreasonable for people to want tools which they are familiar with to be available and working on all platforms, working in the same way.
Quite so.

Which is why one should select tools that are available and working on as a many platforms as possible from the get go.

It is not reasonable to expect people who create programs for a specific OS and it's unique API and features should also put the work in to maintain a version for whatever platform one wants as instead. It's bonus if they do or if the ability to run them on 'alien' platforms is provided by the work of others, for example Wine.
Memory in C++ is a leaky abstraction .

User avatar
fade2gray
Posts: 26
Joined: Fri Apr 24, 2015 2:21 pm
Location: B&NES

Re: Notepad++

Thu Jul 30, 2020 5:41 pm

CMSerio wrote:
Wed Jul 29, 2020 8:25 pm
I found this article to be helpful. It explains how to link your pi to a windows computer, allowing you to use Notepad++ to edit your pi files. I have not tried yet (don't get my pi until tomorrow), but the process seems painless.

https://www.dexterindustries.com/BrickP ... nd-tricks/
Just tried with that plugin but there is no way to create a session as su.

Best method I have found is to use WinSCP and add Npp as your preferred editor in preferences then create two separate profiles, one for your pi user and one for su. You can then edit the su profile's advanced settings to include sudo su -c /usr/lib/sftp-server.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: Notepad++

Thu Jul 30, 2020 7:14 pm

I've got wine on my Xubuntu box and Notepad++. Seems to work fine. I think it would work on a Pi too.

W. H. Heydt
Posts: 14407
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Notepad++

Thu Jul 30, 2020 7:37 pm

knute wrote:
Thu Jul 30, 2020 7:14 pm
I've got wine on my Xubuntu box and Notepad++. Seems to work fine. I think it would work on a Pi too.
Well... Aside from the fact that Notepad++ is written to run on an x86 hardware architecture and Pis use ARM architecture...

dustnbone
Posts: 465
Joined: Tue Nov 05, 2019 2:49 am

Re: Notepad++

Thu Jul 30, 2020 7:47 pm

I strongly recommend exploring the text editor options available to the open source community. Notepad++ is a pretty good text editor for Windows, but in comparison to what we have for Linux it's actually kind of crappy.

Text editors are such an integral part of working with Linux, they receive a lot of attention from the developer community. The idea of Windows having a superior text editor is simply intolerable to most of us.

User avatar
jahboater
Posts: 6699
Joined: Wed Feb 04, 2015 6:38 pm
Location: Wonderful West Dorset

Re: Notepad++

Thu Jul 30, 2020 10:15 pm

hippy wrote:
Thu Jul 30, 2020 8:22 am
It's not that unreasonable for people to want tools which they are familiar with to be available and working on all platforms, working in the same way. Text editors are a hugely important tool for most programmers so having to use different tools can be highly disruptive, particularly so with command line editors where how they work and command key sequences can be very different.
For these trivially simple GUI editors: Notepad, Leafpad or Mousepad surely the differences are small enough that the average competent developer can learn to use a different one in a few minutes?

I agree that changing to something more powerful like vi or emacs would take some investment in learning time, though they are the same on all the platforms which is a good thing.
Pi4 8GB (Raspberry Pi OS 64-bit), Pi4 4GB, Pi4 2GB, Pi1 Rev 1 256MB, Pi Zero

W. H. Heydt
Posts: 14407
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Notepad++

Thu Jul 30, 2020 10:40 pm

dustnbone wrote:
Thu Jul 30, 2020 7:47 pm
The idea of Windows having a superior text editor is simply intolerable to most of us.
I don't find the *idea* "intolerable". There is nothing that would prevent a company with the resources MS has from writing a truly superior product. However, I find the idea that that they have actually done so absurd.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: Notepad++

Thu Jul 30, 2020 10:47 pm

W. H. Heydt wrote:
Thu Jul 30, 2020 7:37 pm
knute wrote:
Thu Jul 30, 2020 7:14 pm
I've got wine on my Xubuntu box and Notepad++. Seems to work fine. I think it would work on a Pi too.
Well... Aside from the fact that Notepad++ is written to run on an x86 hardware architecture and Pis use ARM architecture...
Yes you need an emulator too.

https://www.youtube.com/watch?v=cb-Ruos-O2M

https://www.instructables.com/id/How-to ... erry-Pi-1/

https://www.electromaker.io/tutorial/bl ... spberry-pi

Personally, I use vim in all ecosystems.

Heater
Posts: 17420
Joined: Tue Jul 17, 2012 3:02 pm

Re: Notepad++

Thu Jul 30, 2020 10:55 pm

dustnbone wrote:
Thu Jul 30, 2020 7:47 pm
The idea of Windows having a superior text editor is simply intolerable to most of us.
I don't know about intolerable. As far as I can tell there is no Windows only text editor that is superior. Even MS' best effort to date, VS Code, runs on Linux, BSD and Mac as well as Windows. Sublime runs on Linux, Mac and Windows.

Of course old favorites like Emacs and Vim run on Windows now a days.
Memory in C++ is a leaky abstraction .

Return to “General discussion”