with the org capture firefox extension broken, i recalled this old thread, thinking it might be a fix, and i think i understand the issue. so i thought i would summarize here in this one post.
i think i was not clear in this thread in a few places. apologies for that. 1. [current need, urgent] i want to select text with mouse in firefox, then have plain text and url save to an org entry. this would then replace the need for the firefox org-capture extension. it seems like emacsclient calling org-capture can grab the selected /text/. [presumably in a capture template via a % format or via lisp that calls gui-get-selection or something like that.] a cli command like this sounds good. but saving the /url/ seems not possible in a cli command because it will not have access to firefox's current url. otoh, if there is such a thing as "a cli command that will ask firefox for its current url" then it is possible. if such a solution is possible then i can make it controllable completely by mouse [i often cannot use keyboard] merely by adding the cli command [such as an emacsclient call] to my fluxbox menu. that would be a complete solution. 2. in this thread i thought it would also be great to select text with mouse /in any running application in x/, then have selection be saved to an org entry. this might be possible with the above possible solution, minus the url issue. i can maybe work around the /firefox/ url issue by manually selecting the url in the url bar after selecting text. cli command creates second entry in org; i clean up manually in emacs later. kind of dumb but maybe will work. does this sound like a sensible thing to try to do to work around the fact that the org capture extension is broken? i like the idea that it will maybe be robust to firefox changes and doesn't require me to yet again try to figure out org-protocol. [i never got org protocol to work in firefox. which is why i liked the org capture extension.]