-
Notifications
You must be signed in to change notification settings - Fork 57
notion-enhanced
updates ~/.config/mimeapps.list
unnecessarily.
#42
Comments
Thanks for the report, this seems to occur for the Based on my research, this issue seems to be caused by a bug in I've found these two issues which are relevant: electron/electron#20382 and signalapp/Signal-Desktop#3602 Signal has worked around the 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:
|
Try this: https://api.cirrus-ci.com/v1/artifact/task/6146237603774464/deb/out/debs/notionenhanced_2.0.11-8_amd64.deb (and uninstall |
Thank you so much! |
By the way, I ended up fixing all Electron-based apps by putting this script ( #!/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 "$@" |
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. |
describe the bug
I'm currently using
notion-enhanced
installed from your apt repository in Ubuntu 20.04 LTS. Whenever I launchnotion-enhanced
by clicking the launcher from GNOME desktop, it updates or adds the following line in my~/.config/mimeapps.list
file:I explicitly associate my web browser with
text/html
(e.g.text/html=x-www-browser.desktop
), but it keeps getting reverted bynotion-enhanced
whenever it launches.expected behaviour
notion-enhanced
should never touch mymimeapps.list
file.platform
Ubuntu 20.04.2 LTS
enabled enhancements
The text was updated successfully, but these errors were encountered: