Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is it possible to change account order in main window?

597 views
Skip to first unread message

Balaco

unread,
Feb 7, 2017, 10:05:13 AM2/7/17
to mozilla-suppo...@lists.mozilla.org
I have a few email accounts in Thunderbird. They have a different
priority. I want to put them in a different order.

The account order ia A > B > C > D. I want them to be in D > C > A > B
order. Is there a way to achieve that?

A long time ago, I did this by manually editing the prefs.js (or another
file, in case the name was not this one) in Mozilla Suite. It was
simple: I remember that I just changed the order of each account items,
each had just a few.

Today, reading all items in the prefs.js in my profile, it is not clear
if I can somehow change the account order.

These lines seem interesting for that idea:

===
user_pref("mail.account.account1.identities", "id1");
user_pref("mail.account.account1.server", "server1");
user_pref("mail.account.account10.identities", "id8");
user_pref("mail.account.account10.server", "server10");
user_pref("mail.account.account11.identities", "id9");
user_pref("mail.account.account11.server", "server11");
user_pref("mail.account.account2.server", "server2");
user_pref("mail.account.account4.identities", "id3");
user_pref("mail.account.account4.server", "server4");
user_pref("mail.account.account5.identities", "id2");
user_pref("mail.account.account5.server", "server5");
user_pref("mail.account.account6.identities", "id4");
user_pref("mail.account.account6.server", "server6");
user_pref("mail.account.account7.identities", "id5");
user_pref("mail.account.account7.server", "server7");
user_pref("mail.account.account8.identities", "id6");
user_pref("mail.account.account8.server", "server8");
user_pref("mail.account.account9.identities", "id7");
user_pref("mail.account.account9.server", "server9");
user_pref("mail.account.lastKey", 11);
user_pref("mail.accountmanager.accounts",
"account1,account2,account4,account5,account6,account7,account8,account9,account10,account11");
===

If I change the order of the items in the last line, will it change?
Will it affect anything else (like SMTP servers used for each account)?

A harder set of changes would be editing all the lines starting with
'user_pref("mail.account.accountX'. Will the order change? Will it
affect other aspects of TB?

Chris Ramsden

unread,
Feb 7, 2017, 10:34:39 AM2/7/17
to mozilla-suppo...@lists.mozilla.org
ManuallySortFolders

https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/

I am pretty sure that all you need to do is re-order these:

user_pref("mail.accountmanager.accounts",
"account1,account2,account4,account5,account6,account7,account8,account9,account10,account11");

but even then you have to cross-reference all those numbers to check
which accounts they relate to. The add-on takes care of all this.

--
Chris

S. McDuff

unread,
Feb 7, 2017, 10:35:31 AM2/7/17
to mozilla-suppo...@lists.mozilla.org
I use "Manually-sort-folders" add-on to sort account, folders and extra
settings.

https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/

http://preview.tinyurl.com/3vszb3w

Ed Mullen

unread,
Feb 7, 2017, 10:38:58 AM2/7/17
to mozilla-suppo...@lists.mozilla.org
On 2/7/2017 at 10:04 AM, Balaco's prodigious digits fired off with great
aplomb:
> I have a few email accounts in Thunderbird. They have a different
> priority. I want to put them in a different order.
>
> The account order ia A > B > C > D. I want them to be in D > C > A > B
> order. Is there a way to achieve that?
>

<https://addons.mozilla.org/en-US/thunderbird/addon/folderpane-tools/?src=ss>


--
Ed Mullen
http://edmullen.net/
Are there seeing eye humans for blind dogs?

S. McDuff

unread,
Feb 7, 2017, 10:49:58 AM2/7/17
to mozilla-suppo...@lists.mozilla.org
On 07-Feb-2017 10:36 AM, Ed Mullen wrote:
> On 2/7/2017 at 10:04 AM, Balaco's prodigious digits fired off with great
> aplomb:
>> I have a few email accounts in Thunderbird. They have a different
>> priority. I want to put them in a different order.
>>
>> The account order ia A > B > C > D. I want them to be in D > C > A > B
>> order. Is there a way to achieve that?
>>
>
> <https://addons.mozilla.org/en-US/thunderbird/addon/folderpane-tools/?src=ss>
>
>
>

About this Add-on
Status

This extension is no longer being maintained. Please use this extension
as an alternative:
Manually sort folders

This extension is in maintenance mode. No new features are planned and
only urgent bug fixes will be considered. Patches are welcome; and if
someone wants to take over this project and/or actively contribute code
and features they too are welcome!

Balaco

