Stuck on the URI handler
%K0UTaRGwP1rwFhHlIZpXMnb9XWvsd4gjqybgngCwcYM=.sha256
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.
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.
hmm now chrome opens ssb-capsule://?body=JTNDZGl2JT... in a newtab but it doesn't do anything else.
ok got it working after clearing out all my chrome setting and spamming patchwork... yay!
docs updated
Built with git-ssb-web