PDA

View Full Version : Notepad++ alternative NotepadQQ



sea
16th November 2014, 05:51 AM
Hello

Many former Windows users, specialy coders or scripters, will know Notepad++.
Its been around for quite some time.

As of now, for Fedora 20, i have the build 0.41.1 of NotepadQQ (https://github.com/notepadqq/notepadqq) which is the closest attempt i've found (of what i remember).

Either way:
* Pluma/Gedit became (for my taste) too lag'ish
* Geany its function view is nice, but cant change themes
* Emac is too much (package size/ amount of packages
* CodeBlocks is (feels like) a mix between Geany & Emacs
* Brackets is nice, but lacks of a theme as well
* Scite feels, rusty... and no themes, and the configuration is annoying...


Pro's:

Code-collapse
Multiple-Edit at once
Starts fast
Package is only ~600 kb (installed: ~2.4mb)
I just want an editor, not some 40-250mb word processing or developement IDE.


Con's:

Cobalt looks diffrent


So i'm giving this a shot, and if i continue to like it, it'll be the third package.
Please understand that this is my first package which requires a build between downloading and packaging, it builds and is packaged, so i'll share the way to it ;)

Install it:

su
wget -O /etc/yum.repos.d/sea-devel.repo http://sea.fedorapeople.org/sea-devel.repo
yum install notepadqq

Note that i'm in no way related to the authors/programmers of the application, i only did the package.

Hope you like it
Enjoy, the weekend as well :)

sea
19th November 2014, 11:20 AM
They just added recognition for bash/sh shebang, so it automaticly sets the syntax highlight accordingly.
Finaly found the mapage, by accident :)

This screenshot is just to verify the code collapsing, using the theme 'ambiance'.

nonamedotc
19th November 2014, 01:55 PM
Are you planning to submit this for package review? If not, I can write the spec file and potentially get it included in Fedora. It is released under GPL (v3).

sea
19th November 2014, 01:57 PM
Not yet, but if i plan to continue using it (which seems like), yes.
Still fixing the spec though.

nonamedotc
19th November 2014, 01:59 PM
Awesome! :thumb:

lsatenstein
19th November 2014, 02:59 PM
Hello

Many former Windows users, specialy coders or scripters, will know Notepad++.
Its been around for quite some time.

As of now, for Fedora 20, i have the build 0.40.1 of NotepadQQ (https://github.com/notepadqq/notepadqq) which is the closest attempt i've found (of what i remember).
However, its 'Cobalt' theme is not very much the one i've known from GEdit/Pluma, so i'm currently experimenting with changing that one so it matches (as good as possible) the one from GEdit/Pluma.

But me cant get used to those HEX colors, also i'm irritated by updating colors at the wrong (not expected) places (at least within the app).

/usr/share/gtksourceview-3.0/styles/cobalt.xml
/usr/share/notepadqq/appdata/editor/libs/codemirror/theme/cobalt.css


Either way:
* Pluma/Gedit became (for my taste) too lag'ish
* Geany its function view is nice, but cant change themes
* Emac is too much (package size/ amount of packages
* CodeBlocks is (feels like) a mix between Geany & Emacs
* Brackets is nice, but lacks of a theme as well
* Scite feels, rusty... and no themes, and the configuration is annoying...

Notepadqq has 'code-collapse' function,
but not for bash files, it is supposed to work with others like (idk): .c .h.. etc

Ups:

Package is only ~600 kb
Starts fast


Downs:

Cobalt looks diffrent


So i'm giving this a shot, and if i continue to like it, it'll be the third package.
Please understand that this is my first package which requires a build between downloading and packaging, it builds and is packaged, so i'll share the way to it ;)

Install it:

su
wget -O /etc/yum.repos.d/sea-devel.repo http://sea.fedorapeople.org/sea-devel.repo
yum install notepadqq

Note that i'm in no way related to the authors/programmers of the application, i only did the package.

Hope you like it
Enjoy, the weekend as well :)

Hi Simon

I would be interested in your notepadqq. I use notpad++ with windows, and could use notepadqq to replace gedit.

For programming however, I use code-editor. I prefer it to any other editor. Code-editor is a QT product that is/was part of the QT application.

Let us know when notpadqq has the notepad++ colours and is available.

sea
19th November 2014, 03:45 PM
You can already test it using my repo.
Both 32 and 64bit versions are available.

:) ~/prjs/notepadqq $ yum info notepadqq
Loaded plugins: langpacks
Installed Packages
Name : notepadqq
Arch : x86_64
Version : 0.40.1
Release : 21.fc20
Size : 2.4 M
Repo : installed
From repo : /notepadqq-0.40.1-21.fc20.x86_64 (local testing)
Summary : A Linux clone of Notepad++
URL : https://github.com/notepadqq/notepadqq
License : GPLv3
Description : An advanced basic text editor.
: Features:
: * Syntax Highlighting
: * Color Themes
: * Code-Collapse
: * Macro-recorder

Available Packages
Name : notepadqq
Arch : i686
Version : 0.40.1
Release : 20.fc20
Size : 675 k
Repo : FedoraPeople-sea
Summary : A Linux clone of Notepad++
URL : https://github.com/notepadqq/notepadqq
License : GPLv3
Description : An advanced basic text editor.
: Features:
: * Syntax Highlighting
: * Color Themes
: * Code-Collapse
: * Macro-recorder
✔ ~/prjs/notepadqq $
I done as good as i can, but i cant find a package 'qt5' or 'qt-5', package 'qt' is not usable, since its 4.x.
I hope that depency is pulled in by one of the other 2 dependencies.
If you have issues with dependencies, please let me know ASAP!

The color schemes are provided by CodeMirror:

+ ~/prjs/notepadqq $ ls /usr/share/notepadqq/appdata/editor/libs/codemirror/theme/
3024-day.css ambiance.css blackboard.css cobalt_org.css erlang-dark.css mdn-like.css neat.css paraiso-dark.css rubyblue.css tomorrow-night-eighties.css xq-dark.css
3024-night.css base16-dark.css cobalt-fedora.css eclipse.css lesser-dark.css midnight.css neo.css paraiso-light.css solarized.css twilight.css xq-light.css
ambiance-mobile.css base16-light.css cobalt.css elegant.css mbo.css monokai.css night.css pastel-on-dark.css the-matrix.css vibrant-ink.css
:) ~/prjs/notepadqq $

Note that 'cobalt-fedora' is an attempt of mine to 'fix' the default cobalt, which is WAY diffrent than the one i know from gedit.
That single additional theme is buggy! - Thus the repo its name: sea-devel ;)

Hope this helps

sea
30th December 2014, 12:40 AM
0.41.1-2 (git source: 2014-12-29 : 23:15 GMT)

Added: recognize more shells: ksh, csh, tcsh, zsh and fish


Available for:

F19
F20
F21

each 32 & 64 bit in the repo now! (see signature) :)
NOTE: Bold is the 'original' version, italic is 'my build'.

