korganizer(3.5) alarm/reminder script argument problem
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm using KDE 3.5.2, and korganizer 3.5, and have a simple problem.
In the advanced alarm configuration section for events and todos, there is a textbox where you can pass arguments to the script that the alarm will run. However, nothing entered in this textbox actually makes it to the script as an argument. I ran a sample bash script which indicates an argument list length of zero, no matter how many arguments were placed in this textbox, quoted or not.
This is not unlike the grayed out Email Reminder Type, the Program file: value is used however the Program arguments: value is ignored. The following patch adds support for this field and any number of arguments. It also allows you to use substitution characters as arguments as well:
%c - Categories
%d - Description
%D - Start date
%e - End date
%l - Location
%o - Organizer
%s - Summary
This patch is not mine, I just adapted it for korganizer 3.5.5, should work for all 3.5.x's though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.