Comments (5)
Try this: https://api.cirrus-ci.com/v1/artifact/task/6146237603774464/deb/out/debs/notionenhanced_2.0.11-8_amd64.deb (and uninstall notion-enhanced
)
from notion-linux.
Thank you so much!
from notion-linux.
Thanks for the report, this seems to occur for the notion-desktop
package as well so isn't related to Notion Enhancer.
Based on my research, this issue seems to be caused by a bug in xdg-settings
which runs when Electron registers the notion:
protocol, which allows you to login with Google or Apple via a web browser and return to the app.
I've found these two issues which are relevant: electron/electron#20382 and signalapp/Signal-Desktop#3602
Signal has worked around the xdg-settings
bug by removing the dash in their app name, so similarly I would need to change notion-desktop
to notiondesktop
... however this would probably break people's settings due to the folder name changing.
Right now I'm not really prioritising development of this app so I'm not sure I can fix this for now, but I think you can do the following to make a custom build which is fixed:
- open
scripts/enhance.sh
andscripts/_variables-2.sh
- replace every
notion-enhanced
withnotionenhanced
in those files - run the following:
scripts/build.sh scripts/enhance.sh scripts/package-deb.sh -n notionenhanced
from notion-linux.
By the way, I ended up fixing all Electron-based apps by putting this script (~/.local/bin/xdg-settings
) in my PATH
:
#!/bin/bash
if [[ "$1 $2" == "set default-url-scheme-handler" ]]; then
DEFAULT_BROWSER="$(xdg-mime query default text/html)"
/usr/bin/xdg-settings "$@"
if [[ "$(xdg-mime query default text/html)" != "$DEFAULT_BROWSER" ]]; then
echo "Reverting the default web browser to $DEFAULT_BROWSER"
xdg-mime default "$DEFAULT_BROWSER" text/html
fi
exit 0
fi
exec /usr/bin/xdg-settings "$@"
from notion-linux.
I'm afraid I am no longer supporting this project, so I will not be looking into this issue. Please see the updated README for more information. I will leave the issue open, in case of a new maintainer who is able to look into it.
from notion-linux.
Related Issues (20)
- Not on debian, Fedora or openSUSE, how to install HOT 5
- Is this really necessary? HOT 2
- Release tracker: Notion 2.0.15 HOT 1
- Ubuntu repo seems to be offline HOT 1
- Ubuntu apt package repository is not working properly. HOT 3
- How to hide the menu bar on top ? is it possible ? HOT 2
- Index files returned error 404 HOT 3
- Debian repository returning 500 error, prevents install HOT 4
- Disable spell check HOT 1
- yum install notion-desktop HOT 13
- Login via Google doesn't work HOT 8
- Bad font rendering in dark mode. HOT 3
- GPG Error for release HOT 2
- Notion Enhanced not working HOT 5
- Any ALT+... combination opens menu HOT 1
- Unable to install using dnf on Fedora HOT 4
- apt update fails: Failed to fetch https://notion.davidbailey.codes/debs/en 404 Not Found [IP: 34.206.8.7 443]
- rpm version install package can never be fully downloaded HOT 2
- unable to resolve host address ‘notion.davidbailey.codes’ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-linux.