Re: Current state of KDE-PIM
Ingo Klöcker <[email protected]>
| Newsgroups | gmane.comp.kde.users.pim |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ KDE PIM users mailing list Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEABECAAYFAk2EsQgACgkQGnR+RTDgudhifQCgppWcesWfs+MsXhx0T4Fb28yv OHwAmwZAxBeYrtUBnwNqCDtHc542hEdZ =6pSg -----END PGP SIGNATURE-----