git ssb

3+

dust / capsule



Stuck on the URI handler

%K0UTaRGwP1rwFhHlIZpXMnb9XWvsd4gjqybgngCwcYM=.sha256
Closedwanderer🌟 opened this issue on 4/22/2016, 11:51:03 AM

I pasted this to ~/.local/share/applications/ssb.desktop

[Desktop Entry]
Name=capsule
GenericName=capsuleURI
X-GNOME-FullName=capsule URI handler
Comment=send capsule URI text to sbot
Exec=/home/user/capsule/os/parser %u
Terminal=false
NoDisplay=true
Type=Application
StartupNotify=true
MimeType=x-scheme-handler/ssbcapsule
Categories=Network;P2P

and all the happens when i try to post with capsule is firefox opens up can complains about have to long of url.

%ugxdjWclFZ3RkEf+VX8P1MOGDQaFmLTuI3yYANG3cjM=.sha256 dust · 4/23/2016, 3:28:36 AM

ohhh wait this is completely my bad! try these two commands and let me know if it solves the issue, and i'll update the docs:

xdg-mime default ssb.desktop x-scheme-handler/ssb-capsule

xdg-mime query default x-scheme-handler/ssb-capsule

the second one should output the filename you just specified, if the association was set properly. no need for explicit pathing in these entries.

%PzSNEU1CNIgVyJB0bEdjBJ8Y78tsqgIj+rm7MJSBJMY=.sha256 wanderer🌟 · 4/23/2016, 7:28:13 PM

hmm now chrome opens ssb-capsule://?body=JTNDZGl2JT... in a newtab but it doesn't do anything else.

%yTE3KoaNNwjbQ4LEIZpAJ8mtMLqvvaCTARl4eK3lKs8=.sha256 wanderer🌟 · 4/23/2016, 7:56:15 PM

ok got it working after clearing out all my chrome setting and spamming patchwork... yay!

%9sxkWEkBgCh30VWZkVtI94q04GvgXxYEvG1nDtQlRvo=.sha256 wanderer🌟 closed this issue · 4/23/2016, 7:56:18 PM
%MMjHJrlE6xsuNYW/flUhfD9SOejcebGXnKRMi9wSa5k=.sha256 keks · 4/23/2016, 10:57:44 PM

https://www.youtube.com/watch?v=anwy2MPT5RE

%B6z3vMSWQlVFrwRUG38UPEu46Vi7Rk/86Krv618kyXA=.sha256 dust · 4/24/2016, 2:32:25 AM

docs updated

Built with git-ssb-web