I have a bash script that can tell kmail, over the dbus, to go get the mail from the local /var/spool/mail/ after procmail has delivered it.
Since switching t tde, that is failing and I've been for to make kmail check periodically.
That command is preset in the script to: Cmd="/usr/bin/qdbus org.kde.kmail /KMail org.kde.kmail.kmail.checkMail"
Since this is TDE, not KDE, is there something in the above line I need to edit to make it function with this TDE version?
Thanks.
Cheers, Gene Heskett
On Friday 06 March 2015 04:51:31 Gene Heskett wrote:
I have a bash script that can tell kmail, over the dbus, to go get the mail from the local /var/spool/mail/ after procmail has delivered it.
Since switching t tde, that is failing and I've been for to make kmail check periodically.
That command is preset in the script to: Cmd="/usr/bin/qdbus org.kde.kmail /KMail org.kde.kmail.kmail.checkMail"
Since this is TDE, not KDE, is there something in the above line I need to edit to make it function with this TDE version?
PS: More info: On checking the man page for qdbus, I find its default output if run from the cli, is a list of the entities that have been checked for presence on this messagebus.
kmail is not in this output list. Only gene@coyote:~$ qdbus|grep tde gene@coyote:~$ qdbus|grep kde org.kde.klauncher org.kde.kded
Is this a build option that was not turned on in this R14 build?
Can I dl the src and rebuild it with this option enabled?
Thanks.
Cheers, Gene Heskett
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA224
On Friday 06 March 2015 04:51:31 Gene Heskett wrote:
I have a bash script that can tell kmail, over the dbus, to go get the mail from the local /var/spool/mail/ after procmail has delivered it.
Since switching t tde, that is failing and I've been for to make kmail check periodically.
That command is preset in the script to: Cmd="/usr/bin/qdbus org.kde.kmail /KMail org.kde.kmail.kmail.checkMail"
Since this is TDE, not KDE, is there something in the above line I need to edit to make it function with this TDE version?
PS: More info: On checking the man page for qdbus, I find its default output if run from the cli, is a list of the entities that have been checked for presence on this messagebus.
kmail is not in this output list. Only gene@coyote:~$ qdbus|grep tde gene@coyote:~$ qdbus|grep kde org.kde.klauncher org.kde.kded
Is this a build option that was not turned on in this R14 build?
Can I dl the src and rebuild it with this option enabled?
Thanks.
Cheers, Gene Heskett
I'm not sure how you were able to use qdbus to control a TDE application...TDE uses DCOP and the equivalent command is: dcop kmail KMailIface checkMail
Tim
On Friday 06 March 2015 12:24:18 Timothy Pearson wrote:
I'm not sure how you were able to use qdbus to control a TDE application...TDE uses DCOP and the equivalent command is: dcop kmail KMailIface checkMail
Tim
I wasn't Tim, I was controlling a KDE kmail, 1.13.5. I'll post back in a few to report how this is working, but after I finish a piece of sugar free blueberry pie, ala mode with some no sugar added ice cream. Feed bag time here at the ranchette.
Thank you.
Cheers, Gene Heskett
On Friday 06 March 2015 18:51:55 Gene Heskett wrote:
On Friday 06 March 2015 12:24:18 Timothy Pearson wrote:
I'm not sure how you were able to use qdbus to control a TDE application...TDE uses DCOP and the equivalent command is: dcop kmail KMailIface checkMail
Tim
I wasn't Tim, I was controlling a KDE kmail, 1.13.5. I'll post back in a few to report how this is working, but after I finish a piece of sugar free blueberry pie, ala mode with some no sugar added ice cream. Feed bag time here at the ranchette.
Thank you.
Cheers, Gene Heskett
And, while it seems to be working, its also stuck in a loop, checking mail many times a second. I just checked the log that my script keeps, and there does not appear to be a stuck "firing pin".
Is there some sort of an ack from kmail that this dcop thing uses to clear the buffer? Looking in htop, my script and its inotifywait helper are both down at the bottom of the list, but kmail is burning 99 to 102% of an Athlon core. I did not restart it after killing the timed mail checks, so I'll do that next.
Back in 5 or less.
Cheers, Gene Heskett
On Friday 06 March 2015 19:50:35 Gene Heskett wrote:
On Friday 06 March 2015 18:51:55 Gene Heskett wrote:
On Friday 06 March 2015 12:24:18 Timothy Pearson wrote:
I'm not sure how you were able to use qdbus to control a TDE application...TDE uses DCOP and the equivalent command is: dcop kmail KMailIface checkMail
Tim
I wasn't Tim, I was controlling a KDE kmail, 1.13.5. I'll post back in a few to report how this is working, but after I finish a piece of sugar free blueberry pie, ala mode with some no sugar added ice cream. Feed bag time here at the ranchette.
Thank you.
Cheers, Gene Heskett
And, while it seems to be working, its also stuck in a loop, checking mail many times a second. I just checked the log that my script keeps, and there does not appear to be a stuck "firing pin".
Is there some sort of an ack from kmail that this dcop thing uses to clear the buffer? Looking in htop, my script and its inotifywait helper are both down at the bottom of the list, but kmail is burning 99 to 102% of an Athlon core. I did not restart it after killing the timed mail checks, so I'll do that next.
Back in 5 or less.
A shutdown & restart of kmail seems to have fixed that. Everything is now running at 1 to 2% of a core now. For a minute or 5, life is good, thank you, all who replied.
Cheers, Gene Heskett