{"id":7051,"date":"2024-04-26T17:57:59","date_gmt":"2024-04-26T15:57:59","guid":{"rendered":"https:\/\/swissmakers.ch\/?p=7051"},"modified":"2024-05-13T18:02:26","modified_gmt":"2024-05-13T16:02:26","slug":"notepad-linux","status":"publish","type":"post","link":"https:\/\/swissmakers.ch\/en\/notepad-linux\/","title":{"rendered":"\"Notepad++\" for Linux"},"content":{"rendered":"<p class=\"gb-headline gb-headline-47a7b9b4 gb-headline-text\">Do you use Notepad++ under Windows? Do you appreciate Notepad++ as a small, fast editor with a graphical user interface that offers many goodies and supports many languages, file formats and extensions? Then you don't have to do without it under Linux either.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-07a4b2c9 gb-headline-text\">Notepad++ for Windows<\/h2>\n\n\n\n<p class=\"gb-headline gb-headline-8598766b gb-headline-text\">Notepad++ is written in C++ and the editor runs under Windows. The Notepad++ website is: <a href=\"https:\/\/notepad-plus-plus.org\/\" target=\"_blank\" rel=\"noopener\">https:\/\/notepad-plus-plus.org\/<\/a>. Notepad++ is licensed under the GPL V3 licence and can also be used freely in a commercial environment. The repository with the source code is in GitHub: <a href=\"https:\/\/github.com\/notepad-plus-plus\/notepad-plus-plus\/tree\/master\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/notepad-plus-plus\/notepad-plus-plus\/tree\/master<\/a>.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-4d352e29 gb-headline-text\">Notepad++ for Linux<\/h2>\n\n\n\n<p class=\"gb-headline gb-headline-23ccb51b gb-headline-text\">Notepad++ is only available for Windows, but can also be installed under Linux with Snap. Snap or Snappy is a software distribution system and package manager that comes from Ubuntu and is now available for most Linux distributions and also for Rocky Linux. There is a Snap package for Notepad++ that brings Notepad++ to Linux. Under the bonnet, Wine is used so that Notepad++ runs as a Windows application on Linux.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-05eb0777 gb-headline-text\">Installation of Snap as a prerequisite<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo dnf install snapd<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl enable --now snapd.socket<\/code><\/pre>\n\n\n\n<h3 class=\"gb-headline gb-headline-ef848fa9 gb-headline-text\">Installation of Notepad++ with Snap<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo snap install notepad-plus-plus<\/code><\/pre>\n\n\n\n<p class=\"gb-headline gb-headline-183de617 gb-headline-text\">Notepad++ can then, if everything has worked, be restarted with the command <code>notepad-plus-plus<\/code> can be started.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-7a981546 gb-headline-text\">Remarks<\/h3>\n\n\n\n<p class=\"gb-headline gb-headline-99c7c4b4 gb-headline-text\">The installation of Notepad++ with Snap under Linux brings the original to Linux. But with Wine as a substructure, Notepad++ eats up performance and uses a lot of resources. Unfortunately, this means that many of the advantages that characterise Notepad++ under Windows are lost.<\/p>\n\n\n\n<p class=\"gb-headline gb-headline-ba7f0f21 gb-headline-text\">For some Linux distributions and currently for Rocky Linux 9.x, the installation with Snap does not work straight away, as Wine errors occur. In this case you can try to install Wine first and then Notepad++ within Wine. This is described on the following website: <a href=\"https:\/\/www.makeuseof.com\/how-to-install-notepad-on-linux\" target=\"_blank\" rel=\"noopener\">https:\/\/www.makeuseof.com\/how-to-install-notepad-on-linux<\/a>.<\/p>\n\n\n\n<p class=\"gb-headline gb-headline-f0fddc4b gb-headline-text\">Further instructions on the net, see for example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/itsfoss.com\/notepad-next\/\" target=\"_blank\" rel=\"noopener\">https:\/\/itsfoss.com\/notepad-next\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/de.linux-console.net\/?p=10907\" target=\"_blank\" rel=\"noopener\">https:\/\/de.linux-console.net\/?p=10907<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"gb-headline gb-headline-4ea3c7f3 gb-headline-text\">Notepadqq<\/h2>\n\n\n\n<p class=\"gb-headline gb-headline-a977adb7 gb-headline-text\">Notepadqq is a project that is independent of Notepad++, but inspired by Notepad++. Like Notepad++, Notepadqq is subject to the GPL V3 licence and can be used freely. The website of Notepadqq is: <a href=\"https:\/\/notepadqq.com\/wp\/\" target=\"_blank\" rel=\"noopener\">https:\/\/notepadqq.com\/wp\/<\/a><\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-1a6a148b gb-headline-text\">Installation<\/h3>\n\n\n\n<p class=\"gb-headline gb-headline-156849ae gb-headline-text\">There are packages for Notepadqq for various Linux variants, which can be installed with the corresponding package manager. Otherwise Snap can be used, but this must first be installed as described above:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo snap install notepadqq<\/code><\/pre>\n\n\n\n<p class=\"gb-headline gb-headline-17c31b3b gb-headline-text\">Under Gnome, it may still be necessary to switch off Qt session management and Wayland so that notepadqq can be started without errors. The easiest way to do this is to set an alias:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">alias npqq='unset SESSION_MANAGER; DISABLE_WAYLAND=1 notepadqq &amp;'<\/code><\/pre>\n\n\n\n<p class=\"gb-headline gb-headline-9ee7905c gb-headline-text\">Notepadqq can now be started as a background process with npqq in a terminal window.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-a26f124a gb-headline-text\">Remarks<\/h3>\n\n\n\n<p class=\"gb-headline gb-headline-3ea7f19a gb-headline-text\">Notepadqq runs well and stably and is easy to install. Unfortunately, the project is no longer being actively developed unless a new project manager is found.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-fb92bfc5 gb-headline-text\">NotepadNext<\/h2>\n\n\n\n<p class=\"gb-headline gb-headline-0c949beb gb-headline-text\">NotepadNext is a fairly young project with its first prerelease in 2019, so it may not always be stable. Caution is therefore advised when using it in critical areas.<\/p>\n\n\n\n<p class=\"gb-headline gb-headline-8dd42164 gb-headline-text\">NotepadNext is explicitly a replica of Notepad++ that runs on multiple platforms and the licence is also GPL V3. The current version 0.7 still lacks some features of Notepad++, but NotepadNext can already be used well. The documentation is somewhat sparse and still needs to be expanded.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-5e4e0277 gb-headline-text\">Installation<\/h3>\n\n\n\n<p class=\"gb-headline gb-headline-b277b548 gb-headline-text\">The 'installation' is simple.<\/p>\n\n\n\n<p class=\"gb-headline gb-headline-1dcc30de gb-headline-text\">Download the AppImage file (for the current version 0.7) from: <a href=\"https:\/\/github.com\/dail8859\/NotepadNext\/releases\/download\/v0.7\/NotepadNext-v0.7-x86_64.AppImage\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/dail8859\/NotepadNext\/releases\/download\/v0.7\/NotepadNext-v0.7-x86_64.AppImage<\/a><\/p>\n\n\n\n<p class=\"gb-headline gb-headline-a7266430 gb-headline-text\">The file must then be given execution rights (<code>chmod a+x NotepadNext-v0.7-x86_64.AppImage<\/code>) and NotepadNext can be started with a double-click or from the command line.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-23787fef gb-headline-text\">Remarks<\/h3>\n\n\n\n<p class=\"gb-headline gb-headline-191538bb gb-headline-text\">NotepadNext is being actively developed. The editor runs on Linux, Windows and MacOS. Further information can be found on the following websites, for example.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/dail8859\/NotepadNext\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/dail8859\/NotepadNext<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/itsfoss.com\/notepad-next\/\" target=\"_blank\" rel=\"noopener\">https:\/\/itsfoss.com\/notepad-next\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linuxiac.com\/notepadnext-v07-code-editor\/\" target=\"_blank\" rel=\"noopener\">https:\/\/linuxiac.com\/notepadnext-v07-code-editor\/<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"gb-headline gb-headline-7f37d265 gb-headline-text\">My favourites among the features of Notepad++\/qq\/New<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Macros: Recording and playback of interactive inputs.<\/li>\n\n\n\n<li>Select\/Copy\/Cut\/Paste for rectangular areas: NotepadNext with  + mouse or arrow keys<\/li>\n\n\n\n<li>Find\/Replace: in all open files, with regular expressions, with special characters<\/li>\n\n\n\n<li>Hexviewer<\/li>\n\n\n\n<li>Converting line endings<\/li>\n\n\n\n<li>Need a folder as a workspace<\/li>\n<\/ul>\n\n\n\n<h2 class=\"gb-headline gb-headline-92a76046 gb-headline-text\">Conclusion<\/h2>\n\n\n\n<p class=\"gb-headline gb-headline-6d59bcf8 gb-headline-text\">In addition to the variants mentioned above, there are many other editors with a graphical user interface that run under Linux (Geany, VSCode, Kate, Gnome Text Editor, ...). Which one you choose usually depends on your experience and personal taste.<\/p>\n\n\n\n<p class=\"gb-headline gb-headline-7c550dcf gb-headline-text\">The Linux alternatives for Notepad++ presented above are not quite as good as the original. However, they are very useful and can make everyday work easier. My favourite is <strong>NotepadNext<\/strong>which is being actively developed and if someone is still missing something in NotepadNew ... simply programme it yourself and make a PullRequest.<\/p>","protected":false},"excerpt":{"rendered":"<p>Do you use Notepad++ under Windows? You appreciate Notepad++ as a small, fast editor with a graphical user interface? <\/p>\n<p class=\"read-more-container\"><a title=\"&quot;Notepad++&quot; for Linux\" class=\"read-more button\" href=\"https:\/\/swissmakers.ch\/en\/notepad-linux\/#more-7051\" aria-label=\"Read more about &quot;Notepad++&quot; for Linux\">Read more<\/a><\/p>","protected":false},"author":9,"featured_media":7067,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","footnotes":""},"categories":[55],"tags":[],"class_list":["post-7051","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"taxonomy_info":{"category":[{"value":55,"label":"Linux"}]},"featured_image_src_large":["https:\/\/swissmakers.ch\/wp-content\/uploads\/2024\/04\/notepad-blogpost.webp",1024,1024,false],"author_info":{"display_name":"Matthias Dillier","author_link":"https:\/\/swissmakers.ch\/en\/author\/matthias\/"},"comment_info":1,"category_info":[{"term_id":55,"name":"Linux","slug":"linux","term_group":0,"term_taxonomy_id":55,"taxonomy":"category","description":"","parent":0,"count":10,"filter":"raw","cat_ID":55,"category_count":10,"category_description":"","cat_name":"Linux","category_nicename":"linux","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts\/7051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/comments?post=7051"}],"version-history":[{"count":7,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts\/7051\/revisions"}],"predecessor-version":[{"id":7274,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts\/7051\/revisions\/7274"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/media\/7067"}],"wp:attachment":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/media?parent=7051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/categories?post=7051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/tags?post=7051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}