Giter Site home page Giter Site logo

valin4tor / notion-linux Goto Github PK

View Code? Open in Web Editor NEW
970.0 28.0 55.0 258 KB

Native Notion packages for Linux

Home Page: https://notion.davidbailey.codes

License: MIT License

Shell 89.19% Dockerfile 1.66% EJS 9.15%
notion linux ubuntu debian fedora opensuse electron

notion-linux's Introduction

September 2021: Recommended alternative

https://github.com/notion-enhancer/notion-repackaged

Notion Desktop builds with Notion Enhancer for Windows, MacOS and Linux. Direct port of Notion is also available for Linux.

11 June 2021: End of support

I no longer use either Notion or Linux. Furthermore, recent updates to Notion have made it difficult for me to support all the existing variants (e.g. arm64, enhanced), due to new native modules and incompatibilities with Notion Enhancer. If you would like to maintain this project, please contact me by opening an issue, or through my website.

For Arch Linux users, I recommend using notion-app. For other Linux users, I recommend using the Notion web app. For Notion Enhancer users, its maintainer reports that a Chrome extension may be coming soon. You can also continue using the current latest version indefinitely, as the current hosting solution is free on my end.


13 February 2021: Action is required for existing Debian, Ubuntu and Linux Mint users

Notion for Linux

Native Notion packages for Linux, built from Notion's Windows installer.

Install

Run the following commands in a terminal to install Notion. Packages are available for Intel/AMD and ARM64.

To install Notion with Notion Enhancer mods applied, replace notion-desktop with notion-enhanced in the commands below.

Ubuntu, Debian, Linux Mint

wget https://notion.davidbailey.codes/notion-linux.list
sudo mv notion-linux.list /etc/apt/sources.list.d/notion-linux.list
sudo apt update && sudo apt install notion-desktop

Fedora, CentOS

wget https://notion.davidbailey.codes/notion-linux.repo
sudo mv notion-linux.repo /etc/yum.repos.d/notion-linux.repo
sudo dnf install notion-desktop

openSUSE

sudo zypper ar -r https://notion.davidbailey.codes/notion-linux.repo
sudo zypper --gpg-auto-import-keys install notion-desktop

Build

Install requirements

  1. Install Node.js, e.g. using NVM:

    nvm install node
  2. Install NPM version 7:

    npm install -g npm@7
  3. Install other packages required for building the app, e.g. using apt:

    sudo apt install p7zip-full imagemagick make g++ fakeroot rpm

    Only Debian-based distributions are officially supported for builds.

Build notion-desktop

notion-desktop is the vanilla Notion package.

To produce an AMD64 build, run the following:

scripts/build.sh        # always run
scripts/package-deb.sh  # run to produce a DEB
scripts/package-rpm.sh  # run to produce an RPM

To produce an ARM64 build, run the following:

scripts/build.sh -b arm64        # always run
scripts/package-deb.sh -b arm64  # run to produce a DEB
scripts/package-rpm.sh -b arm64  # run to produce an RPM

Once complete, you should have DEB and/or RPM packages in the out directory.

Build notion-enhanced

notion-enhanced is the Notion package with Notion Enhancer mods applied.

To produce an AMD64 build, run the following:

scripts/build.sh                           # always run
scripts/enhance.sh                         # always run
scripts/package-deb.sh -n notion-enhanced  # run to produce a DEB
scripts/package-rpm.sh -n notion-enhanced  # run to produce an RPM

To produce an ARM64 build, run the following:

scripts/build.sh -b arm64                           # always run
scripts/enhance.sh -b arm64                         # always run
scripts/package-deb.sh -n notion-enhanced -b arm64  # run to produce a DEB
scripts/package-rpm.sh -n notion-enhanced -b arm64  # run to produce an RPM

Once complete, you should have DEB and/or RPM packages in the out directory.

notion-linux's People

Contributors

dchw avatar dependabot[bot] avatar gurpreetatwal avatar haydn-jones avatar jmporchet avatar signed-log avatar valin4tor 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notion-linux's Issues