Regarding official repos:
This will be my working example to work on dev-scripts & fedora account scripts, so it'll take some time.
Mock is working (see here (https://sea.fedorapeople.org/review/dev-scripts/screenshots/preview_mock-handler.jpg) - maintainance for the lazy) - no project configuration yet though, but generaly i could be heading for koji already :cool:
Parsing all the webpages will be fun :D

Pick your package: here (https://sea.fedorapeople.org/review/notepadqq/)
Or install the repo (see #1 (http://forums.fedoraforum.org/showpost.php?p=1714713&postcount=1)), for later updates.

Happy holidays

rclark
30th December 2014, 02:13 AM
I'll have to try it. I use notepad++ for all my windows programs (other than Delphi apps). Have been using geany for Linux which is working out well.

sea
30th December 2014, 04:11 AM
Happy to hear rclark, hope you like it :)

Those devs are cool and quite fast applying updates, until now it was quite difficult to keep up.

flyingfsck
30th December 2014, 07:00 AM
* Pluma/Gedit became (for my taste) too lag'ish
* Geany its function view is nice, but cant change themes
* Emac is too much (package size/ amount of packages
* CodeBlocks is (feels like) a mix between Geany & Emacs
* Brackets is nice, but lacks of a theme as well
* Scite feels, rusty... and no themes, and the configuration is annoying...


Looks like the only things you haven't tried are vi and ed...

sea
30th December 2014, 07:36 AM
Looks like the only things you haven't tried are vi and ed...

Since notepadqq is a GUI editor, i didnt mention them ;)
I prefer vi over ed, and vim over vi :p
Though, havent touched 'ed' in 4 years...
Wasnt that a cli tool, rather than an actual editor?

flyingfsck
30th December 2014, 09:07 AM
Maybe try Eclipse. Bazillions of programmers are using it?

sea
30th December 2014, 09:25 AM
I guess you misunderstand, this is not thought as a question thread - as in, me looking for something...

Its more of a solution thread, hence its location in the guides section.

flyingfsck
30th December 2014, 01:20 PM
OK, cool. NotepaddQQ is a pretty neat editor. Sure can do everything I may want and more. I usually prefer a very simple/clean looking editor that doesn't get in my way and this is one.

Bill Chatfield
30th December 2014, 07:26 PM
Thanks for contributing this. I tried it out and it looks great! There are a lot of good text editors available for Linux, but they all work differently from Notepad++. It will definitely help people switching from Windows to Linux to have this work-alike of a great editor on Linux. Notepad++ is one of those killer apps, because of it's combination of simplicity and power, that we need on Linux.

Although I use gvim and Eclipse for code editing, I also like to have a more straight-forward editor like Notepad++ available for things like viewing and searching log files, and ocassionally editing code.

sea
13th January 2015, 07:45 PM
EDIT: /* Thank you Bill for your feedback, that was my thought either :) */

0.41.1-10

Close tabs with middle click


Available for:

Fedora 20/21: 32 & 64 bit
EPEL 7 (CentOS): 64 bit only (there is no 32bit mock configuration!)

(I assume EPEL 5&6 failed because of qt5, but i dont know their repos)

rccharles
13th January 2015, 08:55 PM
What is the easiest way of installing notepadqq on Fedora 21 LXDE?

This wasn't it. I download the package from: https://sea.fedorapeople.org/review/notepadqq/


rpm -ivh notepadqq-0.41.1-9.fc21.i386.rpm
error: Failed dependencies:
libQt5Core.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5Gui.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5Network.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5PrintSupport.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5Svg.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5WebKit.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5WebKitWidgets.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
libQt5Widgets.so.5 is needed by notepadqq-0.41.1-9.fc21.i386
qt5-qtsvg is needed by notepadqq-0.41.1-9.fc21.i386
qt5-qtwebkit is needed by notepadqq-0.41.1-9.fc21.i386
me $

dd_wizard
13th January 2015, 09:16 PM
What is the easiest way of installing notepadqq on Fedora 21 LXDE?

This wasn't it. I download the package from: https://sea.fedorapeople.org/review/notepadqq/


$ sudo dnf install ./notepadqq-0.41.1-9.fc21.x86_64.rpm
Dependencies resolved.
================================================== ==============================================
Package Arch Version Repository Size
================================================== ==============================================
Installing:
geoclue x86_64 0.12.99-7.fc21 fedora 105 k
libwebp x86_64 0.4.2-1.fc21 fedora 225 k
libxkbcommon-x11 x86_64 0.5.0-1.fc21 fedora 23 k
mesa-libGLES x86_64 10.4.1-1.20141230.fc21 updates 38 k
notepadqq x86_64 0.41.1-9.fc21 @commandline 678 k
qt5-qtbase x86_64 5.4.0-2.fc21 updates 3.0 M
qt5-qtbase-gui x86_64 5.4.0-2.fc21 updates 5.0 M
qt5-qtdeclarative x86_64 5.4.0-1.fc21 updates 2.9 M
qt5-qtlocation x86_64 5.4.0-2.fc21 updates 632 k
qt5-qtsensors x86_64 5.4.0-2.fc21 updates 190 k
qt5-qtsvg x86_64 5.4.0-1.fc21 updates 156 k
qt5-qtwebkit x86_64 5.4.0-1.fc21 updates 11 M
qt5-qtxmlpatterns x86_64 5.4.0-1.fc21 updates 1.1 M
xcb-util-image x86_64 0.4.0-2.fc21 updates 19 k
xcb-util-renderutil x86_64 0.3.9-2.fc21 fedora 15 k
xcb-util-wm x86_64 0.4.1-4.fc21 fedora 28 k

Transaction Summary
================================================== ==============================================
Install 16 Packages

Total size: 25 M
Total download size: 24 M
Installed size: 84 M
Is this ok [y/N]: y

Yum should work the same as dnf.

dd_wizard

sea
13th January 2015, 09:27 PM
See the frist post (#1 (http://forums.fedoraforum.org/showpost.php?p=1714713&postcount=1)).
There is a BOLD text, labeld 'Install it', look at the code block below that marked text.

With that method you wont need to manualy update the package, as it will update itself with "sudo yum update" with all the other packages., and when i finaly push it to official repos, you wont even notice a change ;)