nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X/browser-based mime-types


From: David Levine
Subject: Re: X/browser-based mime-types
Date: Wed, 12 May 2021 15:49:58 -0700

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]