Package Details: notion-app 1:2.0.7-3

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://www.notion.so/desktop
Keywords: kanban markdown notes task
Licenses: MIT
Submitter: pat-s
Maintainer: jamezrin
Last Packager: jamezrin
Votes: 18
Popularity: 1.70
First Submitted: 2019-02-27 14:00
Last Updated: 2020-02-24 20:27

Pinned Comments

pat-s commented on 2019-07-05 06:42

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-04-07 12:41

If you are missing emoji support, take a look here: https://pat-s.me/post/emoji-support-for-notion-so-on-linux/

Latest Comments

« First ‹ Previous 1 2 3

kbumsik commented on 2019-04-26 11:08

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

pat-s commented on 2019-04-26 11:04

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

DrDonkey commented on 2019-04-18 06:35

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

ulgens commented on 2019-04-14 15:48

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

pat-s commented on 2019-04-12 18:53

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

If you are missing emoji support, take a look here: https://pat-s.me/post/emoji-support-for-notion-so-on-linux/

pat-s commented on 2019-04-06 18:33

I fixed the icon issue.

nit commented on 2019-03-25 21:17

I did a fresh install and there is no icon.

pat-s commented on 2019-03-20 21:41

Thanks, I included your changes.

kbumsik commented on 2019-03-20 03:43

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 <k.bumsik@gmail.com>
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 = https://desktop-release.notion-static.com/Notion-1.0.5.dmg
        source = notion-app
diff --git a/PKGBUILD b/PKGBUILD
index 9ee06cb..842cfe2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
 url="https://www.notion.so/desktop"
 license=('MIT')
 depends=('electron')
-makedepends=('dmg2img' 'p7zip')
+makedepends=('dmg2img' 'p7zip' 'libicns' 'gendesk')
 source=("https://desktop-release.notion-static.com/Notion-"${pkgver}".dmg" 'notion-app')
 md5sums=('e742641e62819e7ffe48c5cae09c4ee1'
          'c6e87309eebe3dfdd206e4c399fffebb')
@@ -22,6 +22,8 @@ build() {
   7z x -y "Notion-"${pkgver}".img" >/dev/null
   cp -r Notion**/Notion.app/Contents/Resources/* 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
 }

--