How to exclude xmessages being saved when session is saved

Nigel Henry cave.dnb2m97pp at aliceadsl.fr
Thu Dec 25 21:07:17 GMT 2008


On Tuesday 23 December 2008 19:50, Nigel Henry wrote:
> I may have already asked this, but still havn't resolved the problem.
>
> In ~/.kde/autostart, I have 2 xmessages set up, which show up on the
> desktop when logging in. As I have multiple distros on this machine, one
> xmessage simply tells me which distro I've booted up. The other xmessage
> shows when the distro was last updated.
>
> Now I'm quite happy with the KDE session being saved, but the problem is
> with the xmessages which are saved, because when next logging in to KDE,
> the shellscripts which produce the xmessages are being run again, and I end
> up with multiple instances of the xmessages on the desktop.
>
> Someone suggested setting a timeout for the xmessages, but that's not
> really what I'm looking for.
>
> Is there some way to exclude the xmessages being saved, but still save the
> rest of the session when logging out of KDE?
>
> Perhaps I'm asking a bit much, but worth asking the question.
>
> Nigel.
>
> btw. this is on both KDE3, and KDE4.

Replying to my own question, I appear to have resolved the problem, at least 
on KDE3, see below.

Open Control Centre. Click on KDE Components, then when extended, Session 
Manager. On the advanced section of the page, just add, xmessage to the blank 
line, then click apply, and job done.

when you next logout, any xmessage windows will not be saved as part of the 
session save.

I assume this will work the same on KDE4, and will try it out when I next have 
F9, or Kubuntu 8.10 booted up.

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




More information about the kde mailing list