Changing the reminder values proposed by default
-
- Posts: 4
- Joined: May 31st, 2016, 12:59 am
Changing the reminder values proposed by default
Hello.
When you create or edit an event, or when a reminder shows up, there are several delay values proposed by default for the notification : 0 minutes, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 12 hours, 1 day, 2 days, 1 week ...
I would like to change this set of values in order to include values that suit better my own needs.
How can I do this ?
When you create or edit an event, or when a reminder shows up, there are several delay values proposed by default for the notification : 0 minutes, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 12 hours, 1 day, 2 days, 1 week ...
I would like to change this set of values in order to include values that suit better my own needs.
How can I do this ?
- DanRaisch
- Moderator
- Posts: 127246
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Changing the reminder values proposed by default
Moving to Calendar forum.
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Changing the reminder values proposed by default
Go all the way down to the bottom of the drop down and choose Custom... doesn't work for you?
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
-
- Posts: 4
- Joined: May 31st, 2016, 12:59 am
Re: Changing the reminder values proposed by default
Hello. Sorry if I was not clear : I know that I can change the values by choosing 'custom..' , it is only that I have to do it every time (so dozens of times per week).WaltS48 wrote:Go all the way down to the bottom of the drop down and choose Custom... doesn't work for you?
I wish to choose the default proposed values so that I don't have to choose 'custom...' every time.
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Changing the reminder values proposed by default
I changed the "5 minutes before" reminder to "8 minutes before" with the userChromeJS extension.
http://userchromejs.mozdev.org/
http://userchromejs.mozdev.org/faq.html
Instructions:
1. install userChromeJS extension
2. close email client
3. create or edit the userChrome.js file in the chrome folder in the profile folder
4. open email client with the -purgecaches command line option
i.e.
thunderbird.exe -purgecaches
ThunderbirdPortable.exe -purgecaches
You have to purge the caches only after creating or editing the userChrome.js file.
Reference
http://dxr.mozilla.org/comm-esr52/searc ... s-menuitem
userChromeJS 2.0 (signed)
Lightning 5.4.4
Thunderbird 52.4.0
Windows 7 SP1 32-bit
Code: Select all
/* Thunderbird userChrome.js */
(function(){
if (location == "chrome://calendar/content/calendar-event-dialog.xul") {
setTimeout(function () {
var iframe = document.getElementById("lightning-item-panel-iframe");
var doc = iframe.contentDocument;
var menuitem = doc.getElementById("reminder-5minutes-menuitem");
menuitem.setAttribute("label", "8 minutes before");
menuitem.setAttribute("length", "8");
}, 1000);
}
})();
http://userchromejs.mozdev.org/faq.html
Instructions:
1. install userChromeJS extension
2. close email client
3. create or edit the userChrome.js file in the chrome folder in the profile folder
4. open email client with the -purgecaches command line option
i.e.
thunderbird.exe -purgecaches
ThunderbirdPortable.exe -purgecaches
You have to purge the caches only after creating or editing the userChrome.js file.
Reference
http://dxr.mozilla.org/comm-esr52/searc ... s-menuitem
userChromeJS 2.0 (signed)
Lightning 5.4.4
Thunderbird 52.4.0
Windows 7 SP1 32-bit
-
- Posts: 4
- Joined: May 31st, 2016, 12:59 am
Re: Changing the reminder values proposed by default
Hello.
I suspect that the list of default values must be somewhere in a config file and that all there is to do, is edit this file. It is indeed probably not hard-coded (or at least, that is not the way I would do it).
The question is : where is this file ?
I suspect that the list of default values must be somewhere in a config file and that all there is to do, is edit this file. It is indeed probably not hard-coded (or at least, that is not the way I would do it).
The question is : where is this file ?
- syldub
- Posts: 7
- Joined: January 24th, 2014, 8:44 am
Re: Changing the reminder values proposed by default
This feature is still needed in 2020 with Thunderbird 68.
It would be great if we could edit the default reminder list in order (for instance I use a "45 min" reminder more frequently than "30 min").
Being able to add new custom reminder time in the list would really be awesome!
It would be great if we could edit the default reminder list in order (for instance I use a "45 min" reminder more frequently than "30 min").
Being able to add new custom reminder time in the list would really be awesome!
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Changing the reminder values proposed by default
Try this:
userChromeJS by jikamens
http://addons.thunderbird.net/thunderbird/addon/986610
You do not need to purge the caches with jikamens' version.
userChromeJS by alta88 (obsolete)
http://userchromejs.mozdev.org/
http://userchromejs.mozdev.org/faq.html
Reference
http://searchfox.org/comm-central/searc ... -separator
http://searchfox.org/comm-central/sourc ... ersion.txt
Annoying that there is no source code available for Thunderbird 68 online.
Code: Select all
/* Thunderbird userChrome.js */
(function () {
if (location == "chrome://calendar/content/calendar-event-dialog.xul") {
setTimeout(function () {
var iframe = document.getElementById("lightning-item-panel-iframe");
var doc = iframe.contentDocument;
var menupopup = doc.getElementById("item-alarm-menupopup");
var menuseparator = doc.getElementById("reminder-minutes-separator");
var menuitem = doc.createElement("menuitem");
menuitem.setAttribute("id", "reminder-45minutes-menuitem");
menuitem.setAttribute("label", "45 minutes before");
menuitem.setAttribute("length", "45");
menuitem.setAttribute("origin", "before");
menuitem.setAttribute("relation", "START");
menuitem.setAttribute("unit", "minutes");
menupopup.insertBefore(menuitem, menuseparator);
}, 1000);
}
})();
http://addons.thunderbird.net/thunderbird/addon/986610
You do not need to purge the caches with jikamens' version.
userChromeJS by alta88 (obsolete)
http://userchromejs.mozdev.org/
http://userchromejs.mozdev.org/faq.html
Reference
http://searchfox.org/comm-central/searc ... -separator
http://searchfox.org/comm-central/sourc ... ersion.txt
Annoying that there is no source code available for Thunderbird 68 online.
- WaltS48
- Posts: 5141
- Joined: May 7th, 2010, 9:38 am
- Location: Pennsylvania, USA
Re: Changing the reminder values proposed by default
Annoying that there is no source code available for Thunderbird 68 online.
What is this?
https://archive.mozilla.org/pub/thunder ... .1/source/
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Changing the reminder values proposed by default
I want a comm-esr68 on searchfox.
Searchfox (source code indexing tool)
http://searchfox.org/
Add comm-esr68 to searchfox
http://bugzilla.mozilla.org/show_bug.cgi?id=1577406
Edit:
Nice. The bug got resolved a few days ago.
Reference
http://searchfox.org/comm-esr68/search? ... -separator
http://searchfox.org/comm-esr68/source/ ... ersion.txt
Searchfox (source code indexing tool)
http://searchfox.org/
Add comm-esr68 to searchfox
http://bugzilla.mozilla.org/show_bug.cgi?id=1577406
Edit:
Nice. The bug got resolved a few days ago.
Reference
http://searchfox.org/comm-esr68/search? ... -separator
http://searchfox.org/comm-esr68/source/ ... ersion.txt
- syldub
- Posts: 7
- Joined: January 24th, 2014, 8:44 am
Re: Changing the reminder values proposed by default
If the "Custom Alarms" extension could be updated to support Thunderbird 68, it would be great !!
https://addons.thunderbird.net/en-US/th ... tom-alarms
It does what we need here.
https://addons.thunderbird.net/en-US/th ... tom-alarms
It does what we need here.
-
- Posts: 848
- Joined: February 12th, 2005, 8:33 pm
Re: Changing the reminder values proposed by default
I don't think you can change all the values, except maybe through convoluted tricks. But there are two ways to achieve partly what you want.
Under Tools –> Options, go to the Calendar –> Alarms tab.
There you have various default settings, including at the end : "How much time before an event should I be reminded" (I'm translating from French).
In my case, I have set it to 3 hours. It means that the menu shows me the default notification options, but "3 hours" is preselected.
Another option for imported calendars is to set reminder settings at the source. For instance, I have one Google calendar without reminders and one with reminders @2 days. Events I create in these calendars (in Thunderbird) follow the rules I have set in Google.
Under Tools –> Options, go to the Calendar –> Alarms tab.
There you have various default settings, including at the end : "How much time before an event should I be reminded" (I'm translating from French).
In my case, I have set it to 3 hours. It means that the menu shows me the default notification options, but "3 hours" is preselected.
Another option for imported calendars is to set reminder settings at the source. For instance, I have one Google calendar without reminders and one with reminders @2 days. Events I create in these calendars (in Thunderbird) follow the rules I have set in Google.
Michel Gagnon
Montréal (Québec, Canada)
Montréal (Québec, Canada)