[kdepim-users] Re: Current state of KDE-PIM
Ingo Klöcker
kloecker at kde.org
Sat Mar 19 13:35:03 GMT 2011
On Saturday 19 March 2011, Myrosia Dzikovska wrote:
> >> > Moreover, if you want to have real dialogs then configure the
> >> > notifications (e.g. via Settings->Configure Notifications in
> >> > KMail) to run the command
> >> > kdialog --error "some error message"
> >>
> >> This makes more sense. But how do I pass the text of the actual
> >> error message to it? Is there a code like "%s" that I could use?
> >> Not obvious to me from the interface.
> >
> > Hmm. For the option to use output via speech %m will be substituted
> > with the text of the notification. I don't know whether %m also
> > works for "Run command". The help doesn't mention any placeholders
> > for "Run command".
>
> I tried %m, does not work. In fact, does something very weird - it
> keeps replacing %m with %25m in that field (if I click OK and then go
> back to re-edit it). So does not look to me like any % code would
> work there.
Hmm. Too bad.
> I guess the workaround is to make it display a dialog which says
> "error occurred, check your notifier to see what the actual message
> is". But that is kludgy, and notifier popups sometimes cut off
> message text (at least on my work computer, which is 4.4). Sigh -
> maybe I will finally get to filing this as a bug/feature request
> soon.
Another workaround would be to log the notifications to a file and then
use a Plasma widget (e.g. File Watcher) for showing the contents of this
file. Maybe in combination with the dialog.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20110319/3f31a4c5/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
More information about the kdepim-users
mailing list