Comments (9)
Just acknowledging I saw the report which seems pretty clear to me.
This must be an issue with the integration under Fedora 33, but I can't spot at once.
I will have a look, probably in the weekend.
Camiel B.
from cb_thunderlink.
Can you share the contents of the "*.desktop" file referred into the output?
Also, can you manually execute gio mime x-scheme-handler/cbthunderlink cb_thunderlink_cbthunderlink.desktop
and post the output?
Camiel B.
from cb_thunderlink.
Sure! Here's the contents of one of the files (the other one is similar):
[Desktop Entry]
Encoding=UTF-8
Name=cb_thunderlink_thunderlink
Exec=/home/takluyver/Code/cb_thunderlink/cb_thunderlink.py %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=thunderbird
Categories=Application;Network;Email;
MimeType=x-scheme-handler/thunderlink;
StartupNotify=true
Actions=Compose;Contacts
NoDisplay=true
When I ran the gio mime
command this morning, it worked (output: Set cb_thunderlink_cbthunderlink.desktop as the default for x-scheme-handler/cbthunderlink
). After that, xdg-open is working. 🙂
I wonder if Gnome is caching the desktop files, and by the time I came to run the command this morning, it had noticed the new ones? I found a command update-desktop-database
which initially seemed relevant, but the output file described in its man page (~/.local/share/applications/mimeinfo.cache
) doesn't contain any thunderlink entries, even after I've got this working, so possibly Gnome has something similar somewhere else.
from cb_thunderlink.
@takluyver
Thanks for the feedback. That seems weird ...
Does the gio mime ...
command also run correctly when using the script?
(I'd rather think about some shell related problem, but currently it is just the better guessing work ...)
from cb_thunderlink.
Yup, if I run the script again, it's working now:
Executing ['gio', 'mime', 'x-scheme-handler/cbthunderlink', 'cb_thunderlink_cbthunderlink.desktop']
(b'Set cb_thunderlink_cbthunderlink.desktop as the default for x-scheme-handler/cbthunderlink\n', None)
Writing /home/takluyver/.local/share/applications/cb_thunderlink_thunderlink.desktop
Executing ['gio', 'mime', 'x-scheme-handler/thunderlink', 'cb_thunderlink_thunderlink.desktop']
(b'Set cb_thunderlink_thunderlink.desktop as the default for x-scheme-handler/thunderlink\n', None
I can try removing the files, waiting a bit and then running the script again if there's anything we want to investigate.
from cb_thunderlink.
I can't reproduce either ...
So unless you can reproduce and find something to investigate further upon, I will close this "soon".
Camiel B.
from cb_thunderlink.
I've deleted the files, I'm going to try again after I next restart, and see if it happens again.
I also just spotted that you could probably install just one .desktop file, as MimeType
can specify more than one option. E.g. Firefox on my system has:
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
from cb_thunderlink.
Today it installed correctly, so it seems I can't reproduce it. 😕
from cb_thunderlink.
So I guess I can close this issue for now.
Let me know if there would need more help.
Camiel B,
from cb_thunderlink.
Related Issues (20)
- OS integration HOT 1
- Update for Thunderbird >91 HOT 1
- Can't copy from the email/conversation tab ? HOT 1
- Usage guidance missing HOT 2
- Unsupported modifier, resource creation failed. XXX: resource creation failed HOT 1
- cb_thunderlink button does nothing HOT 2
- Confused about installation process for Windows HOT 3
- Installation HOT 3
- no thunderlink line in context menu, linking also does not work HOT 2
- Take advantage of Bug 1824976 and use "thunderbird ext+thunderlink:something" for the WebExtension protocol handler support from the command line HOT 9
- no link created in Thunderbird 115 HOT 3
- bug when using open-mode three pane HOT 2
- No Link Created, No Flyout Menu HOT 4
- Thunderbird Addon page provides 1.7.1 HOT 1
- Links don't start being made until the 'cb_thunderlink' button is pressed. HOT 9
- Links not working in Windows HOT 7
- Enhancement: Drag & Drop HOT 1
- Windows OS Integration is not working for me. HOT 18
- No "unregister" functionality HOT 1
- Not supported by latest thunderbird (128) HOT 2
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 cb_thunderlink.