The Export "Email Images" option - what about adding mutt?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

The Export "Email Images" option - what about adding mutt?

Chris Green
Digikam's Export "Email Images" option is exactly what I need except
that it can't send images using mutt.  How easy would it be to add
mutt as an option?  Is it scriptable?

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

jdd@dodin.org
Le 07/09/2016 à 16:17, Chris Green a écrit :
> Digikam's Export "Email Images" option is exactly what I need except
> that it can't send images using mutt.  How easy would it be to add
> mutt as an option?  Is it scriptable?
>
there is an option "default" that exports to system default. Should work
if mutt have a reasonable syntax

jdd
Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

Chris Green
jdd <[hidden email]> wrote:
> Le 07/09/2016 à 16:17, Chris Green a écrit :
> > Digikam's Export "Email Images" option is exactly what I need except
> > that it can't send images using mutt.  How easy would it be to add
> > mutt as an option?  Is it scriptable?
> >
> there is an option "default" that exports to system default. Should work
> if mutt have a reasonable syntax
>
That doesn't work too well on anything but a KDE system because
"default" is the KDE desktop's idea of default.  I'm running Digikam
on xubuntu and my default mail program *is* mutt but it's not picked
up by Digikam.

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

Anders Lund
onsdag den 7. september 2016 19.16.57 CEST skrev Chris Green:

> jdd <[hidden email]> wrote:
> > Le 07/09/2016 à 16:17, Chris Green a écrit :
> > > Digikam's Export "Email Images" option is exactly what I need except
> > > that it can't send images using mutt.  How easy would it be to add
> > > mutt as an option?  Is it scriptable?
> >
> > there is an option "default" that exports to system default. Should work
> > if mutt have a reasonable syntax
>
> That doesn't work too well on anything but a KDE system because
> "default" is the KDE desktop's idea of default.  I'm running Digikam
> on xubuntu and my default mail program *is* mutt but it's not picked
> up by Digikam.

You can install kde systemsettings and set it there. But shouldn't it follow
an XDG standard?

Anders
Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

maderios
In reply to this post by Chris Green
On 09/07/2016 08:16 PM, Chris Green wrote:

> That doesn't work too well on anything but a KDE system because
> "default" is the KDE desktop's idea of default.  I'm running Digikam
> on xubuntu and my default mail program *is* mutt but it's not picked
> up by Digikam.

'galternatives' package allows you to set default programs, e.g browser,
mail client,...
 
http://www.debianadmin.com/galternatives-graphical-setup-tool-for-alternatives-configuration-in-ubuntu.html
--
Maderios
Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

Chris Green
In reply to this post by Anders Lund
Anders Lund <[hidden email]> wrote:

> onsdag den 7. september 2016 19.16.57 CEST skrev Chris Green:
> > jdd <[hidden email]> wrote:
> > > Le 07/09/2016 à 16:17, Chris Green a écrit :
> > > > Digikam's Export "Email Images" option is exactly what I need except
> > > > that it can't send images using mutt.  How easy would it be to add
> > > > mutt as an option?  Is it scriptable?
> > >
> > > there is an option "default" that exports to system default. Should work
> > > if mutt have a reasonable syntax
> >
> > That doesn't work too well on anything but a KDE system because
> > "default" is the KDE desktop's idea of default.  I'm running Digikam
> > on xubuntu and my default mail program *is* mutt but it's not picked
> > up by Digikam.
>
> You can install kde systemsettings and set it there. But shouldn't it follow
> an XDG standard?
>
I have an XDG standard file for mutt but how do I make it the default
Email app for KDE?  I don't want to have to install kde systemsettings
just to allow me to set the default mail program.  Is there not a text
config file that I can put the setting in?

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

Chris Green
In reply to this post by maderios
maderios <[hidden email]> wrote:

> On 09/07/2016 08:16 PM, Chris Green wrote:
>
> > That doesn't work too well on anything but a KDE system because
> > "default" is the KDE desktop's idea of default.  I'm running Digikam
> > on xubuntu and my default mail program *is* mutt but it's not picked
> > up by Digikam.
>
> 'galternatives' package allows you to set default programs, e.g browser,
> mail client,...
>
> http://www.debianadmin.com/galternatives-graphical-setup-tool-for-alternatives-configuration-in-ubuntu.html 

As I keep saying mutt is *already* my default EMail program, I don't
think galternatives will change this.  I need to set the default in
the KDE configuration somehow.

... and anyway I don't think galternatives does what one wants anyway,
it's a configuration gui for the 'alternatives' system which allows one
(for example) to make 'vi' load one's favourite vi clone out of the
many available.  It doesn't set the default program for a particular
task.

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

Stuart T Rogers
You dont say what version of digikam this relates to. My understanding
of V5 is that it uses the mailto protocol which should open the system
default application for that process. What happens with other apps which
use mailto?

Stuart

On 08/09/16 09:50, Chris Green wrote:

> maderios <[hidden email]> wrote:
>> On 09/07/2016 08:16 PM, Chris Green wrote:
>>
>>> That doesn't work too well on anything but a KDE system because
>>> "default" is the KDE desktop's idea of default.  I'm running Digikam
>>> on xubuntu and my default mail program *is* mutt but it's not picked
>>> up by Digikam.
>>
>> 'galternatives' package allows you to set default programs, e.g browser,
>> mail client,...
>>
>> http://www.debianadmin.com/galternatives-graphical-setup-tool-for-alternatives-configuration-in-ubuntu.html
>
> As I keep saying mutt is *already* my default EMail program, I don't
> think galternatives will change this.  I need to set the default in
> the KDE configuration somehow.
>
> ... and anyway I don't think galternatives does what one wants anyway,
> it's a configuration gui for the 'alternatives' system which allows one
> (for example) to make 'vi' load one's favourite vi clone out of the
> many available.  It doesn't set the default program for a particular
> task.
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: The Export "Email Images" option - what about adding mutt?

Chris Green
Stuart T Rogers <[hidden email]> wrote:
> You dont say what version of digikam this relates to. My understanding
> of V5 is that it uses the mailto protocol which should open the system
> default application for that process. What happens with other apps which
> use mailto?
>
Ah!

I'm running the default xubuntu 16.10 version of digikam which is
4.12.0.

Other programs using mailto (e.g. firefox) get to run mutt OK.

Maybe I'll just wait until my digikam gets updated to 5.x, it's not
*that* important, just a minor annoyance.  As it is I can manually
select thunderbird when using Digikam's export to Email and, as I do
have thunderbird installed (though I don't use it) it does work OK.

Thanks!  :-)

--
Chris Green
·