Package Details: notion-app 2.0.18-1

Git Clone URL: (read-only, click to copy)
Package Base: notion-app
Description: The all-in-one workspace for your notes and tasks
Upstream URL:
Keywords: kanban markdown notes notion task
Licenses: MIT
Conflicts: notion-app
Provides: notion-app
Submitter: pat-s
Maintainer: jamezrin
Last Packager: jamezrin
Votes: 55
Popularity: 2.02
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 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:

Latest Comments

ultra99 commented on 2022-01-13 22:03 (UTC)

I've installed the latest version, but I cannot open more than 1 instance. It shows it's loading something but jumps to my current open instance. Anything I'm missing? Thanks.

jamezrin commented on 2022-01-09 11:05 (UTC)

@thiagomei what is wrong with this version? It should be the same as notion-app-enhanced but without the enhancer. In fact, they have the same base now (2.0.18)

thiagomei commented on 2022-01-09 06:47 (UTC)

Switched to notion-app-enhanced as that seems to be working as of now.

Prana commented on 2021-12-11 15:16 (UTC)

Having the same problems as zeroconf, gery_f, 1q8448q1 and cvog.

aknudsen commented on 2021-12-08 10:03 (UTC) (edited on 2021-12-08 10:04 (UTC) by aknudsen)

I also get the developer tools SqliteSchemaMismatch exception, suspect that's the reason for Notion currently being broken.

cvog commented on 2021-12-07 05:49 (UTC) (edited on 2021-12-07 05:50 (UTC) by cvog)

@zeroconf,@gery_f, @1q8448q1 same here. I get the following exception in the dev tools: Uncaught (in promise) SqliteSchemaMismatch: schema failed validation: schema.tables.notion.columns[0].type should be "integer", instead was "INTEGER". at h (notion:// at te (notion:// at Q (notion:// at async se.ensureMigrated (notion:// at async (notion:// at async notion://

1q8448q1 commented on 2021-12-06 19:41 (UTC)

+1 on @zeroconf's issue.

gery_f commented on 2021-12-06 18:45 (UTC)

I can confirm @zeroconf's issue, I have the same one. This is an error message from the Developer Tools: Uncaught (in promise) SqliteSchemaMismatch: schema failed validation: schema.tables.notion.columns[0].type should be "integer", instead was "INTEGER". at h (notion:// at te (notion:// at Q (notion:// at async se.ensureMigrated (notion:// at async (notion:// at async notion://

KamiMortem commented on 2021-12-02 04:02 (UTC)

Anyone know how to fix this?

es.json { constructor: 'Error', errno: -2, syscall: 'open', code: 'ENOENT', path: '/home/emilio/.config/notion-app/cookies.json', stack: "Error: /home/emilio/.config/notion-app/cookies.json: ENOENT: no such file or directory, open '/home/emilio/.config/notion-app/cookies.json'\n" + ' at Object.openSync (fs.js:466:3)\n' + ' at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812)\n' + ' at Object.readFileSync (fs.js:368:35)\n' + ' at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8592)\n' + ' at Object.readFileSync (/opt/Notion/resources/app.asar/node_modules/jsonfile/index.js:61:22)\n' + ' at JsonStore.loadSync (/opt/Notion/resources/app.asar/main/JsonStore.js:37:44)\n' + ' at new JsonStore (/opt/Notion/resources/app.asar/main/JsonStore.js:14:14)\n' + ' at Object.<anonymous> (/opt/Notion/resources/app.asar/main/schemeHandler.js:24:25)\n' + ' at Module._compile (internal/modules/cjs/loader.js:1152:30)\n' + ' at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)' }

zeroconf commented on 2021-11-29 23:49 (UTC) (edited on 2021-11-30 00:04 (UTC) by zeroconf)

Currently notion-app 2.0.16-14 window starts, but keeps continuously loading and never opens completely. Also one CPU core will be loaded maximally. Tried to start from scratch - clean profile (~/.config/notion-app/), same issue. Also reinstalling didn't help. Noticed after closing notion-app window, that several processes left to run. Killed them all and still could not open completely the GUI window - keeps loading endlessly. Also CTRL+R in app window didn't help. Using KDE. Tried also Notion App Enchanced 2.0.16-7 - same issue - keeps loading endlessly and never starts completely. Also tried from clean profile - same issue.

jamezrin commented on 2021-09-17 21:50 (UTC)

@zeroconf Search is working fine for me (via CTRL+F)

Maybe you have a conflicting keybind? I don't know.

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 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:

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:

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.

1. I cloned this repo, i.e
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/
../src/ error: ‘terminate_handler’ has not been declared in ‘std’
    5 | using std::terminate_handler;
      |            ^~~~~~~~~~~~~~~~~
../src/ error: ‘unexpected_handler’ has not been declared in ‘std’
    6 | using std::unexpected_handler;
      |            ^~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:56,
                 from ../src/
/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/ note: in expansion of macro ‘NODE_MODULE’
  158 |   NODE_MODULE(cld, init);
      |   ^~~~~~~~~~~
make: *** [ Release/] 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! 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().

J5lx commented on 2021-05-12 11:00 (UTC)

This package currently fails to build for me:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -2
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t git://
npm ERR! enoent 
npm ERR! enoent 
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

I think it’s missing a build-time dependency on git.

BTW, PKGBUILDS aren’t meant to use msg:

PKGBUILD (notion-app) W: PKGBUILD uses internal makepkg 'msg' subroutine

jamezrin commented on 2021-05-05 21:55 (UTC)

It is a make dependency, so yeah, you can remove it after you installed notion-app.

tar3k commented on 2021-05-05 21:52 (UTC) (edited on 2021-05-05 21:52 (UTC) by tar3k)

As I can see nvm is a dependency for Notion. Today I ran "pacman -Qtd" in order to see the orphan packages and I was gonna remove them. But nvm(nvm 0.38.0-2) is there too. So is there any problem in removing them? I know it's not related to this specific package. But as a newbie I'm asking here.

sosonok commented on 2021-05-03 06:14 (UTC) (edited on 2021-05-03 06:18 (UTC) by sosonok)

Mutter... But It happens in KDE/kwin too (window decoration and systray icon).

jamezrin commented on 2021-05-02 17:14 (UTC)

sosonok, which WM do you use? I have never experienced that before. I would like to try and reproduce it myself

sosonok commented on 2021-05-02 15:21 (UTC)

Hi and thanks for this PKGBUILD. I've installed notion-app previously and worked with no issues, but now I've lost window decoration (I have the native one from my window manager) and system tray icon. Am I missing something?

jamezrin commented on 2021-05-01 12:01 (UTC)

@nullifi3r The enhancer stopped working well before the previous commit. Hopefully today I should have a version of notion-app with the enhancer applied, just wait a little bit.

nullifi3r commented on 2021-05-01 02:13 (UTC) (edited on 2021-05-01 02:14 (UTC) by nullifi3r)

Can't run the enhancer properly Since the previous update, so after applying the fix mintioned Here, and Trying to apply the enhancer from the terminal using the notion-enhancer apply -y command, an error occures reporting the following:

### ERROR ###
Error: notion installation has been corrupted: no executable found.
at module.exports (/usr/lib/node_modules/notion-enhancer/pkg/apply.js:31:15)
at async CAC.<anonymous> (/usr/lib/node_modules/notion-enhancer/bin.js:30:5)
=== END OF LOG ===

Are There any tweaks that can be done to fix this issue?

@jamezrin, I want to Thank you so much because your efforts on this package are REALLY Helping a lot of us.

amarjahin commented on 2021-04-30 13:44 (UTC)

@jamezrin Thanks for checking! @materemias Thank you very much, this worked!

materemias commented on 2021-04-29 18:39 (UTC)

cool @jamezrin this is a better approach @amarjahin you shall try completely removing and resinstalling the extension, in my experience leftovers can cause side effects.

jamezrin commented on 2021-04-28 20:53 (UTC) (edited on 2021-04-28 20:59 (UTC) by jamezrin)

@materemias should be good now, forcing v14 with nvm as per

@amarjahin I saw that, I'm looking into it. EDIT: Actually, I just tested it and spellchecking is working perfectly for me. Please try again.

materemias commented on 2021-04-28 18:59 (UTC)

@itsme you need nodejs-lts-fermium for now... this is a wip

itsme commented on 2021-04-28 17:20 (UTC)

what's the problem?

amarjahin commented on 2021-04-27 15:42 (UTC)

After updating I seem to have lost the spellcheck feature. Any ideas on what might be causing this?

Orangutan commented on 2021-04-27 09:00 (UTC)

I haven’t had the chance to look at the changes in v2.0.13 yet, what was changed to require building it ourselves? Are prebuilt binaries included as part of the Notion dist now?

materemias commented on 2021-04-27 07:19 (UTC)

@jamezrin, fine, with some manual interventions it builds now using prebuilt binaries could be cool, another thing maybe worth to try (I did not come to find how to tinker with the package.json yet) is to replace the custom forked better-sqlite3 package with the recent upstream, which installs properly on node16.

jamezrin commented on 2021-04-26 20:21 (UTC) (edited on 2021-04-28 21:02 (UTC) by jamezrin)

@materemias It's complicated, I could disable the sqlite backend but performance could be affected.

In the other hand, I could use the prebuilt modules ( but that won't work because electron will still try to package with v16 of node.

I'm not sure of what to do, I think the best thing to do is to wait for better-sqlite3 to update to node v16 and replace the installed version with that. But in the meantime the package will not be able to be built... I don't know...

I don't have time to check this in depth today, but tomorrow I will update the package with whatever fix I deem appropiate, in the meantime, please use nodejs-lts-fermium

materemias commented on 2021-04-26 08:53 (UTC)

@jamezrin the new version doesn't build for me, seemingly because of the npm dep better-sqlite3, I guess the version they use is not compatible with nodejs v16 which is the upstream version. going back to nodejs-lts-fermium solves this for now. could the build skip building that binary?

materemias commented on 2021-04-23 08:55 (UTC)

@jamezrin, @Nek.12 thanks a lot for your work

Nek.12 commented on 2021-04-23 05:32 (UTC)

@jamezrin I've already created a pull request in notion-enhancer github with fixes, but the author says he's not going to push the fix anytime soon because he's rewriting the project + he's busy with his schoolwork. In case someone creates a fork of notion-enhancer with all the fixes merged, I may consider migrating notion-enhancer aur package to use that fork, contact me directly if you've done that

jamezrin commented on 2021-04-22 20:20 (UTC) (edited on 2021-04-22 20:21 (UTC) by jamezrin)

@materemias Done

I don't expect anything to be fixed until

In the meantime I plan on forking notion-enhancer and try to at least get it to patch this version successfully.

I plan on doing that this weekend.

materemias commented on 2021-04-22 16:18 (UTC)

@jamezrin enhancer breaks notion binary when it applies, could you please open the issue in notion-enhancer please?

blacksuan19 commented on 2021-04-16 21:24 (UTC) (edited on 2021-04-16 21:28 (UTC) by blacksuan19)

@jamezrin the symlink points to the app.asar in yay cache instead of the one in resources, even after fixing that notion enhancer doesn't work because /usr/bin/notion-app is missing, symlinking /opt/notion-app/notion to /usr/bin/notion-app doesn't work because its a binary

jamezrin commented on 2021-04-16 20:16 (UTC) (edited on 2021-04-16 20:16 (UTC) by jamezrin)

@nfode I also use asdf-vm and I don't have that problem, I might have done something in the past for it to work in that scenario. Anyway, I have reverted that change, it was not necessary.

@materemias electron11 is not needed anymore. You don't need to have electron installed for runtime.

I have made a link so that the app.asar (the file notion-enhancer looks for) is in the same location as previous versions of this package. It might still not work since this package now repackages the whole thing.

If after the new update notion-enhancer still doesn't work let me know and I will open an issue on notion-enhancer.

@Koushik_Sahu thanks for that, I had python2 installed and couldn't reproduce the issue. Now I have a container with a barebones arch install that should allow me to catch these things.

saidneder commented on 2021-04-16 20:01 (UTC) (edited on 2021-04-16 20:01 (UTC) by saidneder)

Hello! thanks for the package jamezrin! Working on Manjaro

begati commented on 2021-04-16 12:17 (UTC) (edited on 2021-04-16 12:19 (UTC) by begati)

Based on @Koushik_Sahu's solution, this worked for me with 2:2.0.16-5 package version.

sudo pacman -S python2 npm nodejs-lts-dubnium
sudo npm install -g env-paths request

materemias commented on 2021-04-16 10:47 (UTC) (edited on 2021-04-16 10:52 (UTC) by materemias)

also could you please make it compatible with enhancer? even with the tweaks mentioned here I see

### ERROR ###
Error: notion installation has been corrupted: no executable found.
     at module.exports (/home/me/.node_modules/lib/node_modules/notion-enhancer/pkg/apply.js:31:15)
     at async CAC.<anonymous> (/home/me/.node_modules/lib/node_modules/notion-enhancer/bin.js:30:5)
=== END OF LOG ===

I think it is missing some basic concepts how enhancer detects installed app... like name of the executable...

nfode commented on 2021-04-16 10:03 (UTC) (edited on 2021-04-16 10:04 (UTC) by nfode)

In the last commit caching was introduced to npm install

HOME="$srcdir/.electron-gyp" npm install --cache "${srcdir}/npm-cache"

When you use a version manager like asdf for managing nodejs versions, the change of the HOME variable is problematic. On change asdf does not work correctly and results in the following error:

==> Recreating package node_modules...
unknown command: npm. Perhaps you have to reshim?

Is it possible to not use the $HOME variable? Else I have to patch the PKGBUILD myself.

materemias commented on 2021-04-16 09:17 (UTC)

Is electron11 still needed for the latest version?

Koushik_Sahu commented on 2021-04-16 05:59 (UTC) (edited on 2021-04-16 05:59 (UTC) by Koushik_Sahu)

If anyone is facing npm issues while update, those issues are due to some npm package using python2 syntax. Install python2 with the following command and the update should work fine

sudo pacman -S python2

ehlegeth commented on 2021-04-16 01:43 (UTC) (edited on 2021-04-16 01:47 (UTC) by ehlegeth)

As @jamezrin mentioned,

the validity check failure for exit-after-windows-closed.patch is resolved by cleaning the yay cache (usually at $HOME/.cache/yay/notion-app) and installing the package again.

Thank you for maintaining this package and fixing the issue.

begati commented on 2021-04-15 23:48 (UTC)

Hi, did you update it? I didn't remember the version I had problem, but the 2:2.0.16-5 is giving me the same error since last log.

jamezrin commented on 2021-04-15 20:17 (UTC)

@tar3k, your issue is completely different to the one @begati is experiencing. Clean your yay cache and then yay -S notion-app

@begati I'm looking at your issue, I'm going to update the package again with something that might fix it, please let me know if that works.

tar3k commented on 2021-04-15 20:03 (UTC) (edited on 2021-04-15 20:15 (UTC) by tar3k)

@begati yep I'm still facing that problem. I tried with: yay -S --mflags --skipinteg notion-app


patching file main/createWindow.js Hunk #1 FAILED at 78 (different line endings). 1 out of 1 hunk FAILED -- saving rejects to file main/createWindow.js.rej ==> ERROR: A failure occurred in build(). Aborting... error making: notion-app

begati commented on 2021-04-15 19:57 (UTC)

Hi! I'm still getting issues with the package. Full log on the link:

jamezrin commented on 2021-04-15 18:19 (UTC)

Package should be OK now, the line endings of the patch file were being changed to LF so I couldn't reproduce the issue locally until I tried cloning again. Sorry for the delay

tar3k commented on 2021-04-15 17:59 (UTC)

@Ahmedtas How to do that? Sorry I don't know and I'm using AUR helper(yay) to install AUR packages.

Ahmedtas commented on 2021-04-15 14:36 (UTC) (edited on 2021-04-15 14:39 (UTC) by Ahmedtas)

update the md5 checksum of : 'exit-after-windows-closed.patch'

begati commented on 2021-04-15 11:41 (UTC)

Getting the same error while updating this package. Skip the MD5 validation did not work.

tar3k commented on 2021-04-15 11:00 (UTC)

@DNAblue2112 Getting the same error while updating AUR packages. Did you find any solution?

Koushik_Sahu commented on 2021-04-15 07:32 (UTC)

Getting the same error as @DNAblue2112. Can I fix this on my end or does the maintainer need to fix this?

DNAblue2112 commented on 2021-04-15 02:09 (UTC) (edited on 2021-04-15 02:13 (UTC) by DNAblue2112)

Hey, got an issue with updating, the patch file fails the validity check and even if you skip that it still fails

==> Validating source files with md5sums... Notion-2.0.16.exe ... Passed notion-app.desktop ... Passed exit-after-windows-closed.patch ... FAILED ==> ERROR: One or more files did not pass the validity check!

==> Patching original sources for fixes... patching file main/createWindow.js Hunk #1 FAILED at 78 (different line endings). 1 out of 1 hunk FAILED -- saving rejects to file main/createWindow.js.rej ==> ERROR: A failure occurred in build(). Aborting...

jamezrin commented on 2021-04-05 22:52 (UTC) (edited on 2021-04-05 22:53 (UTC) by jamezrin)

Thanks for letting me know sr98vn! The way the exe is built in 2.0.16 changed making this package break and I didn't catch it...

Tomorrow I will see if I can update it. Or maybe, seeing that notion-enhancer is still incompatible with newer versions, I might leave the package at 2.0.11 for now...

sr98vn commented on 2021-04-05 21:24 (UTC)

Getting the following error on 1:2.0.16-1

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: notion-app 1:2.0.16-1 (Mon 05 Apr 2021 05:23:36 PM EDT)
==> Retrieving sources...
  -> Found Notion-2.0.16.exe
  -> Found notion-app
  -> Found notion-app.desktop
==> Validating source files with md5sums...
    Notion-2.0.16.exe ... Passed
    notion-app ... Passed
    notion-app.desktop ... Passed
==> Making package: notion-app 1:2.0.16-1 (Mon 05 Apr 2021 05:23:38 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Notion-2.0.16.exe
  -> Found notion-app
  -> Found notion-app.desktop
==> Validating source files with md5sums...
    Notion-2.0.16.exe ... Passed
    notion-app ... Passed
    notion-app.desktop ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Sources are ready.
notion-app-1:2.0.16-1: parsing pkg list...
==> Making package: notion-app 1:2.0.16-1 (Mon 05 Apr 2021 05:23:41 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Extracting app from Windows build...
    throw err;

Error: ENOENT: no such file or directory, open '/home/sravan/.cache/paru/clone/notion-app/src/build-2/resources/app.asar'
    at Object.openSync (node:fs:505:3)
    at Object.module.exports.readArchiveHeaderSync (/usr/lib/node_modules/asar/lib/disk.js:58:17)
    at Object.module.exports.readFilesystemSync (/usr/lib/node_modules/asar/lib/disk.js:84:25)
    at Object.module.exports.extractAll (/usr/lib/node_modules/asar/lib/asar.js:170:27)
    at Command.<anonymous> (/usr/lib/node_modules/asar/bin/asar.js:72:10)
    at Command.listener [as _actionHandler] (/usr/lib/node_modules/asar/node_modules/commander/index.js:408:31)
    at Command._parseCommand (/usr/lib/node_modules/asar/node_modules/commander/index.js:909:14)
    at Command._dispatchSubcommand (/usr/lib/node_modules/asar/node_modules/commander/index.js:860:18)
    at Command._parseCommand (/usr/lib/node_modules/asar/node_modules/commander/index.js:877:12)
    at Command.parse (/usr/lib/node_modules/asar/node_modules/commander/index.js:712:10) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/sravan/.cache/paru/clone/notion-app/src/build-2/resources/app.asar'
==> ERROR: A failure occurred in build().
:: Packages failed to build: notion-app-1:2.0.16-1

jamezrin commented on 2021-04-05 20:36 (UTC)

Yeah, that's a good idea. I will use electron11 which should be provided by electron11-bin.

Orangutan commented on 2021-04-04 20:20 (UTC)

Maybe changing the electron dependency to electron11-bin would be a good idea before we update Notion

materemias commented on 2021-04-04 12:53 (UTC) (edited on 2021-04-05 08:06 (UTC) by materemias)

starting yesterday it only loads a white and empty screen, tried with and without enhancer... do you have an idea how to fix it?

update: as it turned out it was because electron got updated to v12, downgrading it back to v11 resolved the issue for now...

jamezrin commented on 2021-03-22 18:19 (UTC)

Yeah, I'm not updating until it works with 2.0.13, and I completely missed 2.0.11

Orangutan commented on 2021-03-22 18:16 (UTC)

It looks like 2.0.13 is a non-trivial update, it also broke notion-enhancer

blacksuan19 commented on 2020-12-08 23:09 (UTC)

notion-enhancer is working fine as well, all the mods seem to have no issues

Orangutan commented on 2020-12-08 23:07 (UTC)

Seems like switching to the Windows version was a great idea! Haven’t tested it yet but hopefully notion-enhancer is still working as expected

blacksuan19 commented on 2020-12-08 23:06 (UTC)

it updates fine now, also, SPELLCHECK IS WORKING!!

jamezrin commented on 2020-12-08 22:57 (UTC)

Yeah, it was truly broken. I did the update in a rush and messed it all up. Should be fine now. Thanks for letting me know.

blacksuan19 commented on 2020-12-08 22:33 (UTC) (edited on 2020-12-08 22:34 (UTC) by blacksuan19)

am getting this error when updating to 2.0.11

cp: cannot stat '/home/blacksuan19/.cache/yay/notion-app/src/Notion**/*': No such file or directory

I don't see any mention of this directory in the PKGBUILD so no idea why it's happening

Orangutan commented on 2020-12-02 17:25 (UTC)

Trying to update to 2.0.10, 7z seems to fail extracting the .img due to a header error

kaladin commented on 2020-11-11 06:35 (UTC)

Installed on Manjaro KDE. Works flawlessly, including emoji support.

Orangutan commented on 2020-11-01 22:01 (UTC)

I made a notion-enhancer feature request for spell check

jamezrin commented on 2020-10-30 17:21 (UTC)

Yeah, there is no spell check in this build of notion.

ajgraves commented on 2020-10-30 17:19 (UTC)

Is it just me, or am I missing spell check options? I'm not seeing any way to enable spell checking (I've tried right-clicking but there's no option in that menu).

jamezrin commented on 2020-10-15 20:30 (UTC)

Thanks for your awesome development. I have added what you said would be needed to support the notion protocol scheme.

I don't think patching notion ourselves is something I'm willing to maintain myself, it could potentially make it more difficult for notion-enhancer to work and honestly, I'm not very interested on all the tricky business involved.

I have added you as a co-maintainer in case you want to make changes on your own, I don't want to put any responsibilities on top of anyone's shoulders but I just thought you wouldn't mind.

It's awesome notion-enhancer maintainer was so quick to make the patch you suggested. I'm not sure what is the best way to advertise it in this package, or if it shouldn't encourage it at all, but I think it's very useful and a must-have for some people. Anyway, I have added it as an optional dependency.

Orangutan commented on 2020-10-15 15:52 (UTC)

notion-enhancer makes the relevant patch as of v0.10.0

See for more info

This means this package just needs to add the scheme to the desktop file (just adding %u will work, no need to create another desktop file for the scheme handler), update the wrapper so it passes arguments as expected and possibly add notion-enhancer as an optional dependency (this might be a bit weird since there would technically be a dependency loop, but since it’s optional I think it’s fine)

Orangutan commented on 2020-10-14 21:56 (UTC) (edited on 2020-10-15 18:10 (UTC) by Orangutan)

I've managed to get the URL scheme working!

First of all, modify the .desktop:

  • MimeType=x-scheme-handler/notion

  • Exec=/opt/notion-app/notion-app %u

It may be beneficial to separate the URL handler desktop file.

Then have the notion-app wrapper actually pass in arguments:

electron6 app.asar $@

Then the annoying part: modifying the main electron script. Notion actually already supports passing in the URL, but only on Windows (just a simple hard coded if statement). You can update this to something like if (process.platform === "win32" || process.platform === "linux") { The line below should be const url = argv.find(arg => arg.startsWith(config_1.default.protocol + ":"));

To get access to main.js, you can extract the app.asar with npx asar extract app.asar EXTRACT_DIR. To actually use your modified app, you can either pack the asar again and replace the original app.asar, or just replace app.asar in the wrapper with the path to the extracted directory.

I'm not sure what the best way to patch this is, requiring nodejs as a make dependency might be annoying for NVM users (I use It might make sense to makedepend on community/asar, extract, apply a patch part of the repo then pack again during the build process. I've created an issue on notion-enhancer for this so this package only needs to make modifications to the .desktop and wrapper, but without the patch Notion will still be launched when clicking on a notion:// link just without actually opening the relevant page, so it may be unexpected to have this not work without notion-enhancer. If patching wasn't part of this package then maybe making notion-enhancer an optional dependency would make sense (if/when this is implemented to it).

While investigating and figuring this out, I noticed an error relating to spell check, something I haven't got to work. I don't know if this is a Notion issue (I'm fairly new to Notion and have seen plenty of complaints about Notion's spell check) or an issue with this package, but I don't have the error reported in my console when using my browser. Getting spell check to work may require a patch, for example, Discord's spell check does not work on Linux but uses the OS' provided spell check on Windows and macOS.

I appreciate this package so hope I've managed to contribute!

jamezrin commented on 2020-10-14 21:13 (UTC)

@Orangutan I tried fixing this a while back and I realized I was better off rewriting the wrapper app from scratch. Never got to finish it, some day I will continue work on it. supports this package, so they might know how to get the URL scheme to work, they seem to be patching the ASAR contents for other features.

Orangutan commented on 2020-10-14 20:08 (UTC) (edited on 2020-10-14 20:44 (UTC) by Orangutan)

I tried to get the URL scheme working but no luck. It seems macOS uses some native things so that's a dead end and I don't have much experience with electron. Figuring out how the URL is passed to Notion is the most important part as the only ways I can find are native (and I can't find any tools that allow running a macOS/Windows protocol handler on Linux). For example, VSC uses code --open-url %U.

This might even mean you would have to extract the app.asar, patch some files to add the ability to use a CLI arg instead of any native code and then run that. It might also be possible to create a wrapper script that uses the native functions macOS uses but there might not be any tools for that.

Hopefully there are some electron users who know more about how programs usually deal with URL schemes and how to start Notion with a specific URL.

mlec commented on 2020-10-06 07:19 (UTC)

@farzadmf I'm also having this issue. Were you able to resolve?

ljmf00 commented on 2020-10-05 19:04 (UTC)

Can you add the notion-app icon to the /usr/share/pixmaps/ folder instead? Please follow the icon path from freedesktop standard. See more here .

xuanwo commented on 2020-08-07 11:30 (UTC)

-> Orphaned AUR Packages: electron6

electron6 has been removed.

farzadmf commented on 2020-07-27 19:51 (UTC)

@jamezrin thank you for your answer, I figured the fix shouldn't be trivial.

The good thing is that I can directly use my Gmail address to log in (i.e., clicking the "Continue with email" button), so it seems that the "Continue with Google" think is a nice to have, but not mandatory

jamezrin commented on 2020-07-26 23:20 (UTC)

@camilojm You could of googled "notion deb" and you would of got a link to as well as some reddit threads and other things about the matter...

camilojm commented on 2020-07-26 22:16 (UTC)

¿What should i do if i want to create a .deb of this package?

jamezrin commented on 2020-07-25 11:58 (UTC)

@farzadmf Yeah, google does not work. It's not something that's easily fixable because of this being the Mac adapted to work on Linux.

BloodyAltair commented on 2020-07-23 17:17 (UTC) (edited on 2020-07-23 17:17 (UTC) by BloodyAltair)

Please add re2 package as dependency Seems like notion requires

electron6: error while loading shared libraries: cannot open shared object file: No such file or directory

farzadmf commented on 2020-07-22 03:14 (UTC) (edited on 2020-07-22 03:36 (UTC) by farzadmf)

Hi guys,

I have installed this on Manjaro and I have problem logging in with Google. When I click, it opens a browser, but when I log in, it asks me to confirm opening with xdg-open, but when I click the button, nothing happens.

If I close the app first and then login, when I click xdg-open in Chrome, it opens the app, but nothing happens and it's stuck on first screen.

Any help is appreciated, thanks.

DavidArrieta commented on 2020-05-28 21:54 (UTC)

@jamezrin Sure! I had actually been using Notion on Linux for about 2-3 months without any problem until today. And it looks like I'm not the only one, look at this thread

jamezrin commented on 2020-05-28 21:48 (UTC)

@DavidArrieta they look fine to me, but I don't have the latest packages so that might be it. Just in case, did you do the steps listed on ?

DavidArrieta commented on 2020-05-28 21:31 (UTC)

Hey guys I don't think I'm the only one dealing with this but today emojis disappeared. It seems that Notion started using a new set of emojis, and with it, broke the support in Linux. Any ideas how to fix it now?


chrismin13 commented on 2020-03-02 21:43 (UTC)

@davidbailey00 Thanks for the suggestion, it seems like the latest update added that to the desktop file and it works perfectly now! You can't imagine how happy I am it's working again, this irritated me beyond belief.

And yeah, the notion:// URI would be great if implemented, but certainly not a dealbreaker.

davidbailey00 commented on 2020-02-24 03:14 (UTC)

+1 to @gpoole's comment

Also, adding StartupWMClass=Notion to the .desktop file allows GNOME and other DEs to associate the application with its windows (i.e. fixes having duplicate taskbar items when the app is launched) - would be great if this could be added :)

gpoole commented on 2020-02-09 23:40 (UTC)

Oops, my mistake, jumped the gun on my comment about the notion: protocol handler, it doesn't work! It looks like trying to run the notion-app command when an instance is already running causes a crash, and passing the URL when it isn't running doesn't seem to do anything. The crash I was seeing was:

/usr/lib/electron6/[26456]: ../../third_party/electron_node/src/<PerIsolatePlatformData> node::NodePlatform::ForIsolate(v8::Isolate *): Assertion `data' failed.

gpoole commented on 2020-02-09 23:03 (UTC)

It would be great if this could also register a protocol handler for notion: so that the sign in flow through Google still works. The following .desktop did the trick for me:

[Desktop Entry]
Exec=notion-app %u

jdewinne commented on 2020-01-28 19:55 (UTC)

@chrismin13 I can confirm that the icon is missing.

➜  icons pwd
➜  icons find . -name "notion-app.png"
➜  icons 

While I would multiple icons to be under hicolor dir.

jamezrin commented on 2020-01-15 18:01 (UTC)

@chrismin13 that's pretty strange, it's kinda of the opposite for me. Previously I had notion pinned to the taskbar and as soon as I closed it, its icon would be set to a generic one. After the last release it doesn't do that anymore.

chrismin13 commented on 2020-01-15 08:55 (UTC)

Hey, after updating to the latest version the icon on the dock is blank and it's separate from the shortcut to launch the app. Any ideas on how to fix it? I'm using Gnome.


jamezrin commented on 2020-01-14 15:13 (UTC)

@ptrxyz How did you generate the first hash? I ran makepkg -gfp PKGBUILD for these.

==> Generating checksums for source files...

ptrxyz commented on 2020-01-13 13:22 (UTC) (edited on 2020-01-13 13:23 (UTC) by ptrxyz)

Checksums should be this:


id2 commented on 2020-01-03 16:29 (UTC)

Updating from 2.0.5-1 is resulting error below:

==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Notion-2.0.5.dmg
  -> Found notion-app
==> Validating source files with md5sums...
    Notion-2.0.5.dmg ... Passed
    notion-app ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Converting dmg image...

ERROR: No more files

System ERROR:
Unknown error -2147024872
==> ERROR: A failure occurred in build().

chrismin13 commented on 2019-12-22 11:54 (UTC)

Nevermind, it was on my end! Redownloading the dmg fixed the issue. Thanks for the great package!

chrismin13 commented on 2019-12-22 11:33 (UTC)


Updating to the latest version gives me the following error:

==> Retrieving sources...
  -> Found Notion-2.0.5.dmg
  -> Found notion-app
==> Validating source files with md5sums...
    Notion-2.0.5.dmg ... FAILED
    notion-app ... Passed
==> ERROR: One or more files did not pass the validity check!

Is there a chance that Notion updated their dmg and the md5 doesn't match or is it a problem on my end?


chvp commented on 2019-11-10 08:49 (UTC)

electron6 is in community now, so the dependencies can be updated.

cnu commented on 2019-07-28 18:49 (UTC) (edited on 2019-07-28 18:50 (UTC) by cnu)

You can install the latest 1.0.7 version with these changes in PKGBUILD.

@@ -3,7 +3,7 @@
 # code adapted from <>

 pkgdesc="The all-in-one workspace for your notes and tasks"
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 makedepends=('dmg2img' 'p7zip' 'libicns' 'gendesk')
 source=("<>-"${pkgver}".dmg" 'notion-app')

 build() {

pat-s commented on 2019-07-05 06:42 (UTC)

You can optionally run the package with the electron3 package which I uploaded a few days ago to the AUR. Why is it not used by default? -> It takes ~ 1h to build and you need to increase the /tmp folder size for building (sudo mount -o remount,size=20G /tmp/). If it arrives in community one day, I'll switch.

If you installed it, replace electron2 by electron3 in /opt/notion-app/notion-app.

pat-s commented on 2019-05-18 19:39 (UTC)

Notion does not work yet with electron >= 4. I've asked the team but they did not wanted to tell me what electron version notion is running (for whatever reason).

So I will/have to try in unstable intervals if notion added support for newer electron versions.

sacquer commented on 2019-04-26 20:14 (UTC)

Thanks for your work on this!

kbumsik commented on 2019-04-26 11:08 (UTC) (edited on 2019-04-26 11:08 (UTC) by kbumsik)

@ulgens The original Windows/macOS app themselves don't have system tray support though.

pat-s commented on 2019-04-26 11:04 (UTC)

@ulgens what would be the added value of a tray icon in this case?

DrDonkey commented on 2019-04-18 06:35 (UTC)

electron2 command not found. As @pat-s mentioned, install electron2 from repo.

ulgens commented on 2019-04-14 15:48 (UTC) (edited on 2019-04-14 15:48 (UTC) by ulgens)

System tray icon support would be nice. Thanks for your effort :)

pat-s commented on 2019-04-12 18:53 (UTC)

I had to fall back to electron2 as Notion does not start using electron4 (which was updated today). I'll try continuously in the next weeks to see if they added support for electron4.

The electron version change might trigger a relogin prompt.

pat-s commented on 2019-04-07 12:41 (UTC) (edited on 2020-01-15 10:20 (UTC) by pat-s)

If you are missing emoji support, take a look here:

pat-s commented on 2019-04-06 18:33 (UTC)

I fixed the icon issue.

nit commented on 2019-03-25 21:17 (UTC)

I did a fresh install and there is no icon.

pat-s commented on 2019-03-20 21:41 (UTC)

Thanks, I included your changes.

kbumsik commented on 2019-03-20 03:43 (UTC) (edited on 2019-03-20 03:44 (UTC) by kbumsik)

Hi I fixed PKGBUILD to generate a desktop entry file for a better desktop integration. Could you accept this patch?

From 7e212ea52d9987fe6ca0549fa8b89c44c121d1e2 Mon Sep 17 00:00:00 2001
From: Bumsik Kim <>
Date: Wed, 20 Mar 2019 12:36:35 +0900
Subject: Added .desktop entries

 .SRCINFO | 2 ++
 PKGBUILD | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.SRCINFO b/.SRCINFO
index 325da6e..8c8a0d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,8 @@ pkgbase = notion-app
        license = MIT
        makedepends = dmg2img
        makedepends = p7zip
+       makedepends = libicns
+       makedepends = gendesk
        depends = electron
        source =
        source = notion-app
diff --git a/PKGBUILD b/PKGBUILD
index 9ee06cb..842cfe2 100644
@@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
-makedepends=('dmg2img' 'p7zip')
+makedepends=('dmg2img' 'p7zip' 'libicns' 'gendesk')
 source=(""${pkgver}".dmg" 'notion-app')
@@ -22,6 +22,8 @@ build() {
   7z x -y "Notion-"${pkgver}".img" >/dev/null
   cp -r Notion**/* tmp/build
   cp notion-app tmp/build
+  icns2png -x tmp/build/Notion.icns
+  gendesk -f --pkgname="Notion" --pkgdesc="$pkgdesc" --categories=Office --exec=notion-app --icon=/opt/notion-app/Notion_512x512x32.png

 package() {
@@ -29,5 +31,6 @@ package() {
   mkdir -p "$pkgdir/usr/bin" "$pkgdir/opt/notion-app"
   cp -r tmp/build/* "$pkgdir/opt/notion-app/"
   install -D -m755 notion-app "$pkgdir/usr/bin/notion-app"
+  install -Dm644 "$srcdir"/Notion.desktop -t "$pkgdir"/usr/share/applications