[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] [Bug 65019] Improper message notification behavior
From:       Jason Keirstead <jason () keirstead ! org>
Date:       2005-01-24 17:47:10
Message-ID: 20050124174710.10749.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=65019         




------- Additional Comments From jason keirstead org  2005-01-24 18:47 -------
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
_______________________________________________
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