Re: [kde] Xmessages being duplicated on next bootup, and logging in



-----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.



Relevant Pages

  • Re: [kde] Xmessages being duplicated on next bootup, and logging in
    ... which shows which distro is running. ... If I don't close these xmessages, the next time I reboot, and login, I ... scripts are run again when logging in. ...
    (KDE)
  • [kde] Xmessages being duplicated on next bootup, and logging in
    ... which shows which distro is running. ... 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 ...
    (KDE)
  • Re: [kde-linux] KWifiManager ?
    ... be able to run a Linux based OS. ... startup scripts which are needed to boot the system as well as other ... configuration files so it is actually a distro. ... there are a limited number of packages that need to have ...
    (KDE)
  • Re: Distro suggestion
    ... but I can't quite fathom out why - as the boot process seems ... then the kernel re-reads it from flash which ... Remove all unneeded init.d scripts - and in that repect, ... but it depends on the distro and what you need to do at power-down time. ...
    (uk.comp.os.linux)
  • Re: Distro suggestion
    ... need any desktop stuff - although I'd install openbox for basic ... Remove all unneeded init.d scripts - and in that repect, ... but it depends on the distro and what you need to do at power-down time. ... Arch Linux installs with a bare minimum from which you build the system ...
    (uk.comp.os.linux)