Giter Site home page Giter Site logo

robert7 / nixnote2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baumgarr/nixnote2

294.0 20.0 29.0 69.2 MB

Nixnote - Evernote desktop client for Linux

License: GNU General Public License v3.0

QMake 0.31% C++ 97.42% C 0.02% HTML 0.01% Shell 0.21% Java 1.16% JavaScript 0.10% CMake 0.77%
evernote linux client notes note-taking

nixnote2's Introduction

NixNote2

Introduction

Nixnote is Evernote desktop client for Linux (can be also build on macOS and Windows).

Travis CI Build Status

Project Status

Unfortunately, I as a "maintainer" don't have time for the project anymore.

Anyone who is interested, can fork & continue…

So far I know Nixnote works quite fine for many people... in case there would be some breaks in Evernote API, I'm willing to investigate and fix if I can. Otherwise, I do some "must have" maintenance.

Packages

Debian, Ubuntu and derivatives official repositories

In case you distribution is based on Debian 10 (Buster) or Ubuntu 19.04 (Disco) or later distribution versions, you can install Nixnote2 from official repositories using:

sudo apt update
sudo apt install nixnote2 -y

But there maybe newer version in the PPA (see bellow). Note: on older distributions the "nixnote2" may also be available, but you may get the older 2.0 version.

Ubuntu

NixNote PPA - reflects the latest stable release. More information can be found on NixNote PPA wiki page. Installation commands:

sudo add-apt-repository ppa:nixnote/nixnote2-stable -y
sudo apt update
sudo apt install nixnote2 -y

PPA packages are available for Ubuntu 16.04 (Xenial) and newer.

Additionally there is a "development branch PPA" available. The usage is same as for "stable PPA", just replace the name "nixnote2-stable" with "nixnote2-develop". Just please take care, that you don't enable both stable and development PPA. At most times, the "development release" should be OK for daily use.

AppImage

This is suitable to any ~recent linux distribution. Installation is trivial - download AppImage file, mark as executable & run. More information can be found on NixNote AppImage wiki page.

Two builds are available:

Windows

Windows binaries can be found at a fork https://github.com/boo-yee/nixnote2 under Releases.

Other

I can't provide support for packaging for other distributions that Ubuntu PPA and the AppImage but here are links to further community builds:

Arch Linux

AUR package nixnote2-git builds the latest stable release.

Gentoo Linux

NixNote is available via a custom portage overlay. It can be installed by running the following commands:

layman -o https://raw.githubusercontent.com/bbugyi200/portage-overlay/master/repository.xml -f -a bbugyi200
emerge nixnote:2

Another option: AppImage ebuild in Guru, with only single dependency: fuse.

Fedora

https://copr.fedorainfracloud.org/coprs/nunodias/nixnote2/

OpenSUSE

https://software.opensuse.org/package/nixnote2

Building from source

This app is mainly targeted at Linux, but it should compile quite easily on Windows and also macOS config is already present (see more detailed info bellow). As lot of refactoring has been made and I can't currently try anything else then linux, it is quite probable that minor adjustments are needed for the all non linux builds.

Application is developed using Clion IDE using open source licence from JetBrains.

Linux - docker build

This should work out of the box, no fiddling with any dependencies is needed. The created binary image should work on all ~recent distributions (at least in theory). Basic familiarity with docker is helpful.

More info in: DOCKER README

Linux - manual build

  • Install development dependencies - look in content of this docker file or .travis.yml or debian/control to see example, what is needed for Ubuntu. If you use another distribution/version, you may need adjust packages.
  • Qt: you can either get Qt packages for your distribution or as alternative you can download Qt 5 directly from qt.io/download.
  • Get latest source from github...
    • I recommend using master branch.
  • Build
  • Optional: create AppImage package using linuxdeployqt
./development/build-with-qmake.sh

build-with-qmake.sh is just kind of convenience script. You can also build without it like: qmake CONFIG+=debug PREFIX=appdir/usr, then make && make install.

This suppose, you installed libtidy in system default location (recommended version is 5.6.0).

In case you installed tidy from nixnote (e.g. using package nixnote2-tidy from Nixnote PPA), then the could command could be ./development/build-with-qmake.sh debug noclean /usr/lib/nixnote2/tidy.

If all got OK, you should have "qmake-build-debug/nixnote2" binary available now (and also a deployment copy in appdir). I suggest running from "appdir" (e.g. ./appdir/usr/bin/nixnote2).

# Optional second step: if all got well you may try to create AppImage package
./development/create-AppImage.sh

Preparation steps

  • You can either install the nixnote2-tidy package from NixNote PPA or build yourself from source.
  • Alternative 1: Install nixnote from PPA:
    • ..this includes nixnote2-tidy package
    • in this case libtidy is installed in /usr/lib/nixnote2/tidy
  • Alternative 2: Build tidy library from source:
    • clone source code switch to master branch
    • follow build instructions
      • short version:
      • cd build/cmake
      • cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
      • make
      • make DESTDIR=/some/directory install
      • library is now copied to /some/directory/lib (/some/directory/lib should be then passed as 3rd argument to build-with-qmake.sh)

If it doesn't work: use docker build - or compare with docker recipe, what is different - e.g. missing dependency package.

macOS

Build from source. Basically same as for linux:

./development/build-with-qmake.sh

build-with-qmake.sh is just kind of convenience script. You can also build without it like: qmake CONFIG+=debug PREFIX=appdir/usr, then make && make install.

Upon successful completion you will have the NixNote2.app bundle in the build directory (e.g. qmake-build-debug/NixNote2.app).

Dependencies can come from MacPorts, Fink or HomeBrew (I use MacPorts). It should be possible to use official Qt5 packages too but I haven't tested that. Tested with following macPorts packages: qt5, qt5-qtwebkit, poppler-qt5, hunspell, boost, tidy.

The resulting application still depends MacPorts (or Fink or HomeBrew). To turn this into a standalone app bundle that can be deployed anywhere:

> cd build
> macdeployqt NixNote2.app [-no-strip]

As far as I can tell this will find and copy all required dependencies into the app bundle and modify them so they can be loaded from inside that bundle (wherever it ends up).

Windows

Build with MinGW32 for a 32-bit Nixnote2 (if you want a 64-bit one, you need to use MinGW-w64 or MSVC):

Unlike Unix-like systems, Windows is not shipped with a bash environment, so you need to install one first.

Download development dependencies:

Download the third-party libraries:

If you want to download binary third-party library files compatible with Qt 5.5.0, you can get them from winlib. Inside it, Hunspell and tidy are built with MinGW 32 4.9.2(shipped with Qt 5.5.0), and poppler is downloaded from sourceforge as binary. If you want to build by yourself, you can download them from the following links:

poppler

tidy

hunspell

Download Qt:

Qt(with MinGW32)

Qt 5.5.0 is enough. But if you want to build with a newer version, you need to download QtWebKit separately and copy the files under QtWebKit include folder to /your_path_to_qt/[version]/mingw[version]/include.

QtWebKit

(Advice: You may want to add the path to qmake.exe and ming32-make.exe to the PATH environment, so that you do not have to type the full path when building the application and libraries later. You can do this by hand or running qtenv2.bat.)

Build third-party libraries:

If you need to build tidy-html5 by yourself, its README file may help. The poppler link points to the binary files, you can use it directly.

About hunspell, as its README instructs us to use MSYS2 and Cygwin, which may be in x64, so to get compatible libraries, you have to set gcc and g++ as the one you used previously for tidy under MSYS2 or Cygwin(by alias or export command) and build like this:

MSYS2/Cygwin # autoreconf -vfi
MSYS2/Cygwin # ./configure --build=i686-pc-mingw32 --host=i686-pc-mingw32 --target=i686-pc-mingw32
MSYS2/Cygwin # mingw32-make.exe

Then you will get the hunspell dll file.

Then, create folders as winlib/includes in this repository folder and copy the files under poppler, tidy and hunspell include folders to winlib/includes. The structure is:

nixnote2
|
`--winlib
   |
   includes
   |
   `--poppler
   |  |
   |  `--qt5
   |  |  |
   |  |  `...
   |  `--cpp
   |     |
   |     `...
   `--tidy
   |  |
   |  `--tidyplatform.h
   |  |
   |  `--tidyenum.h
   |  |
   |  ...
   |
   `--hunspell
      |
      `--affentry.hxx
      |
      ...

And also copy the dll files libtidy.dll, libpoppler.dll, libpoppler-qt5.dll, libhunspell-1.7-0.dll to winlib.

Build the application:

(This part can be going under any bash environment, not definitely MSYS or Cygwin.)

git clone nixnote2
cd nixnote2
qmake.exe -set HUNSPELL_VERSION 1.7-0(you can change the version as needed)
qmake.exe CONFIG+=debug[/release] nixnote2.pro
qmake.exe -unset HUNSPELL_VERSION
mingw32-make.exe
strip.exe qmake-build-debug/[release]/nixnote2.exe

Finally, you will get qmake-build-debug[/release]/nixnote2.exe.

Deployment:

First, copy the nixnote2.exe to the deployment_folder, then execute the following commands:

windeployqt.exe --compiler-runtime --libdir [deployment_folder] [deployment_folder]
bash development/deploy-on-windows.sh [deployment_folder]

If you need spell check, you have to download the dictionary files and copy the .aff and .dic file to the deployment folder. You may want to download them here.

Donations

If you would like to support the project, you can send me some little amount via paypal: https://paypal.me/nixnote2

nixnote2's People

Contributors

airathalitov avatar artmg avatar baumgarr avatar boo-yee avatar d1vanov avatar daniel-maurer avatar evaldsurtans avatar fast4x avatar gjermundgaraba avatar gzm55 avatar hosiet avatar iridiumcao avatar jeffkowalski avatar jelf avatar junf avatar maffblaster avatar mcfarj avatar michaelcadilhac avatar mrc01 avatar rjvb avatar robert7 avatar rodelrod avatar rodrigoccurvo avatar saimn avatar stemabu avatar u1234x1234 avatar ul avatar ulel avatar vitaly-zdanevich avatar zhtengw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nixnote2's Issues

Adding NixNote v2.0.2 UserDocumentation.pdf content to the wiki

@robert7

as promised, I've pulled the content from @baumgarr 's NixNote version 2.0.2 User's Guide and Technical Manual, formatted it in Markdown, and dumped it in a wiki page on your repo.

I figured it would be helpful to re-purpose @baumgarr 's excellent documentation but I'm not sure what the etiquette is here as far as attribution, acknowledgment, etc..

stuff I did:

  • format the content in Markdown
  • limit the Table Of Contents to H1 only
  • fixed a few typos

stuff I didn't do:

  • change @baumgarr 's narrative (historical narrative, first person narrative)
  • check for any content that may no longer apply given your work thus far on v2.1

I think there are some changes to the layout in certain sections that might make for easier reading but that's probably better addressed once you figure out how you plan to incorporate the content.

I didn't bother forking the Wiki, just added a New Page through the web GUI. the page is here but it doesn't seem to be showing up in pane on the right that lists Wiki content, perhaps because I prefixed the title with an underscore or perhaps because you need to approve the addition.

fwiw.

Email improvements

Moved here from #18

I just sent another pull request. I made the "email note" function
relative to each note window, instead of app global. It still works
globally, but now also works from every note window. Everything users
might have done before still works, yet there's now new functionality
from each note window.
This is actually a cleaner design anyway since the email function
applies to a particular note, not to the application itself.

Add code block style button

The online version of Evernote has a Code Blocks style (the {}-button). Using Evernote for a lots of code and command references (which I guess other Linux users do as well), I really miss this in the NixNote application, and it would be much appreciated if it could be added.

Edit: Just found out it was already there.

build script not working on fedora

Fedora has qmake-qt5 and qmake-qt4 as possible options.
also qmake -query will tell you everything you need to know about the provided build environment for that version of QT's qmake

Can i suggest the first parameter of the script is the build type, and the second a path to the qmake binary for the qt you want to build against?

Get link to note

In the main app window note list, you can right-click any note and "Copy Note Link". Then you can paste that link into any other note. This is a useful feature to make notes refer to each other with hyperlinks.

However, this is the only way to get a note link, which makes some workflow difficult. For example, suppose you're working on 2 notes A and B each in their own separate windows (not the main app window), and you want to add to note B a link to note A. Note A is open right there in front of you, but you can't get its link. You must go to the Nixnote main app window (which might even be on a different desktop), get note A to appear in the note list (it might not be in the note list in which case you must search for it), then right click it and pick "Copy Note Link". Then go back to note B and paste the link.

It would be FAR simpler and quicker if we had a hotkey or button on the note editor toolbar for "Copy Note Link". In that case, you'd simply click this button for note A, then click note B and paste. No need to navigate back to the main app window, to get the note to appear in the note list, etc.

Attachments not showing correct icon until note refresh

Expected vs. actual behavior

Adding an attachment to a note used to show an icon reflecting its file-type and name immediately. Currently I get something like this:

image

If I change to another note and back, the icon is restored.

Steps to reproduce the problem (or [log file)

  1. Create a new note
  2. Drag in a new file (e.g. PDF) or use "Attach file"

Specifications

Version: 2.1.0-beta4j~201810131046 ubuntu18.04.1

(installed from PPA)

Does not start - ~/.nixnote/nixnote.conf issue

In working on the binary package, and running different versions, I got the following "interesting" issue:

With this .nixnote.conf:

[MemoryKey]
key=02be27f1-ba4f-423e-a582-3a57a44c2b0f

Nixnote (2.1.0-beta4k) doesn't load:

% ./NixNote2-x86_64.AppImage
%

Try with info logging:

% ./NixNote2-x86_64.AppImage --logLevel=0
INFO  2018-10-19 18:25:46.233 src/settings/startupconfig.cpp:315 Changed logLevel via command line option to 0
DEBUG 2018-10-19 18:25:46.236 src/settings/startupconfig.cpp:733 Setting command: #0 to value=true
DEBUG 2018-10-19 18:25:46.236 src/main.cpp:131 Startup config ret=0, guiAvailable=true
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:95 Setting up file paths:  startupConfigDirPath="", startupUserDataDir="", startupProgramDirPath=""
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:110 Checking whenever legacy config dir exists: "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:114 Legacy config/data dir found. falling back to that: "/home/ravi/.nixnote/"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:50 Default program dir path: applicationDirPath="/tmp/.mount_NixNotqR2ZdJ/usr/bin"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:141 Resulting file paths: configDir="/home/ravi/.nixnote/", userDataDir="/home/ravi/.nixnote/", programDataDir="/tmp/.mount_NixNotqR2ZdJ/usr/share/nixnote2/"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:281 Checking read access for directory "/tmp/.mount_NixNotqR2ZdJ/usr/share/nixnote2/images"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:281 Checking read access for directory "/tmp/.mount_NixNotqR2ZdJ/usr/share/nixnote2/java"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:158 Spell checker path: "/home/ravi/.nixnote/spell/"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/spell"
DEBUG 2018-10-19 18:25:46.344 src/settings/filemanager.cpp:281 Checking read access for directory "/tmp/.mount_NixNotqR2ZdJ/usr/share/nixnote2/translations"
DEBUG 2018-10-19 18:25:46.344 src/global.cpp:251 Configuring global config file "/home/ravi/.nixnote/nixnote.conf"
DEBUG 2018-10-19 18:25:46.345 src/global.cpp:265 Last accessed accountId is 1
DEBUG 2018-10-19 18:25:46.345 src/global.cpp:273 Configuring user config file "/home/ravi/.nixnote/nixnote-1.conf"
DEBUG 2018-10-19 18:25:46.345 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/logs-1"
DEBUG 2018-10-19 18:25:46.345 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/tmp-1"
DEBUG 2018-10-19 18:25:46.345 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1"
DEBUG 2018-10-19 18:25:46.345 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1/dba"
DEBUG 2018-10-19 18:25:46.345 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1/dbi"
DEBUG 2018-10-19 18:25:46.345 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1/tdba"
DEBUG 2018-10-19 18:25:46.348 src/gui/shortcutkeys.cpp:37 About to load system shortcuts from "/tmp/.mount_NixNotqR2ZdJ/usr/share/nixnote2/shortcuts.txt"
DEBUG 2018-10-19 18:25:46.348 src/gui/shortcutkeys.cpp:48 Loading "/tmp/.mount_NixNotqR2ZdJ/usr/share/nixnote2/shortcuts.txt"
DEBUG 2018-10-19 18:25:46.349 src/gui/shortcutkeys.cpp:39 About to load user shortcuts from "/home/ravi/.nixnote/shortcuts.txt"
TRACE 2018-10-19 18:25:46.349 src/gui/shortcutkeys.cpp:77 Unable to open"/home/ravi/.nixnote/shortcuts.txt"for reading or file does not exist.
DEBUG 2018-10-19 18:25:46.349 src/global.cpp:923 Loading theme "Default"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:988 Theme "[Default]": key="editorCss"value="body { color: black; }"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:995 Theme "[Default]": added CSS key="editorCss"value="body { color: black; }"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:988 Theme "[Default]": key="noteTitleEditorInactiveCss"value="QLineEdit {background-color: transparent; border-radius: 0px;} QLineEdit:hover {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:995 Theme "[Default]": added CSS key="noteTitleEditorInactiveCss"value="QLineEdit {background-color: transparent; border-radius: 0px;} QLineEdit:hover {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:988 Theme "[Default]": key="noteTitleEditorActiveCss"value="QLineEdit {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:995 Theme "[Default]": added CSS key="noteTitleEditorActiveCss"value="QLineEdit {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:988 Theme "[Default]": key="searchInputCss"value="QLineEdit { padding-right: %1px; }"
TRACE 2018-10-19 18:25:46.351 src/global.cpp:995 Theme "[Default]": added CSS key="searchInputCss"value="QLineEdit { padding-right: %1px; }"
DEBUG 2018-10-19 18:25:46.352 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_LoadNote"
DEBUG 2018-10-19 18:25:46.352 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_SaveNote"
DEBUG 2018-10-19 18:25:46.352 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_ImportKeep"
DEBUG 2018-10-19 18:25:46.352 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_ImportDelete"
DEBUG 2018-10-19 18:25:46.352 src/main.cpp:220 Shared memory segment created
DEBUG 2018-10-19 18:25:46.352 src/main.cpp:243 Another running instance with same account detected - configured action: "SHOW_OTHER"
DEBUG 2018-10-19 18:25:46.353 src/main.cpp:247 Trying to activate it..
% ./NixNote2-x86_64.AppImage --logLevel=0
INFO  2018-10-19 18:32:11.109 src/settings/startupconfig.cpp:315 Changed logLevel via command line option to 0
DEBUG 2018-10-19 18:32:11.112 src/settings/startupconfig.cpp:733 Setting command: #0 to value=true
DEBUG 2018-10-19 18:32:11.112 src/main.cpp:131 Startup config ret=0, guiAvailable=true
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:95 Setting up file paths:  startupConfigDirPath="", startupUserDataDir="", startupProgramDirPath=""
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:110 Checking whenever legacy config dir exists: "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:114 Legacy config/data dir found. falling back to that: "/home/ravi/.nixnote/"
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:50 Default program dir path: applicationDirPath="/tmp/.mount_NixNotraYcN2/usr/bin"
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:141 Resulting file paths: configDir="/home/ravi/.nixnote/", userDataDir="/home/ravi/.nixnote/", programDataDir="/tmp/.mount_NixNotraYcN2/usr/share/nixnote2/"
DEBUG 2018-10-19 18:32:11.226 src/settings/filemanager.cpp:281 Checking read access for directory "/tmp/.mount_NixNotraYcN2/usr/share/nixnote2/images"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:281 Checking read access for directory "/tmp/.mount_NixNotraYcN2/usr/share/nixnote2/java"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:158 Spell checker path: "/home/ravi/.nixnote/spell/"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/spell"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:281 Checking read access for directory "/tmp/.mount_NixNotraYcN2/usr/share/nixnote2/translations"
DEBUG 2018-10-19 18:32:11.227 src/global.cpp:251 Configuring global config file "/home/ravi/.nixnote/nixnote.conf"
DEBUG 2018-10-19 18:32:11.227 src/global.cpp:265 Last accessed accountId is 1
DEBUG 2018-10-19 18:32:11.227 src/global.cpp:273 Configuring user config file "/home/ravi/.nixnote/nixnote-1.conf"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/logs-1"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/tmp-1"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1/dba"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1/dbi"
DEBUG 2018-10-19 18:32:11.227 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote/db-1/tdba"
DEBUG 2018-10-19 18:32:11.230 src/gui/shortcutkeys.cpp:37 About to load system shortcuts from "/tmp/.mount_NixNotraYcN2/usr/share/nixnote2/shortcuts.txt"
DEBUG 2018-10-19 18:32:11.231 src/gui/shortcutkeys.cpp:48 Loading "/tmp/.mount_NixNotraYcN2/usr/share/nixnote2/shortcuts.txt"
DEBUG 2018-10-19 18:32:11.232 src/gui/shortcutkeys.cpp:39 About to load user shortcuts from "/home/ravi/.nixnote/shortcuts.txt"
TRACE 2018-10-19 18:32:11.232 src/gui/shortcutkeys.cpp:77 Unable to open"/home/ravi/.nixnote/shortcuts.txt"for reading or file does not exist.
DEBUG 2018-10-19 18:32:11.232 src/global.cpp:923 Loading theme "Default"
TRACE 2018-10-19 18:32:11.233 src/global.cpp:988 Theme "[Default]": key="editorCss"value="body { color: black; }"
TRACE 2018-10-19 18:32:11.233 src/global.cpp:995 Theme "[Default]": added CSS key="editorCss"value="body { color: black; }"
TRACE 2018-10-19 18:32:11.233 src/global.cpp:988 Theme "[Default]": key="noteTitleEditorInactiveCss"value="QLineEdit {background-color: transparent; border-radius: 0px;} QLineEdit:hover {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:32:11.233 src/global.cpp:995 Theme "[Default]": added CSS key="noteTitleEditorInactiveCss"value="QLineEdit {background-color: transparent; border-radius: 0px;} QLineEdit:hover {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:32:11.234 src/global.cpp:988 Theme "[Default]": key="noteTitleEditorActiveCss"value="QLineEdit {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:32:11.234 src/global.cpp:995 Theme "[Default]": added CSS key="noteTitleEditorActiveCss"value="QLineEdit {border: 1px solid #808080; background-color: white; border-radius: 4px;}"
TRACE 2018-10-19 18:32:11.234 src/global.cpp:988 Theme "[Default]": key="searchInputCss"value="QLineEdit { padding-right: %1px; }"
TRACE 2018-10-19 18:32:11.234 src/global.cpp:995 Theme "[Default]": added CSS key="searchInputCss"value="QLineEdit { padding-right: %1px; }"
DEBUG 2018-10-19 18:32:11.235 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_LoadNote"
DEBUG 2018-10-19 18:32:11.235 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_SaveNote"
DEBUG 2018-10-19 18:32:11.235 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_ImportKeep"
DEBUG 2018-10-19 18:32:11.235 src/exits/exitmanager.cpp:55 "Script filename is blank. Disabling exit ""ExitPoint_ImportDelete"
DEBUG 2018-10-19 18:32:11.235 src/main.cpp:220 Shared memory segment created
DEBUG 2018-10-19 18:32:11.235 src/main.cpp:243 Another running instance with same account detected - configured action: "SHOW_OTHER"
DEBUG 2018-10-19 18:32:11.235 src/main.cpp:247 Trying to activate it..
%

Removing the file makes it work.

Suggestion

Could a --logLevel=3 == ERROR message be generated highlighting the cause of the problem?

Installing/running the spell checker

Howdy!

Thanks for all your work. 2.1 is running very well for me,

Can you tell me how to install the spell checker? (Or point me to where I can RTFM?)

I get the same message and I tried following instructions here: baumgarr#292

But the latest nixnote-hunspell-plugin I was able to find (2.0.2) has a hard dependency on an older version of hunspell (libhunspell-1.3-0). I am running Ubuntu 18.04 with libhunspell-1.6.0 is installed.

Thanks!

Arch Linux package

The Arch Linux package I created is now live. May I suggest the following doco update:

## Packages
### Linux
#### Ubuntu
An Ubuntu PPA is available. See [here](https://github.com/robert7/nixnote2/wiki/NixNote-PPA) for details.

#### Arch Linux
AUR package [nixnote2-git](https://aur.archlinux.org/packages/nixnote2-git/) builds the latest stable release (HEAD from the `continuous` branch)

AppImage contains empty directories

Expected

Blank directories are not installed

Actual behavior

% find . -type d -empty
./usr/share/nixnote2/help
./usr/share/nixnote2/images
./usr/share/nixnote2/java
./usr/share/nixnote2/translations
%

Steps to reproduce the problem

"./$_pkgname.AppImage" --appimage-extract

Appimage version: 2.1.0-beta4g

Error while running debug build

Hello,
I'm trying to build NixNote on Kubuntu 18.04
while running the nixnote i'm getting following error:

Error: signal 11:
./nixnote2(_Z13fault_handleri+0x35)[0x563945e0fe15]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7efbfbc22f20]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN7QObject7connectEPKS_PKcS1_S3_N2Qt14ConnectionTypeE+0x198)[0x7efbfc839ef8]
./nixnote2(_ZN14NBrowserWindow12setupToolBarEv+0x1078)[0x563945f1b118]
./nixnote2(_ZN14NBrowserWindowC2EP7QWidget+0x623)[0x563945f27ab3]
./nixnote2(_ZN7NixNote14setupTabWindowEv+0xe0)[0x563945e11e50]
./nixnote2(_ZN7NixNote8setupGuiEv+0xeca)[0x563945e1ab5a]
./nixnote2(_ZN7NixNoteC1EP7QWidget+0x878)[0x563945e291f8]
./nixnote2(main+0xed7)[0x563945dfd477]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7efbfbc05b97]
./nixnote2(_start+0x2a)[0x563945e0185a]

Any idea what is causing this? Also how to solve this?

`make install` re-compiles binary

When running:

make INSTALL_ROOT="${pkgdir}" install

I see:

g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-rpath,/home/ravi/code/aur/nixnote2-git/src/nixnote2/../libs/lib -Wl,-rpath-link,/usr/lib -o qmake-build-release/nixnote21 qmake-build-release/application.o qmake-build-release/global.o qmake-build-release/main.o qmake-build-release/nixnote.o qmake-build-release/addnote.o qmake-build-release/alternote.o qmake-build-release/cmdlinequery.o qmake-build-release/cmdlinetool.o qmake-build-release/deletenote.o qmake-build-release/emailnote.o qmake-build-release/extractnotes.o qmake-build-release/extractnotetext.o qmake-build-release/importnotes.o qmake-build-release/signalgui.o qmake-build-release/communicationerror.o qmake-build-release/communicationmanager.o qmake-build-release/aboutdialog.o qmake-build-release/accountdialog.o qmake-build-release/accountmaintenancedialog.o qmake-build-release/adduseraccountdialog.o qmake-build-release/closenotebookdialog.o qmake-build-release/databasestatus.o qmake-build-release/emaildialog.o qmake-build-release/encryptdialog.o qmake-build-release/endecryptdialog.o qmake-build-release/faderdialog.o qmake-build-release/htmlentitiesdialog.o qmake-build-release/insertlatexdialog.o qmake-build-release/insertlinkdialog.o qmake-build-release/locationdialog.o qmake-build-release/logindialog.o qmake-build-release/notebookproperties.o qmake-build-release/notehistoryselect.o qmake-build-release/noteproperties.o qmake-build-release/appearancepreferences.o qmake-build-release/debugpreferences.o qmake-build-release/emailpreferences.o qmake-build-release/exitpreferences.o qmake-build-release/localepreferences.o qmake-build-release/preferencesdialog.o qmake-build-release/searchpreferences.o qmake-build-release/syncpreferences.o qmake-build-release/thumbnailpreferences.o qmake-build-release/remindersetdialog.o qmake-build-release/savedsearchproperties.o qmake-build-release/shortcutdialog.o qmake-build-release/spellcheckdialog.o qmake-build-release/tabledialog.o qmake-build-release/tagproperties.o qmake-build-release/watchfolderadd.o qmake-build-release/watchfolderdialog.o qmake-build-release/emailaddress.o qmake-build-release/mimeattachment.o qmake-build-release/mimecontentformatter.o qmake-build-release/mimefile.o qmake-build-release/mimehtml.o qmake-build-release/mimeinlinefile.o qmake-build-release/mimemessage.o qmake-build-release/mimemultipart.o qmake-build-release/mimepart.o qmake-build-release/mimetext.o qmake-build-release/quotedprintable.o qmake-build-release/smtpclient.o qmake-build-release/exitmanager.o qmake-build-release/exitpoint.o qmake-build-release/filtercriteria.o qmake-build-release/filterengine.o qmake-build-release/notesortfilterproxymodel.o qmake-build-release/remotequery.o qmake-build-release/authoreditor.o qmake-build-release/colormenu.o qmake-build-release/dateeditor.o qmake-build-release/datetimeeditor.o qmake-build-release/editorbuttonbar.o qmake-build-release/expandbutton.o qmake-build-release/fontnamecombobox.o qmake-build-release/fontsizecombobox.o qmake-build-release/locationeditor.o qmake-build-release/notebookmenubutton.o qmake-build-release/ntitleeditor.o qmake-build-release/reminderbutton.o qmake-build-release/tablepropertiesdialog.o qmake-build-release/tageditor.o qmake-build-release/tageditornewtag.o qmake-build-release/tagviewer.o qmake-build-release/urleditor.o qmake-build-release/datedelegate.o qmake-build-release/externalbrowse.o qmake-build-release/favoritesview.o qmake-build-release/favoritesviewdelegate.o qmake-build-release/favoritesviewitem.o qmake-build-release/findreplace.o qmake-build-release/flowlayout.o qmake-build-release/imagedelegate.o qmake-build-release/lineedit.o qmake-build-release/nattributetree.o qmake-build-release/nbrowserwindow.o qmake-build-release/nmainmenubar.o qmake-build-release/nnotebookview.o qmake-build-release/nnotebookviewdelegate.o qmake-build-release/nnotebookviewitem.o qmake-build-release/nsearchview.o qmake-build-release/nsearchviewitem.o qmake-build-release/ntableview.o qmake-build-release/ntableviewheader.o qmake-build-release/ntabwidget.o qmake-build-release/ntagview.o qmake-build-release/ntagviewdelegate.o qmake-build-release/ntagviewitem.o qmake-build-release/ntrashtree.o qmake-build-release/ntrashviewdelegate.o qmake-build-release/numberdelegate.o qmake-build-release/nwebpage.o qmake-build-release/nwebview.o qmake-build-release/pluginfactory.o qmake-build-release/popplergraphicsview.o qmake-build-release/popplerviewer.o qmake-build-release/reminderorderdelegate.o qmake-build-release/shortcutkeys.o qmake-build-release/traymenu.o qmake-build-release/treewidgeteditor.o qmake-build-release/truefalsedelegate.o qmake-build-release/widgetpanel.o qmake-build-release/qsdebugoutput.o qmake-build-release/qslog.o qmake-build-release/qslogdest.o qmake-build-release/notecache.o qmake-build-release/notemodel.o qmake-build-release/ntreemodel.o qmake-build-release/oauthtokenizer.o qmake-build-release/oauthwindow.o qmake-build-release/AsyncResult.o qmake-build-release/EventLoopFinisher.o qmake-build-release/exceptions.o qmake-build-release/constants.o qmake-build-release/services.o qmake-build-release/types.o qmake-build-release/http.o qmake-build-release/oauth.o qmake-build-release/services_nongenerated.o qmake-build-release/reminderevent.o qmake-build-release/remindermanager.o qmake-build-release/accountsmanager.o qmake-build-release/colorsettings.o qmake-build-release/filemanager.o qmake-build-release/startupconfig.o qmake-build-release/configstore.o qmake-build-release/databaseconnection.o qmake-build-release/databaseupgrade.o qmake-build-release/datastore.o qmake-build-release/favoritesrecord.o qmake-build-release/favoritestable.o qmake-build-release/filewatchertable.o qmake-build-release/linkednotebooktable.o qmake-build-release/notebooktable.o qmake-build-release/notemetadata.o qmake-build-release/notetable.o qmake-build-release/nsqlquery.o qmake-build-release/resourcetable.o qmake-build-release/searchtable.o qmake-build-release/sharednotebooktable.o qmake-build-release/tagtable.o qmake-build-release/usertable.o qmake-build-release/attachmenticonbuilder.o qmake-build-release/enmlformatter.o qmake-build-release/noteformatter.o qmake-build-release/tagscanner.o qmake-build-release/thumbnailer.o qmake-build-release/browserrunner.o qmake-build-release/counterrunner.o qmake-build-release/indexrunner.o qmake-build-release/syncrunner.o qmake-build-release/crossmemorymapper.o qmake-build-release/debugtool.o qmake-build-release/encrypt.o qmake-build-release/mimereference.o qmake-build-release/noteindexer.o qmake-build-release/nuuid.o qmake-build-release/pixelconverter.o qmake-build-release/filewatcher.o qmake-build-release/filewatchermanager.o qmake-build-release/batchimport.o qmake-build-release/exportdata.o qmake-build-release/importdata.o qmake-build-release/importenex.o qmake-build-release/xmlhighlighter.o qmake-build-release/StringUtils.o qmake-build-release/StringUtils_p.o qmake-build-release/qrc_NixNote21.o qmake-build-release/moc_application.o qmake-build-release/moc_nixnote.o qmake-build-release/moc_global.o qmake-build-release/moc_addnote.o qmake-build-release/moc_alternote.o qmake-build-release/moc_cmdlinequery.o qmake-build-release/moc_cmdlinetool.o qmake-build-release/moc_deletenote.o qmake-build-release/moc_emailnote.o qmake-build-release/moc_extractnotes.o qmake-build-release/moc_extractnotetext.o qmake-build-release/moc_importnotes.o qmake-build-release/moc_signalgui.o qmake-build-release/moc_communicationerror.o qmake-build-release/moc_communicationmanager.o qmake-build-release/moc_aboutdialog.o qmake-build-release/moc_accountdialog.o qmake-build-release/moc_accountmaintenancedialog.o qmake-build-release/moc_adduseraccountdialog.o qmake-build-release/moc_closenotebookdialog.o qmake-build-release/moc_databasestatus.o qmake-build-release/moc_emaildialog.o qmake-build-release/moc_encryptdialog.o qmake-build-release/moc_endecryptdialog.o qmake-build-release/moc_faderdialog.o qmake-build-release/moc_htmlentitiesdialog.o qmake-build-release/moc_insertlatexdialog.o qmake-build-release/moc_insertlinkdialog.o qmake-build-release/moc_locationdialog.o qmake-build-release/moc_logindialog.o qmake-build-release/moc_notebookproperties.o qmake-build-release/moc_notehistoryselect.o qmake-build-release/moc_noteproperties.o qmake-build-release/moc_appearancepreferences.o qmake-build-release/moc_debugpreferences.o qmake-build-release/moc_emailpreferences.o qmake-build-release/moc_exitpreferences.o qmake-build-release/moc_localepreferences.o qmake-build-release/moc_preferencesdialog.o qmake-build-release/moc_searchpreferences.o qmake-build-release/moc_syncpreferences.o qmake-build-release/moc_thumbnailpreferences.o qmake-build-release/moc_remindersetdialog.o qmake-build-release/moc_savedsearchproperties.o qmake-build-release/moc_shortcutdialog.o qmake-build-release/moc_spellcheckdialog.o qmake-build-release/moc_tabledialog.o qmake-build-release/moc_tagproperties.o qmake-build-release/moc_watchfolderadd.o qmake-build-release/moc_watchfolderdialog.o qmake-build-release/moc_emailaddress.o qmake-build-release/moc_mimeattachment.o qmake-build-release/moc_mimecontentformatter.o qmake-build-release/moc_mimefile.o qmake-build-release/moc_mimehtml.o qmake-build-release/moc_mimemultipart.o qmake-build-release/moc_mimepart.o qmake-build-release/moc_quotedprintable.o qmake-build-release/moc_smtpclient.o qmake-build-release/moc_exitmanager.o qmake-build-release/moc_exitpoint.o qmake-build-release/moc_filtercriteria.o qmake-build-release/moc_filterengine.o qmake-build-release/moc_notesortfilterproxymodel.o qmake-build-release/moc_remotequery.o qmake-build-release/moc_authoreditor.o qmake-build-release/moc_colormenu.o qmake-build-release/moc_dateeditor.o qmake-build-release/moc_datetimeeditor.o qmake-build-release/moc_editorbuttonbar.o qmake-build-release/moc_expandbutton.o qmake-build-release/moc_fontnamecombobox.o qmake-build-release/moc_fontsizecombobox.o qmake-build-release/moc_locationeditor.o qmake-build-release/moc_notebookmenubutton.o qmake-build-release/moc_ntitleeditor.o qmake-build-release/moc_reminderbutton.o qmake-build-release/moc_tablepropertiesdialog.o qmake-build-release/moc_tageditor.o qmake-build-release/moc_tageditornewtag.o qmake-build-release/moc_tagviewer.o qmake-build-release/moc_urleditor.o qmake-build-release/moc_datedelegate.o qmake-build-release/moc_externalbrowse.o qmake-build-release/moc_favoritesview.o qmake-build-release/moc_favoritesviewdelegate.o qmake-build-release/moc_findreplace.o qmake-build-release/moc_lineedit.o qmake-build-release/moc_nattributetree.o qmake-build-release/moc_nbrowserwindow.o qmake-build-release/moc_nmainmenubar.o qmake-build-release/moc_nnotebookview.o qmake-build-release/moc_nnotebookviewdelegate.o qmake-build-release/moc_nsearchview.o qmake-build-release/moc_ntableview.o qmake-build-release/moc_ntableviewheader.o qmake-build-release/moc_ntabwidget.o qmake-build-release/moc_ntagview.o qmake-build-release/moc_ntagviewdelegate.o qmake-build-release/moc_ntrashtree.o qmake-build-release/moc_ntrashviewdelegate.o qmake-build-release/moc_nwebpage.o qmake-build-release/moc_nwebview.o qmake-build-release/moc_pluginfactory.o qmake-build-release/moc_popplergraphicsview.o qmake-build-release/moc_popplerviewer.o qmake-build-release/moc_shortcutkeys.o qmake-build-release/moc_traymenu.o qmake-build-release/moc_treewidgeteditor.o qmake-build-release/moc_widgetpanel.o qmake-build-release/moc_notecache.o qmake-build-release/moc_notemodel.o qmake-build-release/moc_ntreemodel.o qmake-build-release/moc_oauthtokenizer.o qmake-build-release/moc_oauthwindow.o qmake-build-release/moc_AsyncResult.o qmake-build-release/moc_EventLoopFinisher.o qmake-build-release/moc_EverCloudException.o qmake-build-release/moc_exceptions.o qmake-build-release/moc_http.o qmake-build-release/moc_oauth.o qmake-build-release/moc_reminderevent.o qmake-build-release/moc_remindermanager.o qmake-build-release/moc_accountsmanager.o qmake-build-release/moc_colorsettings.o qmake-build-release/moc_filemanager.o qmake-build-release/moc_databaseupgrade.o qmake-build-release/moc_datastore.o qmake-build-release/moc_favoritesrecord.o qmake-build-release/moc_favoritestable.o qmake-build-release/moc_filewatchertable.o qmake-build-release/moc_linkednotebooktable.o qmake-build-release/moc_attachmenticonbuilder.o qmake-build-release/moc_enmlformatter.o qmake-build-release/moc_noteformatter.o qmake-build-release/moc_tagscanner.o qmake-build-release/moc_thumbnailer.o qmake-build-release/moc_browserrunner.o qmake-build-release/moc_counterrunner.o qmake-build-release/moc_indexrunner.o qmake-build-release/moc_syncrunner.o qmake-build-release/moc_crossmemorymapper.o qmake-build-release/moc_mimereference.o qmake-build-release/moc_nuuid.o qmake-build-release/moc_filewatcher.o qmake-build-release/moc_filewatchermanager.o qmake-build-release/moc_batchimport.o qmake-build-release/moc_exportdata.o qmake-build-release/moc_importdata.o qmake-build-release/moc_importenex.o   -g -rdynamic -lpoppler-qt5 -lcurl -ltidy -lQt5PrintSupport -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Qml -lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread
/usr/bin/qmake -install qinstall -exe /home/ravi/code/aur/nixnote2-git/src/nixnote2/qmake-build-release/nixnote21 /home/ravi/code/aur/nixnote2-git/pkg/nixnote2/usr/bin/nixnote21
strip /home/ravi/code/aur/nixnote2-git/pkg/nixnote2/usr/bin/nixnote21
/usr/bin/qmake -install qinstall /home/ravi/code/aur/nixnote2-git/src/nixnote2/nixnote21.desktop /home/ravi/code/aur/nixnote2-git/pkg/nixnote2/usr/share/applications/nixnote21.desktop
/usr/bin/qmake -install qinstall /home/ravi/code/aur/nixnote2-git/src/nixnote2/resources/images/alarmclock.png /home/ravi/code/aur/nixnote2-git/pkg/nixnote2/usr/share/nixnote21/images/alarmclock.png
...

Note the first (long) line actually recompiles.

This greatly slows down the packaging process, as well as delay's every user's experience of the package (the binary is always created twice).

Unable to upload folders via the Tools>ImportFolders menu

I tried to upload local folders to Evernote using the "import folders" menu. But nothing happens.
I was able to download and synchronize all my notebooks, and able to create new note locally and synchronize.
I am just unable to upload local folders and files. What am I doing wrong?

Font size issue in search bar and when switching to wide/narrow note list

When switching to wide note list from narrow note list in preferences (or to narrow from wide) the font size stays at the correct (non-'system default') value, but the rows themselves seem to appear too small (probably at the size capable of handling the system default). The result is text that cannot be read due to being larger than the area it appear in.
BEFORE PROBLEM AND AFTER SOLUTION:
before
DURING:
after

Solution:
To get rid of it you can just click on a notebook title in the side left panel, but if you do not have 'show left panel' selected from the View menu then it's not clear how to get it looking good.

The search bar is also not at the GUI or editor font size. I have the editor and GUI font size set to 20 because otherwise the entire app is unreadable (test is too small). on my higher def screen.

Version: 2.1.0-beta4j 201810131046 ubuntu16.04.1

PS - I like the new logo - but I will miss the linux penguin logo - thanks for developing!
Edit1 - some explanations of the images.
Edit2 - some removal of template formatting

Clicking "New Note" button creates two new notes

What I did: clicked the New Note button in the NixNote ToolBar

What I expected: I would have a new note titled "Untitled note" and that my cursor would be in the body of that new note, ready for me to start writing.

What happened: I got two notes titled "Untitled note" and my cursor was placed in the body of the top (most recent of the two?) note.

When I use the keyboard shortcut (Ctrl-N), NixNote creates just one note.

I see this in both 2.1.0-beta4d and -beta4g.

Not sure if this is related to fixed issue #8: #8

Ability to set default notebook for new notes

Expected

I am able to set the default notebook for new notes (I type ^N).

and / or:

An option for "the notebook used to create the last note is selected to create the new note"

https://help.evernote.com/hc/en-us/articles/208314728-How-to-change-your-default-notebook

Actual behavior

Notes are created in a random notebook. The same notebook is used to create all notes.

Steps to reproduce the problem

Press ^N

Specifications

Version: 2.1.0-beta4d-8f235769

Question really: other backup providers

Is there a way to sync my database not using evernotes account, but for example dump/sync it through a google drive or dropbox? If it does not go at odds with the ideology of the tool I'm glad in helping to implement/test the functionality

To have a saved search created todotxt formatted output as a query from the command line

Was pushupstream, which i realize you have been doing.
Changing to a feature request -
Consider Evernote/Nixnote2 as a Capture/Organise tool, a personal library of sorts. It is not designed to support the Doing phase. To address this i would like to be able to query evernote and generate todotxt output.

Specifically:
To have a saved search created todotxt formatted output as a query from the command line (and UI?)
so that something like:

nixnote2 todoquery <saved search> 

will generate a todo.txt file, so that i can use it with my android clockworktomato and/or any other todo.txt system to support performing next actions.

Improve/fix individual note encryption

Note encryption now works - with the older Evernote 64 bit RC2 cipher as it was implemented in V2.0.

What works:

  • select part of the note and select "encrypt"
  • sync & view encrypted content (both in Nixnote and Evernote web client) - read only
  • to edit the content you need to select "decrypt permanently" - then edit & encrypt again

What doesn't work

  • the html code handling in "permament decrypt" is a bit hacky, so it may not work 100% is the note more complex/html - so temporarily only use with plain text notes

TODO as improvement

  • implement Evernote "AES - 128 bit" cipher
  • improve stability

..as alternative it is also to encrypt everything

Custom keybindings

Hi

I use a gtk-based system on linux, and I really prefer Emacs-style keybindings.

But, the default Nixnote shortcuts override my gtk settings for Emacs keys.

I can disable some of the behavior in shortcuts.txt, but it would be preferable to have either

  1. Additional keybindings to map to: Ctrl-a for beginning of line, Ctrl-e for end, Ctrl-b back a character, Ctrl-f next character, Ctrl-n next line, Ctrl-p previous line, etc.

  2. The ability to disable all nixnote keybindings, to fall back to my system defaults.

Is there any way to do this?

Note created in NixNote opens as empty on Android app; fine on web app

What I Did: created a text note in NixNote. Synced to Evernote Android. Saw the note with a preview of the text in the note list. Opened the note for further editing on Android.

What I expected: I could edit the note.

What happened: the editor opened empty, as if I was starting a new note. Went back to note list and saw the note there with the preview text in tact. I tried closing app and re-starting: no change. I tried opening this note in web version of Evernote: that worked. I made a small edit on the web version, resynced with Android, and the note opened fine on Android.

I suspect something NixNote is doing in the formatting of notes is causing a hiccup that Android can't deal with but the web app can. I have raised this with Evernote. But what is NixNote doing?

Using 2.1.0-beta4g

error uploading notes

I'm having difficulties to synchronize some notes with the evernote server:

INFO  2018-10-14 20:48:54.307 src/main.cpp:277 NixNote 2.1.0-beta4j-8e3ec46c, build at Oct 14 2018 at 20:38:11, with Qt 5.11.1 running on 5.11.1
INFO  2018-10-14 20:48:54.307 src/main.cpp:280 To get more detailed startup logging use --logLevel=1
ERROR 2018-10-14 20:49:50.866 src/communication/communicationmanager.cpp:497 Exception stacktrace:
ERROR 2018-10-14 20:49:50.870 src/communication/communicationerror.cpp:86 "EDAMUserException[ENML_VALIDATION]: EDAMUserException: ENML_VALIDATION parameter=Attribute \"data-hook\" must be declared for element type \"span\"."
ERROR 2018-10-14 20:49:50.870 src/threads/syncrunner.cpp:1180 "Error uploading note:Ericsson2017 - Peak: Secrets from the New Science of Expertise"
[[ ... same error for different notes ]

I'm running debian 4.17.0-1 and the problem exists with the official baumgarr version, too.

Do you have any clue what I can try? The affected notes seems very normal from what I can see in the gui. Thanks in advance!

Documentation alignment and install

docs/shortcuts-howto.md:

You should have a shortcuts_sample.txt file. Copy this to shortcuts.txt
in your Nixnote home directory (~/.nixnote on Linux & OS-X and your user

The package I'm working on has:

  install -Dm644 shortcuts.txt "${pkgdir}"/usr/share/doc/nixnote2/shortcuts_sample.txt

Note the rename is necessary to match the doco.

Would you consider renaming the file to match the documentation?

Would you also consider putting in /usr/share/doc/nixnote2:

  • CHANEGLOG.md
  • shortcuts-howto.md
  • shortcuts_sample.txt (see above)

The following files were in the old Nixnote2 package, in help/

  • UserDocumentation.odt
  • UserDocumentation.pdf

What happened to them?

Feature suggestion: simplified search/sort

The new relevance search feature is nice, but it makes the GUI more cumbersome because click column heading to search no longer works. Also, the new feature confuses search with sort. Sometimes you want to sort without searching. Here is an idea to get the best of both (relevance search, and simple GUI):
Change the "View|Sort notes by" menu item to a toggle: relevance first, or column first.
When user clicks on a column heading, sort by that column.
If there is no search text, it does a simple sort by that column without searching.
If search text has been entered, it does a 2-phase sort. Depending on the menu setting, the sort is either Relevance, Column, or Column, Relevance.

Sort does not work in note list.

When clicking on the table header in the notebook list (wide or narrow), the table does not sort on that headline. It sorts only on the last change.

URL for latest AppImage

As my AUR build-from-source package is almost done I'm looking at creating a -bin package also.

My initial plan was to generate a URL from the latest annotated tag, but I notice there is no AppImage for v2.1.0-beta4g.

As there may be a lag in build after release, a latest URL would be preferred.

Is there a URL to to use download the latest available AppImage?

[feature] difference of repos after force resync of remote,

If i have an issue where it crashes before/during sync. I would like to be able to find the differences between a forced revert/resync and the broken repo. so something like

mv ~/nixnote ~/nixnote-broken
nixnote2 --syncAndExit
nixnote2 --diff ~/nixnote ~/nixnote-broken

This way i can gaurentee that i have not lost data or similarily corrupted my remote evernote repo

Inline PDF shows in small box

Hello Robert,

Thank you for keeping this project alive. I've found an issue while trying to read PDF, the inline PDF shows in very small window, also I cannot resize that box/window.

Attaching the screenshot for your reference.

Also, Can you let us know the roadmap you've planned for the development. I'm planning to contribute in codebase during my free time.

bug

deleted (empty) tags keep reappearing every time I launch nixnote, AND **unknown** tag on loads of notes

Thank you for this version 2.1! I had been struggling with 2.0.2 for months (maybe even years), with the dreaded tag 1004 sync errors. I just upgraded to 2.1 and no longer get that error, but I have other issues relating to tags.

I have thousands of notes with tens of tags, which unfortunately have not been synced in a while, due to the 1004 error. I used to have quite a complex tag hierarchy, but have now flattened it as much as possible (most tags in the root, with occasional single level deep tags as well).

Expected vs. actual behavior

I have deleted a bunch of tags, but every time I relaunch nixnote2, they all reappear (with 0 notes).
I also have loads of notes appearing to be tagged with unknown.
Loads of notes also display a black triangle before their name. I don't know if this is related (not necessarily only notes with unknown tags).

Specifications

Version: 2.1.0-beta4j201810131046ubuntu16.04.1

Coordination of packaging inside deb-based distribution

Now that the status is getting clear, I intend to update the old nixnote2 package in deb-based distributions (starting from Debian, down to Ubuntu, Linux Mint, Deepin etc) using the new codebase as a Debian Developer. Though using AppImage is possible, the traditional distribution methods might still be valuable. This issue could act as the coordinating page for that purpose. Meanwile, I would be happy to make some review to current codebase.

Right now, as a starting point, I'm wondering about the use of /opt/tidy56/ in Nixnote21.pro file. Would it be possible if you provide with a fallback path to use system's libtidy5 if tidy5.6 is not found under /opt/? That will help ease the packaging for sure.

New Changes Ready for Pull Request

I frequently have multiple note windows open on multiple desktops. Syncing becomes a pain, because I have to find the main window to Sync. I'd like to be able to sync from any note window, not just the main window.
I updated the source code and added this feature, on a new branch called "f9Everywhere". Now the sync button is available on all note window toolbars. Click any of them and it syncs as if from the main screen.
This Git repo won't let me push this back to the repo. Could you please allow so I can submit the pull request?

Sorting Notes by tags

Is it possible to sort notes by tags? In the older version of nixnote2 it could be done and was helpful when using the "Getting Things Done" method. Thank you for a great product.

Binary needs to be started from 'appdir' directory...

Good news: I've worked around the hunspell library naming issue with LD_LIBRARY_PATH=.

Now I'm working around qt.conf:

The doco says that qt.conf must be in the same directory as the executable, meaning I can't put it in /usr/bin due to conflicts with other packages.

So I plan to put qt.conf and the executable in /usr/bin/nixnote2, and have /usr/bin/nixnote2 be a wrapper script to run /usr/bin/nixnote2/nixnote2.

I've updated the qt.conf to have Prefix = ../../ due to the extra directory created.

The issue I'm hitting is:

% /home/ravi/code/aur/nixnote2-bin/squashfs-root/usr/bin/nixnote2/nixnote2 --logLevel=0
INFO  2018-10-19 18:59:45.152 src/settings/startupconfig.cpp:315 Changed logLevel via command line option to 0
DEBUG 2018-10-19 18:59:45.153 src/settings/startupconfig.cpp:733 Setting command: #0 to value=true
DEBUG 2018-10-19 18:59:45.153 src/main.cpp:131 Startup config ret=0, guiAvailable=true
DEBUG 2018-10-19 18:59:45.207 src/settings/filemanager.cpp:95 Setting up file paths:  startupConfigDirPath="", startupUserDataDir="", startupProgramDirPath=""
DEBUG 2018-10-19 18:59:45.207 src/settings/filemanager.cpp:110 Checking whenever legacy config dir exists: "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:59:45.207 src/settings/filemanager.cpp:114 Legacy config/data dir found. falling back to that: "/home/ravi/.nixnote/"
DEBUG 2018-10-19 18:59:45.207 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:59:45.207 src/settings/filemanager.cpp:312 Checking write access for directory "/home/ravi/.nixnote"
DEBUG 2018-10-19 18:59:45.208 src/settings/filemanager.cpp:50 Default program dir path: applicationDirPath="/home/ravi/code/aur/nixnote2-bin/squashfs-root/usr/bin/nixnote2"
ERROR 2018-10-19 18:59:45.208 src/settings/filemanager.cpp:58 Binary needs to be started from 'appdir' directory...
ERROR 2018-10-19 18:59:45.208 src/settings/filemanager.cpp:59 E.g. use something like: cd $$PROJECT_DIR; ./appdir/usr/bin/nixnote2
%

Is there a way to disable or workaround this check? Perhaps if an environment variable (eg $NIXNOTE2_SKIP_APPDIR_CHECK) is set?

How to modify the note title font size in themes.ini?

I am using nixnote 2.1 from deb on Kubuntu 18.04, and using the Breeze Dark theme with no changes to it. I am not happy with how the note title looks, so I thought I could modify it by creating my own entry in themes.ini.

I'm reasonably happy with the changes to make it readable in my environment. There is one remaining thing I'd like - the ability to change the font size of the note title in the display. Is there a way this font size can be increased for the note title?

I'm not an expert with CSS and QT styling, by any means (like not even a little). That said, reading the doc from qt on their stylesheet syntax did not help (or I missed the relevant part) so, I tried inserting into the QLineEdit definition the 'font-size' parameter from CSS, and nothing happened.

Invalid Mail Header

Trying to send a mail bounces with

The message WAS NOT relayed to:
[email protected]:
554 5.6.0 bounce, id=15074-02 - bad header

This nondelivery report was generated by the program amavisd-new at host
smtp.server. Our internal reference code for your message is
15074-02/XXXXXXXX

INVALID HEADER

Missing required header field: "Date"

Return-Path: [email protected]
From: User Name [email protected]
Sender: [email protected]
Subject: Todo Note

Improve/fix LaTeX formula integration

The LaTeX integration is unstable/broken
Info: #43 (comment)
It seems the "gif rendering" of the formula doesn't get synced to Evernote (message BAD_DATA_FORMAT parameter=ResourceAttributes.sourceURL)

In the v2.0 the functionality wan't very stable either (upload worked, but e.g. edit not).
As I don't use LaTeX .. this is kind of low prio for me..
... if anyone want to have it ... pull request is welcome.

Provide some sort of update mechanism

Thanks for keeping Nixnote going (an thank for referring me!)!

Not sure if its possible with appimages but a PPA for Ubuntu or some sort of automatic updating mechanism is desirable. I know snaps can update themselves - not sure of what's possible with appimages. Is there already an easy way that I'm missing? Or is there an easy way to set something like this up?

Version tag specification

I am working on packaging this for Arch Linux's AUR.

Currently I see that development version is obtained by:

head ./debian/changelog --lines=1|sed -E 's/^[^(]*\(([^)]*).*/\1/g'

What I'm trying to work out is which commit to use for packaging.

How do you currently specify versions?

Would it be fair conclude that I could obtain versions as follows:

Non-alpha release:

$ git tag --list | grep '^v' | grep -v alpha | tail -n1
v2.1.0-beta-3

Full release:

$ git tag --list | grep '^v' | grep -Ev 'alpha|beta' | tail -n1
v2.0.2

Would you mind writing out the specification for your version numbering? Ideally, it would answer the following questions:

  1. What is the difference between the continuous and continuous-develop branches?

  2. Besides these two, do you only have alpha, beta and full releases?

  3. Will there continue to be a - between (alpha|beta) and the number? eg: v2.1.0-beta-1

  4. What is the meaning of the final letter a in v2.1.0-beta-4a?

  5. Will unannotated git tags continue to describe only full releases?

  6. Will my commands above accurately capture your release tagging going forward?

Unable to synchronize note (ENML_VALIDATION)

Hi @robert7
Thanks for your nice work on the newer version of nixnote2.
When I update my note, I find the following log:

INFO 2018-08-29 21:16:48.826 ( nixnote.cpp @ 1900 ) "Unable to update note.  Invalid note structure : :EDAMUserException: ENML_VALIDATION parameter=The element type \"hr\" must be terminated by the matching end-tag \"</hr>\"." 
 INFO 2018-08-29 21:16:48.826 ( nixnote.cpp @ 1900 ) "Unable to update note.  Invalid note structure : :EDAMUserException: ENML_VALIDATION parameter=The element type \"hr\" must be terminated by the matching end-tag \"</hr>\"." 

What's the reason for this?

Binary contains reference to build directory

% pwd
/home/ravi/code/aur/nixnote2-git
% strings -a pkg/nixnote2/usr/bin/nixnote21 | grep $PWD
/home/ravi/code/aur/nixnote2-git/src/nixnote2/../libs/lib
% 

I think the culprit is:

src/nixnote2/NixNote21.pro
9:    QMAKE_RPATHDIR += $$PWD/../libs/lib

Have you looked at absolute_path?

Spacing of note metadata

It's so good to be dogfooding my package of your great work.

When loading nixnote2 I see:

image

There is quite a bit of vertical screen space taken up by the grey metadata section.

Example: Space between the title "Work Log" and "Click to set source URL".

The whole area is much sparser compared to v2.0.0.

Otherwise, it works great! 🎉

Inserting Table generates incorrect HTML

Expected Behavior

Inserting a table should produce the HTML:

<table style="..."><tbody>...</tbody></table>

Actual Behavior

This HTML is produced:

<table style="..." <tbody=""><tbody>...</tbody></table>

This HTML is incorrect and produces errors while syncing.

Steps to reproduce the problem:

  1. Make a new note.
  2. Insert a table

Specifications

Version used: v2.1.0-beta-3

Workaround

Manually edit the HTML.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.