Package Details: notion-app 2.0.18-1

Git Clone URL: https://aur.archlinux.org/notion-app.git (read-only, click to copy)
Package Base: notion-app
Description: The all-in-one workspace for your notes and tasks
Upstream URL: https://github.com/notion-enhancer/notion-repackaged
Keywords: kanban markdown notes notion task
Licenses: MIT
Conflicts: notion-app
Provides: notion-app
Submitter: pat-s
Maintainer: jamezrin
Last Packager: jamezrin
Votes: 65
Popularity: 0.34
First Submitted: 2019-02-27 14:00 (UTC)
Last Updated: 2021-12-31 15:34 (UTC)

Pinned Comments

jamezrin commented on 2021-05-29 12:35 (UTC) (edited on 2021-12-26 21:39 (UTC) by jamezrin)

How to use Notion Enhancer:

For anyone wanting to use notion-enhancer, I highly recommend using https://aur.archlinux.org/packages/notion-app-enhanced/ instead.

notion-app-enhanced is built on top off this (notion-app) package and has notion-enhancer embedded in the final package. It doesn't require any manual steps to use.

How to fix weird Emoji characters:

Please, take a look at the following blog post: https://pat-s.me/emoji-support-for-notion-so-on-linux/

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 14 Next › Last »

zeroconf commented on 2021-09-16 23:09 (UTC)

CTRL+F for (text) search is missing. Usually in web browser we can search also text inside web page.

jamezrin commented on 2021-05-29 12:35 (UTC) (edited on 2021-12-26 21:39 (UTC) by jamezrin)

How to use Notion Enhancer:

For anyone wanting to use notion-enhancer, I highly recommend using https://aur.archlinux.org/packages/notion-app-enhanced/ instead.

notion-app-enhanced is built on top off this (notion-app) package and has notion-enhancer embedded in the final package. It doesn't require any manual steps to use.

How to fix weird Emoji characters:

Please, take a look at the following blog post: https://pat-s.me/emoji-support-for-notion-so-on-linux/

jamezrin commented on 2021-05-28 18:36 (UTC) (edited on 2021-05-28 18:36 (UTC) by jamezrin)

Updated, thank you @retr007, @J5lx!

retr007 commented on 2021-05-27 20:38 (UTC) (edited on 2021-05-28 17:14 (UTC) by retr007)

i've personally never felt the need to use window decorations as i use a tiling window manager. however, if you really want the window decorations and the systray icon, follow the instructions laid out here by jamezrin and apply the notion-enhancer: https://github.com/notion-enhancer/notion-enhancer/issues/467#issuecomment-826361185

beware, there are a few bugs but i think you can fix one major bug that makes the window decorations look really big by turning tabs on and off in the enhancements menu which you can access with the keyboard shortcut Alt+e. I haven't noticed any dealbreaking bugs.

also, after applying the enhancer, the usual notion-app does not launch so i had to create a custom script and add it to my bin to launch notion conveniently (the command you need to put in the script is mentioned in the link above).

sosonok commented on 2021-05-27 06:25 (UTC)

Thank you, retr007!

PS: still no window decoration nor systray icon.

elegracer commented on 2021-05-27 03:57 (UTC)

retr007's approach works for me, many thanks!

retr007 commented on 2021-05-27 02:23 (UTC) (edited on 2021-05-27 21:17 (UTC) by retr007)

all of those who are getting the error related to cld, here's how i managed to fix the issue. the issue seems to be with a node package called cld and specifically the version 2.5.1, so as a workaround we have to configure the installer to make it install a newer version of the package, which apparently works.

steps
1. I cloned this repo, i.e https://aur.archlinux.org/notion-app.git
2. I entered the cloned directory and I ran makepkg once, just to get all the binaries.
3. I edited the file notion-app/src/extracted-app/resources/app/package.json and changed the version of the package cld from 2.5.1 to 2.7.0.
4. I also edited the file notion-app/PKGBUILD and removed the following lines from it, so that the installer script doesn't overwrite the version.

  7z x -y "${srcdir}/Notion-"${pkgver}".exe" -o"${srcdir}/extracted-exe" >/dev/null
  7z x -y "${srcdir}/extracted-exe/\$PLUGINSDIR/app-64.7z" -o"${srcdir}/extracted-app" >/dev/null


5. Then I ran makepkg again, and it installs pretty much the way it's supposed to.

@jamezrin and @pat-s kindly take note of this issue and make sure to fix it in the next update, thank you.

sosonok commented on 2021-05-24 19:39 (UTC)

It fails to build here too. Same J5lx error (2021-05-19).

J5lx commented on 2021-05-19 10:47 (UTC) (edited on 2021-05-19 10:47 (UTC) by J5lx)

This package currently fails to build (again) following the recent update from GCC 10 to GCC 11:

  CXX(target) Release/obj.target/cld/src/cld.o
../src/cld.cc:5:12: error: ‘terminate_handler’ has not been declared in ‘std’
    5 | using std::terminate_handler;
      |            ^~~~~~~~~~~~~~~~~
../src/cld.cc:6:12: error: ‘unexpected_handler’ has not been declared in ‘std’
    6 | using std::unexpected_handler;
      |            ^~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:56,
                 from ../src/cld.cc:8:
/build/.cache/node-gyp/14.16.1/include/node/node.h:758:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  758 |       (node::addon_register_func) (regfunc),                          \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/.cache/node-gyp/14.16.1/include/node/node.h:792:3: note: in expansion of macro ‘NODE_MODULE_X’
  792 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/cld.cc:158:3: note: in expansion of macro ‘NODE_MODULE’
  158 |   NODE_MODULE(cld, init);
      |   ^~~~~~~~~~~
make: *** [cld.target.mk:119: Release/obj.target/cld/src/cld.o] Error 1
make: Leaving directory '/build/notion-app/src/package-rebuild/node_modules/cld/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/build/notion-app/src/.nvm/versions/node/v14.16.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 5.12.3-arch1-1
gyp ERR! command "/build/notion-app/src/.nvm/versions/node/v14.16.1/bin/node" "/build/notion-app/src/.nvm/versions/node/v14.16.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /build/notion-app/src/package-rebuild/node_modules/cld
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm WARN notion-intl@1.3.0 requires a peer of @types/react@16.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN Notion@2.0.16 No repository field.
npm WARN Notion@2.0.16 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cld@2.5.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the cld@2.5.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/notion-app/src/npm-cache/_logs/2021-05-19T10_33_39_161Z-debug.log
==> ERROR: A failure occurred in build().