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

Re: update-alternatives, list alternatives?



On 09/16/2016 10:29 AM, The Wanderer wrote:
On 2016-09-16 at 10:10, Tony Baldwin wrote:

I'm having another headache...

I want to make Icedove the default mail client.
I had this done on the last Jessie system I had (on a now defunct hdd).
But I can't recall how I did it, if it was with update-alternative or
some other means..
And something that's been bothering me for a while is:
I can't seem to find or figure out how to list all the alternatives I
can manage with update-alternatives.
I mean, I can get a list for a particular item, like x-www-browser or
editor, but I want a list of all those possible things to update
(x-www-browser, editor, etc.)
Is there such a list somewhere?

From the man page,

update-alternatives --get-selections

looks like it should do what you want, at least as far as alternative
groups currently present on the system. (Naturally, because any package
can add a new link group - or the administrator can do it manually, if
desired - nothing can provide a list of every possible link group which
could exist.)

I don't see any obvious sign of a generic "mail client" link group
listed there, though.


My apologies to the Wanderer, who will now be seeing this twice, as I mistakenly replied to him off-list... (keep forgetting to use reply-list)

Indeed:
# update-alternatives --get-selections | grep mail
mailx                          auto     /usr/bin/bsd-mailx

but also:
# update-alternatives --config mailx
There is only one alternative in link group mailx (providing /usr/bin/mailx): /usr/bin/bsd-mailx
Nothing to configure.


it seems it won't let me set a mail client

I should probably mention that I'm using chromium as my browser; getting firefox or iceweasel to use icedove is like falling off a log it's so easy. I had it working on the Jessie on an hdd that just died on me (thankfully not until I'd downloaded and made an install disk to install on the other hdd, which I'm using now.)
But in my old age, I can't remember for the life of me how I did it.
I don't believe it was with update-alternatives.
I think I edited some config file somewhere, but for the life of me, I can't recall where.

thanks,
Tony


--
http://tonybaldwin.me
all tony, all the time


Reply to: