Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Alice Riot <alice.writes.wrongs@gmail.com>
To: supmua@googlegroups.com
Cc: masterkorp@masterkorp.net
Subject: Re: Open HTML attachments with chromium
Date: Mon, 29 Jun 2015 10:21:13 -0700 (PDT)	[thread overview]
Message-ID: <290f234d-cd91-429d-bbc8-026222fe15ad@googlegroups.com> (raw)
In-Reply-To: <1435595368-sup-4403@vegeta>


[-- Attachment #1.1: Type: text/plain, Size: 1409 bytes --]

Hey Alfredo,

If you're using linux you can add the following to .sup/hooks/mime-view.rb:

pid = Process.spawn("xdg-open", filename,                                   
                                                     
                     :out => '/dev/null',                                   
                                                      
                     :err => '/dev/null')                                   
                                                      
                                                                            
                                                     
Process.detach pid                                                         
                                                      
                                                                            
                                                     
true     

This will open any filetype in the application associated with it 
(libreoffice documents, pdfs, etc). Just scroll to the file and hit 'enter'.

On Monday, June 29, 2015 at 12:32:49 PM UTC-4, Alfredo Palhares wrote:
>
> Hello everyone, 
>
> Can I set sup to open HTML only emails with chromium ? 
> It a pain in arse to always save the attachment and then open the file 
> with 
> chromium. 
>
> Regards, 
>
> -- 
> Alfredo Palhares 
> GPG/PGP Key Fingerprint 
> 68FC B06A 6C22 8B9B F110 
> 38D6 E8F7 4D1F 0763 CAAD 
>

[-- Attachment #1.2: Type: text/html, Size: 3453 bytes --]

  reply	other threads:[~2015-06-29 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 16:32 Alfredo Palhares
2015-06-29 17:21 ` Alice Riot [this message]
2015-06-29 18:30   ` [sup] " Matthieu Rakotojaona
2015-06-29 20:02   ` Gaute Hope

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=290f234d-cd91-429d-bbc8-026222fe15ad@googlegroups.com \
    --to=alice.writes.wrongs@gmail.com \
    --cc=masterkorp@masterkorp.net \
    --cc=supmua@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox