Registered Member
|
Last week i just learned python and kde programming, by creating plasmoid.
I have followed the tutorial from kde site. Now i'm stuck with KNotification, i just want to display a button at my plasmoid then if i press the button, i want to see a notification like what kopete do when user online. From the documentation i should create notifyrc file. And copied to /usr/kde/4.2/share/apps/appletname/ Since i donot know how to copy the notifyrc automatically at install time, i copied manually. But the notification still not displayed. So my questions are: 1. How to install notifyrc automatically for Python Plasmoid? 2. Why the notification failed? Thanks.
And my notifyrc
|
Registered Member
|
I have solved the no.2 problem.
I can see notification now. First add this line
Second change old KNotification.event line, into this:
|
Registered Member
|
Not really answered to my 1st question.
But i think i donot need to put my notifirc file globally. I just need to put inside my local .kde/share/apps/appletname directory |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell