KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • stop specific program from autostarting?

    6 answers - 1479 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hello,
    I have a dual-head setup and my problem is that gkrellm keeps restarting
    on screen 0 while I saved the session when it was on screen 1 where I
    want it.
    Since this will probably not get fixed in near future, I was wondering
    if there is any way to simply stop a certain program from restarting at
    all after saving a session with the program running, I would start
    gkrellm myself by a ~/.kde/Autostart/ script on the correct screen, but
    when I do that gkrellm autostarts on both screens, once correctly from
    my script, and once extra on incorrect screen by session restore.
    I searched a bit and read somewhere that programs that KDE restores from
    an old session are stored in ~/.kde/share/config/ksmserverrc and indeed
    it's there, so I tried to remove all traces of gkrellm from there (and
    if that worked I would have just done that in an init script at system
    boot in future), but apparently I disrupted the format of the file or
    something and besides gkrellm some other programs which I /want/ to
    restart didn't.
    Now I'm out of ideas.
    There must be some simple way to stop a program from restarting, or to
    get it restart on the correct screen, if anyone has an idea or a
    different workaround, please tell me.
    -JK
    This message is from the kde mailing list.
    Account management:
    Archives: http://lists.kde.org/.
    More info: http://www.kde.org/faq.html.
  • No.1 | | 373 bytes | |

    Sunday 05 November 2006 16:47, Jan Krajicek wrote:

    There must be some simple way to stop a program from restarting, or to
    get it restart on the correct screen, if anyone has an idea or a
    different workaround, please tell me.

    What about just not having it running when saving the session?
    Quit gkrellm, save session, done, no?

    Cheers,
    Kevin
  • No.2 | | 435 bytes | |

    Sunday 05 November 2006 21:17 IST, Jan Krajicek wrote:
    There must be some simple way to stop a program from restarting, or to
    get it restart on the correct screen, if anyone has an idea or a
    different workaround, please tell me.

    In the session manager page inside KControl is a section called "Advanced".
    Here you can list out applications you do not want to have restarted.

    Is this what you are looking for?
  • No.3 | | 839 bytes | |

    Kevin Krammer wrote:
    Sunday 05 November 2006 16:47, Jan Krajicek wrote:

    >There must be some simple way to stop a program from restarting, or to
    >get it restart on the correct screen, if anyone has an idea or a
    >different workaround, please tell me.


    What about just not having it running when saving the session?
    Quit gkrellm, save session, done, no?

    I was using the default settings where session gets saved automatically
    when you exit KDE, only now that you mentioned saving a session manually
    I noticed you can actually do it. This should indeed work nicely.

    Thanks for your quick help!
    -JK

    This message is from the kde mailing list.
    Account management:
    Archives: http://lists.kde.org/.
    More info: http://www.kde.org/faq.html.
  • No.4 | | 855 bytes | |

    Dne le 05 listopad 2006 16:53 Kevin Krammer napsal(a):
    Sunday 05 November 2006 16:47, Jan Krajicek wrote:
    There must be some simple way to stop a program from restarting, or to
    get it restart on the correct screen, if anyone has an idea or a
    different workaround, please tell me.

    What about just not having it running when saving the session?
    Quit gkrellm, save session, done, no?

    Cheers,
    Kevin

    I was using the default settings where session gets saved automatically when
    you exit KDE, only now that you mentioned saving a session manually I noticed
    you can actually do it. This should indeed work nicely.

    Thanks for your quick help!
    -JK

    This message is from the kde mailing list.
    Account management:
    Archives: http://lists.kde.org/.
    More info: http://www.kde.org/faq.html.
  • No.5 | | 805 bytes | |

    Dne le 05 listopad 2006 17:53 kitts napsal(a):
    Sunday 05 November 2006 21:17 IST, Jan Krajicek wrote:
    There must be some simple way to stop a program from restarting, or to
    get it restart on the correct screen, if anyone has an idea or a
    different workaround, please tell me.

    In the session manager page inside KControl is a section called "Advanced".
    Here you can list out applications you do not want to have restarted.

    Is this what you are looking for?

    This was exactly what I've been looking for, thanks too. I already used Kevin
    Krammer's suggestion, but this can't hurt in addition.

    This message is from the kde mailing list.
    Account management:
    Archives: http://lists.kde.org/.
    More info: http://www.kde.org/faq.html.
  • No.6 | | 381 bytes | |

    (So the mail got through after all, sorry for that, it took strangely long and
    another message appeared before this one so I tried again with a different
    client. I hope this one will take less than 24 hours.) -JK

    This message is from the kde mailing list.
    Account management:
    Archives: http://lists.kde.org/.
    More info: http://www.kde.org/faq.html.

Re: stop specific program from autostarting?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "KDE"

EMSDN.COM