unread,
Feb 7, 2017, 11:52:42 AM2/7/17
to mozilla-suppo...@lists.mozilla.org
"Works with Thunderbird 45.0 and later". :( My TB is 17.0.5.

I will try changing it manually. The account number X which account it
is is easy to tell. That line has 10 account numbers. TB window has 10
accounts showed, counting the local folders "account".


David E. Ross

unread,
Feb 7, 2017, 12:10:09 PM2/7/17
to mozilla-suppo...@lists.mozilla.org
My experience is that an E-mail account that you designate as the
default will appear at the top of the list.

--
David E. Ross
<http://www.rossde.com/>

Paraphrasing Mark Twain, who was quoting someone else:
There are three kinds of lies: lies, damned lies, and
alternative truths.

Balaco

unread,
Feb 7, 2017, 12:50:27 PM2/7/17
to mozilla-suppo...@lists.mozilla.org
I was about to post the bad results with a test I did. I switched the
positions of the first and second account:

Changed

user_pref("mail.accountmanager.accounts",
"account1,account2,account4,account5,account6,account7,account8,account9,account10,account11");

to

user_pref("mail.accountmanager.accounts",
"account2,account1,account4,account5,account6,account7,account8,account9,account10,account11");

But account 1 is the default, as the next line of prefs.js shows:

user_pref("mail.accountmanager.defaultaccount", "account1");

Back to tests... (:

Balaco

unread,
Feb 7, 2017, 12:57:29 PM2/7/17
to mozilla-suppo...@lists.mozilla.org
Now the test was with two non defaults accounts.

Changed

user_pref("mail.accountmanager.accounts",
"account1,account2,account4,account5,account6,account7,account8,account9,account10,account11");


to

user_pref("mail.accountmanager.accounts",
"account1,account4,account2,account5,account6,account7,account8,account9,account10,account11");


Same order appears in TB window. This is not what defines the account
order. :-/


Disaster Master

unread,
Feb 7, 2017, 2:34:24 PM2/7/17
to support-t...@lists.mozilla.org
On Tue Feb 07 2017 11:52:22 GMT-0500 (Eastern Standard Time), Balaco <balac...@imap.cc> wrote:
"Works with Thunderbird 45.0 and later". :( My TB is 17.0.5.

Time to upgrade, or stop expecting anyone to even try to help you.

Disaster Master

unread,
Feb 7, 2017, 2:36:08 PM2/7/17
to support-t...@lists.mozilla.org
On Tue Feb 07 2017 12:57:11 GMT-0500 (Eastern Standard Time), Balaco <balac...@imap.cc> wrote:
Now the test was with two non defaults accounts.

Changed

user_pref("mail.accountmanager.accounts", 
"account1,account2,account4,account5,account6,account7,account8,account9,account10,account11"); 


to

user_pref("mail.accountmanager.accounts", 
"account1,account4,account2,account5,account6,account7,account8,account9,account10,account11"); 


Same order appears in TB window. This is not what defines the account 
order. :-/

Did you restart TB? You have to when changing the account order, at least when using the Manually Sort Folders option..

Balaco

unread,
Feb 7, 2017, 7:29:13 PM2/7/17
to mozilla-suppo...@lists.mozilla.org

> Did you restart TB? You have to when changing the account order, at
> least when using the Manually Sort Folders option..

Yes, I did. Should it work? My exact steps were: close TB; open and edit
file, save, close editor; open TB.

For all changes I do in prefs.js I use these same steps, since it is
written when TB is closed.

Ken Whiton

unread,
Feb 8, 2017, 5:04:44 AM2/8/17
to mozilla-suppo...@lists.mozilla.org
*-* On Tue, 07 Feb 2017, at 14:52:22 -0200,
*-* In Article
<mailman.2445.1486486355....@lists.mozilla.org>,
*-* Balaco wrote
*-* About Re: Is it possible to change account order in main window?

> Em 07-02-2017 13:34, Chris Ramsden escreveu:
>> On 07/02/2017 15:04, Balaco wrote:
>>> I have a few email accounts in Thunderbird. They have a different
>>> priority. I want to put them in a different order.

>>> The account order ia A > B > C > D. I want them to be in D > C > A > B
>>> order. Is there a way to achieve that?

[ ... ]

>> ManuallySortFolders

>> https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/

[ ... ]

> "Works with Thunderbird 45.0 and later". :(

"Works with Thunderbird 45.0 - 48.0a1 View other versions"

> My TB is 17.0.5.

"View other versions" is a link to a page showing older versions.
The second version listed on that page "Works with Thunderbird 17.0a1
and later".

Ken Whiton
--
FIDO: 1:132/152
InterNet: kenw...@surfglobal.net.INVAL (remove the obvious to reply)

Balaco

unread,
Feb 8, 2017, 12:11:02 PM2/8/17
to mozilla-suppo...@lists.mozilla.org

>>> ManuallySortFolders
>
>>> https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/
>>>
>
> [ ... ]
>
>> "Works with Thunderbird 45.0 and later". :(
>
> "Works with Thunderbird 45.0 - 48.0a1 View other versions"
>
>> My TB is 17.0.5.
>
> "View other versions" is a link to a page showing older versions.
> The second version listed on that page "Works with Thunderbird 17.0a1
> and later".
>
> Ken Whiton

Oh! I missed that! Thank you very much for pointing it!

Ken Whiton

unread,
Feb 11, 2017, 4:37:39 AM2/11/17
to mozilla-suppo...@lists.mozilla.org
*-* On Wed, 08 Feb 2017, at 15:10:58 -0200,
*-* In Article
<mailman.2497.1486573856....@lists.mozilla.org>,
*-* Balaco wrote
*-* About Re: Is it possible to change account order in main window?

>>>> ManuallySortFolders

>>>> https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/

>> [ ... ]

>>> "Works with Thunderbird 45.0 and later". :(

>> "Works with Thunderbird 45.0 - 48.0a1 View other versions"

>>> My TB is 17.0.5.

>> "View other versions" is a link to a page showing older
>> versions. The second version listed on that page "Works with
>> Thunderbird 17.0a1 and later".

> Oh! I missed that! Thank you very much for pointing it!

You're welcome.

Lindsay Graham

unread,
Feb 12, 2017, 5:02:00 AM2/12/17
to support-t...@lists.mozilla.org
David, how do you designate an email account as the default? I can't
see anything in Tools > Account Settings or Tools > Options. Tbird 45.5.1.

Lindsay Graham
Canberra, Australia

Wolf K.

unread,
Feb 12, 2017, 10:14:46 AM2/12/17
to mozilla-suppo...@lists.mozilla.org
Account Settings > highlight account > first pane is the Identity pane
> lower right corner "Manage Identities"

HTH

--
Wolf K.
https://kirkwood40.blogspot.com
It's called "opinion" because it's not knowledge.

PRODEC

unread,
Feb 12, 2017, 10:43:52 AM2/12/17
to support-t...@lists.mozilla.org
This only defines which identity of the same account appears. If I
understand correctly, what Wolf is looking for is a way to define the
order of appearance when different accounts are used - I have the same
issue, manageing eight different accounts in the same Thunderbird
client. They appear in the order that they were created, which is not
coincident with the frequency of use.

Anyone with an idea if (and then how) this can be sorted differently?


El 12/02/2017 a las 16:14, Wolf K. escribió:
> On 2017-02-12 05:01, Lindsay Graham wrote:

Ed Mullen

unread,
Feb 12, 2017, 11:13:35 AM2/12/17
to mozilla-suppo...@lists.mozilla.org
On 2/12/2017 at 10:43 AM, PRODEC's prodigious digits fired off with
great aplomb:
> This only defines which identity of the same account appears. If I
> understand correctly, what Wolf is looking for is a way to define the
> order of appearance when different accounts are used - I have the same
> issue, manageing eight different accounts in the same Thunderbird
> client. They appear in the order that they were created, which is not
> coincident with the frequency of use.
>
>

Have you tried:

<https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/?src=ss>

?

--
Ed Mullen
http://edmullen.net/
Suburbia: Where they tear out the trees & then name streets after them.

Wolf K.

unread,
Feb 12, 2017, 11:22:57 AM2/12/17
to mozilla-suppo...@lists.mozilla.org
On 2017-02-12 10:43, PRODEC wrote:
[...]
> This only defines which identity of the same account appears. If I
> understand correctly, what Wolf is looking for [...]

Nope.

David E. Ross

unread,
Feb 12, 2017, 2:02:02 PM2/12/17
to mozilla-suppo...@lists.mozilla.org
1. On the menu bar, select [Tools > Account Settings].

2. On the left side of the Account Settings window, scroll down the the
bottom and select [Outgoing Server (SMTP)].

3. Under Outgoing Server (SMTP) Settings, select an E-mail account.

4. Select the Set Default button.

5. Select the OK button.

Oops!! That does NOT put the default as the first account. In my case,
the acounts are as follows:

* E-mail accounts, in alphabetical order

* Local Folders

* Blogs & News Feeds

* Newsgroup accounts, in alphabetical order

I cannot tell if the alphabetical ordering is a Thunderbird feature or
if it is merely a coincidence.

Chris Ramsden

unread,
Feb 12, 2017, 2:56:58 PM2/12/17
to support-t...@lists.mozilla.org


On 2017-02-12 10:01, Lindsay Graham wrote:
> David, how do you designate an email account as the default? I can't
> see anything in Tools > Account Settings or Tools > Options. Tbird
> 45.5.1.
>
> Lindsay Graham
> Canberra, Australia
>
Open Account Settings. At the bottom of the pane at the left listing
your accounts there is a button. It used to be labelled "Account
Actions" but in current builds has the unbelievably stupid behaviour of
changing its text label to tell you what you did with it last time you
used it.

Regardless of its label, click it and a drop-down menu will offer
various options, including one to nominate the currently selected
account as the default.

The ManuallySortFolders add-on is my best suggestion for changing the
order of accounts.
--
Chris

David E. Ross

unread,
Feb 12, 2017, 5:15:13 PM2/12/17
to mozilla-suppo...@lists.mozilla.org
Aha!! Unlinke when I set the default via Outgoing Server (SMTP)
Settings, this does indeed change the order of E-mail accounts.
However, it is necessary to terminate Thunderbird and then re-launch it
for the change to become effective.
0 new messages