Checking for app update too often

Happy new year and thanks for your efforts !

I just give your package a first try, and from the console output it seems like Notion is checking for updates every minute or so:

18:06:42.508 › Checking for app update
18:06:42.733 › No app update available
18:07:42.793 › Checking for app update
18:07:43.012 › No app update available
18:08:43.071 › Checking for app update
18:08:43.471 › No app update available
18:09:43.532 › Checking for app update
18:09:43.917 › No app update available
18:10:43.979 › Checking for app update
18:10:44.339 › No app update available
18:11:44.398 › Checking for app update
18:15:42.449 › No app update available

This seems far too much to me.
Would you have any way of lowering it to e.g. once every few hours ? Or should it be reported upstream ?

Cheers

apt update fails: Failed to fetch https://notion.davidbailey.codes/debs/en 404 Not Found [IP: 34.206.8.7 443]

apt update fails:

Ign:35 https://davidbailey00.fury.land/apt  Release                            
Ign:38 https://notion.davidbailey.codes/debs  Packages                         
Ign:38 https://davidbailey00.fury.land/apt  Packages                           
Ign:39 https://notion.davidbailey.codes/debs  Translation-en                   
Ign:39 https://davidbailey00.fury.land/apt  Translation-en                     
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US                
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US             
Get:38 https://davidbailey00.fury.land/apt  Packages [1.530 B]            
Get:41 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [51,4 kB]
Ign:39 https://notion.davidbailey.codes/debs  Translation-en                   
Ign:39 https://davidbailey00.fury.land/apt  Translation-en                     
Get:42 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [58,0 kB]
Get:43 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.464 B]
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US                
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US                  
Ign:39 https://notion.davidbailey.codes/debs  Translation-en                    
Ign:39 https://davidbailey00.fury.land/apt  Translation-en                
Hit:25 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease    
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US           
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:39 https://notion.davidbailey.codes/debs  Translation-en
Ign:39 https://davidbailey00.fury.land/apt  Translation-en
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:39 https://notion.davidbailey.codes/debs  Translation-en
Ign:39 https://davidbailey00.fury.land/apt  Translation-en
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:39 https://notion.davidbailey.codes/debs  Translation-en
Ign:39 https://davidbailey00.fury.land/apt  Translation-en
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:39 https://notion.davidbailey.codes/debs  Translation-en
Ign:39 https://davidbailey00.fury.land/apt  Translation-en
Ign:40 https://notion.davidbailey.codes/debs  Translation-en_US
Ign:40 https://davidbailey00.fury.land/apt  Translation-en_US
Fetched 972 kB in 3s (301 kB/s)
Reading package lists... Done
E: Failed to fetch https://notion.davidbailey.codes/debs/en  404  Not Found [IP: 34.206.8.7 443]
E: Failed to fetch https://notion.davidbailey.codes/debs/en_US  404  Not Found [IP: 34.206.8.7 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.

But install still works when run again:

user@computer:~$ apt install notion-desktop 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  boinc-client golang-1.10-go golang-1.10-src golang-src libboinc7 libgsoap-2.8.60 libllvm10:i386 libllvm11 libllvm11:i386
  libnvidia-cfg1-440 libnvidia-cfg1-450 libnvidia-common-435 libnvidia-common-440 libnvidia-common-450 libnvidia-common-455
  libnvidia-compute-440 libnvidia-compute-450 libnvidia-decode-440 libnvidia-decode-450 libnvidia-encode-450
  libnvidia-extra-450 libnvidia-fbc1-450 libnvidia-gl-450 libnvidia-gl-450:i386 libnvidia-ifr1-440 libnvidia-ifr1-450
  libpciaccess-dev libstd-rust-1.47 libvncserver1 libxdamage1:i386 linux-headers-4.15.0-106
  linux-headers-4.15.0-106-generic linux-headers-4.15.0-115 linux-headers-4.15.0-115-generic linux-headers-4.15.0-122
  linux-headers-4.15.0-122-generic linux-headers-4.15.0-124 linux-headers-4.15.0-124-generic linux-headers-4.15.0-130
  linux-headers-4.15.0-130-generic linux-headers-4.15.0-135 linux-headers-4.15.0-135-generic linux-headers-4.15.0-136
  linux-headers-4.15.0-136-generic linux-headers-4.15.0-140 linux-headers-4.15.0-140-generic linux-headers-4.15.0-143
  linux-headers-4.15.0-143-generic linux-headers-5.4.0-45-generic linux-headers-5.4.0-52-generic
  linux-headers-5.4.0-54-generic linux-headers-5.4.0-60-generic linux-headers-5.4.0-65-generic
  linux-headers-5.4.0-66-generic linux-headers-5.4.0-70-generic linux-headers-5.4.0-73-generic
  linux-hwe-5.4-headers-5.4.0-45 linux-hwe-5.4-headers-5.4.0-52 linux-hwe-5.4-headers-5.4.0-54
  linux-hwe-5.4-headers-5.4.0-60 linux-hwe-5.4-headers-5.4.0-65 linux-hwe-5.4-headers-5.4.0-66
  linux-hwe-5.4-headers-5.4.0-70 linux-hwe-5.4-headers-5.4.0-73 nvidia-compute-utils-450 nvidia-dkms-450
  nvidia-kernel-common-450 nvidia-kernel-source-450 nvidia-utils-450 python-fasteners python-monotonic python-pexpect
  python-ptyprocess xserver-xorg-video-nvidia-450
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  gir1.2-gnomekeyring-1.0 libgnome-keyring0
The following NEW packages will be installed:
  notion-desktop
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 97,7 MB of archives.
After this operation, 407 MB of additional disk space will be used.
Get:1 https://davidbailey00.fury.land/apt  notion-desktop 2.0.11-8 [97,7 MB]

redirect does not work

for some reason, notion disconnected from my account and now I can't log in anymore.
my account is logged with google, but after granting access to notion, the redirect does not work and google account does not log.

SYSTEM
Ubuntu 20.10

unable to resolve host address ‘notion.davidbailey.codes’

This message appears to me
-2021-10-22 18:35:58-- https://notion.davidbailey.codes/notion-linux.list Resolving notion.davidbailey.codes (notion.davidbailey.codes)... failed: Temporary failure in name resolution. wget: unable to resolve host address 'notion.davidbailey.codes'
When I try to run this
wget https://notion.davidbailey.codes/notion-linux.list

[Feature Request] Backward and Forward buttons and shortcuts

I would like to request a way to go to the previous page and forward page. Basically what the browser allows me to do.

Two buttons on the top menu and the respective keyboard and mouse shortcuts would be ideal.

Thank you for your attention.

Is the menubar necessary?

I was wondering if the menubar is needed for some specific purpose. And if it bothers others as well.

I think it's just one line of code to change this, but I'm still trying to get my new setup to work properly.

`notion-enhanced` updates `~/.config/mimeapps.list` unnecessarily.

describe the bug

I'm currently using notion-enhanced installed from your apt repository in Ubuntu 20.04 LTS. Whenever I launch notion-enhanced by clicking the launcher from GNOME desktop, it updates or adds the following line in my ~/.config/mimeapps.list file:

text/html=notion-enhanced.desktop

I explicitly associate my web browser with text/html (e.g. text/html=x-www-browser.desktop), but it keeps getting reverted by notion-enhanced whenever it launches.

expected behaviour

notion-enhanced should never touch my mimeapps.list file.

platform

Ubuntu 20.04.2 LTS

enabled enhancements

  • notion-enhancer code
    • auto-maximise windows
  • tweaks
    • integrated scrollbars
    • thicker bold text
    • scroll database toolbars
  • indentation lines
    • style: soft
    • bulleted list
    • numbered list
    • to-do list
    • toggle list

Bad font rendering in dark mode.

I have been using lots of electron applications but Notion-Linux has some font rendering issue especially in dark mode (white text on dark background). Please click on image or open in new window for better preview.

notionlinuxxx

I have attached some screenshots of various application.

Discord:
notion-linux4

Visual Studio Code:
notion-linux1

Obsidian:
notion-linux

Bitwarden also had a similar issue
bitwarden/desktop#608
https://community.bitwarden.com/t/improve-font-rendering-in-desktop-app-by-setting-electron-background/16430
https://github.com/electron/electron/blob/master/docs/faq.md#the-font-looks-blurry-what-is-this-and-what-can-i-do
https://stackoverflow.com/questions/39748484/blurry-text-electron

Login via Google doesn't work

I tried to log in via Google and it failed while redirecting me back form the browser with error that there is no application registered for URL notion:/oauth2callback...

I solved this by creating file ~/.local/share/applications/Notion.desktop with contents

[Desktop Entry]
Type=Application
Name=Notion desktop application
Exec=notion-desktop %u
Icon=notion-desktop
StartupNotify=false
MimeType=x-scheme-handler/notion;
Type=Application
Categories=GNOME;GTK;Utility;

and then running

xdg-mime default Notion.desktop x-scheme-handler/notion

Later I found /usr/share/applications/notion-desktop.desktop (which, curiosly, is still returned as a default handler by command xdg-mime query default x-scheme-handler/notion) and compared it to the one I created and it seems that missing MimeType declaration might be the issue.

Benefits

What's the difference between the notion site that I use on Chome and this repo's notion? Is it the offline capability?

Warning when running `apt update`

After adding the new apt repository on Ubuntu 20.10 (Groovy) and running apt update, I get the following warning message from apt:

😎  λ ~/ wget https://notion.davidbailey.codes/notion-linux.list                                                      
--2021-02-03 13:17:33--  https://notion.davidbailey.codes/notion-linux.list                                           
Resolving notion.davidbailey.codes (notion.davidbailey.codes)... 13.56.125.91, 104.248.50.87, 2604:a880:400:d0::72a:f0
01, ...                                                                                                               
Connecting to notion.davidbailey.codes (notion.davidbailey.codes)|13.56.125.91|:443... connected.                     
HTTP request sent, awaiting response... 200 OK                                                                        
Length: 69 [application/octet-stream]                                                                                 
Saving to: ‘notion-linux.list’                                                                                        
                                                                                                                      
notion-linux.list             100%[===============================================>]      69  --.-KB/s    in 0s       
                                                                                                                      
2021-02-03 13:17:33 (830 KB/s) - ‘notion-linux.list’ saved [69/69]                                                    
                                                                        
