[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [kopete-devel] [Bug 65019] Improper message notification behavior
From: Jason Keirstead <jason () keirstead ! org>
Date: 2005-01-24 17:48:19
Message-ID: 200501241348.19210.jason () keirstead ! org
[Download RAW message or body]
On Monday 24 January 2005 12:48 pm, Christopher J.Bottaro wrote:
> The motive for this is because I use multiple desktops with the "do not
> show taskbar entries from other desktops" option checked. Passive windows
> and sounds are deficient because they can occur while I'm away from my
> computer (which happens often).
So why don't you just use KNotify to run a script that checks via dcop if your
screensaver is active, if it is, then use KDialog to issue an alert. Took me
like 2 mins to write:
#!/bin/sh
MSG=$1
CONTACT=${MSG#incoming message from}
if [ `dcop kdesktop KScreensaverIface isEnabled` == "false" ]; then
msg="%e";
kdialog --title "Kopete - New Message" --yesno "$MSG \nDo you want to
respond?";
if [ "?" == "0" ]; then
dcop kopete KopeteIface messageContact `kdialog --title
"Kopete-New message" --inputbox "Enter your message:" "Hi, $CONTACT"` \;
fi
fi
--
If you wait by the river long enough, eventually
you will see the bodies of all your enemies float by.
- Sun Tzu
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic