[kde-linux] Send popup message to all users logging via KDE

Patrick Trettenbrein patrick.trettenbrein at kdemail.net
Wed Jul 20 20:02:29 UTC 2005


Am Dienstag, 19. Juli 2005 20:18 schrieb Jonathan Chen (jonachen):
> Hi All,
>
> I am wondering what is the best way of sending to users logging into KDE
> graphically from the start.
>
> I am thinking of using the kdialog program (or xdialog) to send the
> message out.
>
> Here is the scenario...
>
> 1) User X starts KDE and KDE is fully loaded up
> 2) Once loading is complete, a popup message appears on their screen
> saying "Please don't do blah..."
> 3) After seeing the message, the message will go away after a click on
> the ok button.

simply put a script for example named dialog.sh into ~/.kde/Autostart. The 
script should contain the follwing

#/bin/bash
kdialog --msgbox "Information you want to provide" --title "title of the 
window"

Hope I could help :)

Patrick
-- 
Patrick Trettenbrein - patrick.trettenbrein at kdemail.net
GnuPG fingerprint: 312B 561F B0E9 1DB5 CE5B A9CB 831A 1994 E9A3 0010
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20050720/3e5273a1/attachment.sig>


More information about the kde-linux mailing list