😎  λ ~/ sudo mv notion-linux.list /etc/apt/sources.list.d/notion-linux.list                                          
😎  λ ~/ sudo apt update                                                                                              
Hit:1 http://us.archive.ubuntu.com/ubuntu groovy InRelease                                                            
Hit:3 http://prerelease.keybase.io/deb stable InRelease                                                               
Get:4 http://us.archive.ubuntu.com/ubuntu groovy-security InRelease [110 kB]                                          
Hit:5 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu groovy InRelease                                   
Hit:6 http://apt.pop-os.org/proprietary groovy InRelease                                                              
Get:7 http://us.archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]                                           
Get:8 http://us.archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]                                         
Hit:9 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                  
Get:10 https://pkgs.tailscale.com/stable/ubuntu groovy InRelease                                                      
Hit:11 https://packages.microsoft.com/repos/code stable InRelease                                                     
Hit:12 http://ppa.launchpad.net/system76/pop/ubuntu groovy InRelease                                                  
Ign:13 https://notion.davidbailey.codes/debs stable InRelease                                                         
Hit:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease                                               
Hit:14 https://packages.riot.im/debian default InRelease                                                              
Hit:15 https://notion.davidbailey.codes/debs stable Release                                                           
Hit:16 http://ppa.launchpad.net/samuel-w1/vorta/ubuntu groovy InRelease                                               
Ign:17 https://notion.davidbailey.codes/debs stable Release.gpg                                                       
Hit:18 http://ppa.launchpad.net/slgobinath/safeeyes/ubuntu groovy InRelease                                           
Get:19 http://us.archive.ubuntu.com/ubuntu groovy-security/universe Sources [10.8 kB]                                 
Get:20 http://us.archive.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [4,692 B]                       
Get:21 http://us.archive.ubuntu.com/ubuntu groovy-security/main DEP-11 48x48 Icons [7,290 B]                          
Get:22 http://us.archive.ubuntu.com/ubuntu groovy-security/main DEP-11 64x64 Icons [10.8 kB]                          
Get:23 http://us.archive.ubuntu.com/ubuntu groovy-security/main DEP-11 128x128 Icons [25.6 kB]                        
Get:24 http://us.archive.ubuntu.com/ubuntu groovy-security/universe amd64 Packages [52.4 kB]                          
Get:25 http://us.archive.ubuntu.com/ubuntu groovy-security/universe Translation-en [23.4 kB]                          
Get:26 http://us.archive.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [2,820 B]                   
Get:27 http://us.archive.ubuntu.com/ubuntu groovy-updates/main amd64 DEP-11 Metadata [35.1 kB]                        
Get:28 http://us.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 DEP-11 Metadata [18.4 kB]                    
Get:29 http://us.archive.ubuntu.com/ubuntu groovy-updates/multiverse amd64 DEP-11 Metadata [2,468 B]                  
Get:30 http://us.archive.ubuntu.com/ubuntu groovy-backports/universe amd64 DEP-11 Metadata [600 B]                    
Fetched 524 kB in 5s (110 kB/s)          
Reading package lists... Done
Building dependency tree        
Reading state information... Done
64 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://notion.davidbailey.codes/debs stable InRelease' doesn't support architecture 'i386'

It doesn't seem to affect installing the notion-desktop package. Just an annoying warning message.

Unable to install using dnf on Fedora

Hi! I'm getting the following error when trying to install notion-linux using dnf on Fedora 34:

[MIRROR] notion-desktop-2.0.11-8.x86_64.rpm: Curl error (18): Transferred a partial file for https://davidbailey00.fury.land/yum/files/ver_1SeTzs/notion-desktop-2.0.11-8.x86_64.rpm [transfer closed with 22370259 bytes remaining to read]

I tried both versions ('notion-desktop ' and 'notion-enhanced') and both of them failed to install with the same error message.

I don't think the problem is on my system because I haven't encountered any problems installing other packages.

Can not open the file as [PE] archive

I've followed all the steps you've mentioned in the docs and have also double checked that all the dependencies you listed were properly installed. However, on running your script, the error 'Can not open the file as [PE] archive' is popping up.
I'm not sure where the problem might be and would appreciate if pointed in the right direction. Brilliant work, by the way.

yum install notion-desktop

in the readme , you show "dnf install notion-desktop" as the way to install notion on RHEL/Fedora/CentOS.

I tried yum install instead since I am on centos7, but it fails

Could I be getting something wrong?

GPG Error for release

bash notion-linux.sh
--2021-05-22 23:43:11--  https://notion.davidbailey.codes/notion-linux.list
Resolving notion.davidbailey.codes (notion.davidbailey.codes)... 18.192.76.182, 3.125.252.47, 2a03:b0c0:3:d0::d25:d001, ...
Connecting to notion.davidbailey.codes (notion.davidbailey.codes)|18.192.76.182|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59 [application/octet-stream]
Saving to: ‘notion-linux.list’

notion-linux.list          100%[=====================================>]      59  --.-KB/s    in 0s      

2021-05-22 23:43:12 (6.30 MB/s) - ‘notion-linux.list’ saved [59/59]

Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://repository.spotify.com stable InRelease                                                    
Hit:3 http://prerelease.keybase.io/deb stable InRelease                                                 
Hit:4 http://us.archive.ubuntu.com/ubuntu focal InRelease                                               
Hit:5 http://ppa.launchpad.net/gnuradio/gnuradio-releases/ubuntu focal InRelease                        
Hit:7 http://us.archive.ubuntu.com/ubuntu focal-security InRelease                                      
Hit:8 http://ppa.launchpad.net/micahflee/ppa/ubuntu focal InRelease                                     
Hit:9 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease                                     
Hit:10 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                      
Hit:11 http://apt.pop-os.org/proprietary focal InRelease                                                
Hit:12 http://ppa.launchpad.net/phoerious/keepassxc/ubuntu focal InRelease                              
Hit:13 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                    
Hit:14 http://ppa.launchpad.net/system76/pop/ubuntu focal InRelease                               
Hit:15 http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu focal InRelease                   
Get:16 http://dl.google.com/linux/earth/deb stable Release [933 B]          
Get:17 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B]
Ign:6 https://davidbailey00.fury.land/apt  InRelease      
Ign:18 https://davidbailey00.fury.land/apt  Release
Ign:19 https://davidbailey00.fury.land/apt  Packages
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Get:19 https://davidbailey00.fury.land/apt  Packages [1,530 B]
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Ign:17 http://dl.google.com/linux/earth/deb stable Release.gpg
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Ign:20 https://davidbailey00.fury.land/apt  Translation-en_US
Ign:21 https://davidbailey00.fury.land/apt  Translation-en
Reading package lists... Done
W: GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository 'http://dl.google.com/linux/earth/deb stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I put the commands into a .sh file, executed them and got the error you see above.
I ran the commands one by one, same thing happened. Then, I was curious to know if the sudo apt install notion-desktop would work and it installed with no problems. Not sure why the error occurs.

Looking for work!

Hi David

I am the founder of a startup in London, looks like you are "Looking for work!"

We are very early stage working on the problem of wildfires globally. Would be great to chat.

Index files returned error 404

When I tried to install it (Ubuntu, Debian, Linux Mint procedure), it returned this (for both notion-desktop and notion-enhancer):

E: Failed to fetch https://notion.davidbailey.codes/debs/en  404  Not Found [IP: 34.224.179.39 443]
E: Failed to fetch https://notion.davidbailey.codes/debs/en_US  404  Not Found [IP: 34.224.179.39 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Edit: I'm sorry, I just saw this is explained here. Although, maybe those steps could be in the installation instructions.

Google login not working

Issue

When logging in to Notion via Google, the application fails to continue login after it has been handled by the browser.

Details

Expected behaviour

When clicking 'Continue with Google' during login, the application opens a browser for authentication, I can select / sign in to my Google account, then Notion will redirect to a link which is handled by the app, logging me in to my Notion account in the app.

Experienced Behaviour

When clicking 'Continue with Google' during login, the application opens a browser and I am able to authenticate my account. Once authenticated, Notion redirects to an application link, which I am able to select to be opened by Notion. Opening the link with Notion does nothing, and when I switch back to the Notion window, the login page is still visible

Info

  • OS: Pop!_OS 20.04 LTS
  • Browser: Firefox 81.0.2
  • notion-deb-builder: Notion 2.0.7+ (tried both win & mac variants)

Requested change

As this is a wrapper (a very much appreciated one! 😁) I don't expect you to find a way to let the application support this, although it would be cool if the readme noted that Google login is not supported.

Any ALT+... combination opens menu

I use two languages and switch with alt+shift combination. But if I try to switch language in app it also opens menu and I cannot type anything, until I press ESC. This is VERY annoying, because I need to use both languages.

Can not log in

I downloaded the deb and installed it, but when I log in, I can't return to the notion from the browser. I click Open xdg-open and nothing happens. How should this be solved.

Notion fails to launch (cookies.json)

Hi

When I install and lunch I get the following error:
2020-11-09 13:37:26.805] [info] Checking for update [2020-11-09 13:37:26.857] [info] Error reading /home/james/.config/notion-desktop/cookies.json Error: ~/.config/notion-desktop/cookies.json: ENOENT: no such file

The notion-desktop folder exists and contains other folders but not cookies.json

Release tracker: Notion 2.0.15

Issues blocking this release:

  • Notion 2.0.13+ depends on a fork of better-sqlite3 which doesn't seem to build properly for arm64 - instead it produces x86_64 binaries and the app fails to launch on arm64 (see below)
  • Use my MacBook instead of CI to produce arm64 builds and upload these to Gemfury manually
  • Notion Enhancer doesn't work out-of-the-box so the notion-enhanced package is broken - see hack notion-enhancer v0.10.2 to work with notion's v2.0.13 app for how to work around this
  • Notion Enhancer needs to be updated to support 2.0.13+

Non-blockers, but nice to have:

  • better-sqlite3 takes a very long time to build - possible to use prebuilt binaries?

Notes:

  • Notion 2.0.14 appears to be incompatible with Electron 12 - same with 2.0.15?

Disable spell check

I use Notion for taking notes in Spanish, but my OS is in English. Using this app, all the words are underlined in red, since they are not recognized as correct spelling (probably because it's spanish). I want to disable it, but I don't find any language or spell check settings within the app. Is there anything I can do? Thanks,

updating notion-linux.list

Hey,

When attempting to install from the ubuntu repository, sudo apt update would ignore the repository.

I had to make the following change in notion-linux.list:

deb [trusted=yes] https://notion.davidbailey.codes/debs/ stable main

to

deb [arch=amd64, trusted=yes] https://notion.davidbailey.codes/debs/ stable main

Not sure what the most flexible/universal way of tackling this issue is but I wanted to raise this in case others are having this problem!

Feature: builds from macOS packages

Support building from macOS packages - maybe there will be some differences from the Windows builds, e.g. login with Google, spellchecking

Not on debian, Fedora or openSUSE, how to install

Thanks for this great software.

When I was on Ubuntu, this worked swiftly. However I migrated to solus some months ago and I wonder:

  • Are there instructions to generate generic binaries, appimages or snap packages for this?

Building from source fails due to weird subfolder names

Hi! First of all, thanks a lot for repackaging this app for Ubuntu!

I was trying to build it from source and got the following error (shown in the picture).

image

On further debugging, I figured out that this was due to some odd subfolder names (they showed up as "??" in ls). After changing the folder names and rewriting the bash script, everything works fine.

Any ideas on how to make it work with the default folder names?

Notion Enhanced not working

Notion Enhanced list does not work:
I've tried both:

wget https://notion.davidbailey.codes/notionenhanced.list
sudo mv notionenhanced.list /etc/apt/sources.list.d/notionenhanced.list
sudo apt update && sudo apt install notionenhanced

and

wget https://notion.davidbailey.codes/notion-enhanced.list
sudo mv notion-enhanced.list /etc/apt/sources.list.d/notion-enhanced.list
sudo apt update && sudo apt install notion-enhanced

but the links don't work. I get this error::

--2021-05-23 12:10:19--  https://notion.davidbailey.codes/notionenhanced.list
Resolving notion.davidbailey.codes (notion.davidbailey.codes)... 206.189.50.60, 159.65.118.56, 2a03:b0c0:3:d0::d23:e001, ...
Connecting to notion.davidbailey.codes (notion.davidbailey.codes)|206.189.50.60|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-23 12:10:19 ERROR 404: Not Found.

Offline Mode

Hi David,

Thank you for the notion porting for linux, it works really well but I have read your blog and it you had noted that offline mode works. But I have installed it and offline mode doesn't work.

Is that a problem on it own or how do I need to activate it?

Ubuntu repo seems to be offline

Hey,
first of all: Thank you for providing this Linux version of Notion and pre-built enhanced packages.

During a routine "sudo apt update", I noticed that I couldn't actually reach your notion-enhanced repo (incl. the translations as you can see in the screenshot). Going to your Gemfury page gave me several 404s. I removed your repo for now.

If you have the time, I would be very grateful to see this project be kept alive.

210314_0120

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.