nmh-workers
[Top] [All Lists]

Re: X/browser-based mime-types

2021-05-12 17:50:12
Michael wrote:

I do this in .mh_profile via:
  mhshow-show-text/html: google-chrome '%f'

although sometimes the file goes missing before the browser can display it.

I use this:
    #: The sleep prevents removing the temp file before the quick-returning
    #: google-chrome --new-window opens it.
    mhshow-show-text/html: google-chrome --new-window %F 2>/dev/null; sleep 0.2

But, I also login to my desktop from my laptop via ssh (and
X-forwarding-challenged mosh, sigh).  Has anyone come up with
version of "open this URL" (or open this file) that will talk through the
forwarded X connection, and get *that* browser to open the link,
rather than use some browser shortcut that opens it on the wrong desktop
That should just work if you forward X through ssh but I must be
missing what you're trying to do.

David

<Prev in Thread] Current Thread [Next in Thread>