-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nigel Henry wrote: > I have 2 scripts in ~/.kde/autostart. 1 is to put an xmessage up on the > desktop, which shows which distro is running. The other shows when the distro > was last updated. > > If I don't close these xmessages, the next time I reboot, and login, I end up > with 2 instances of both these xmessages, seemingly because the scripts are > run again when logging in. showing scripts would be of help. from 'man xmessage'; +++ The program is typically used by shell scripts to display information to the user or to ask the user to make a choice. +++ would cause me to believe that it is waiting for you to do something. like close it out. and where regular scripts to a file placed in desktop directory may work better. no seemingly about it. > I'm quite happy for the KDE session to be saved, as there may be apps open, > that I still want to be open when I next login, but is there something I can > add to these scripts that run the xmessages, so that if they are already > detected as being on the desktop when logging in, these scripts will not be > run again. if you do not want message there unless there is a change, which you should know about, you could use a temporary file for output, do a -f, echo to a second file and compare them, if not cp -f newer to desktop. terse, but something to give you something to think about. peace out. tc,hago. g . **** in a free world without fences, who needs gates. learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html.gz 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFJKEac+C4Bj9Rkw/wRAkxMAJ9AgxMSe7JzbdxItA0pzBccYJ+zqQCgkCre I+QGvK32Aank50NaAvwYS3g= =Hnmq -----END PGP SIGNATURE----- ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.