Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: App start order in KDE4

  1. #1
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default App start order in KDE4

    I worte somewhere in time here about this, but I cant find it..
    anyways...

    I have a problem, when starting KDE, it begins to start applications, usually the ones that were open (thanks God)... however, order is a bit screwed...

    It opens Skype, KTorrent, Kopete, Sound, Keyboard and finally, NetworkManager...
    It irritates me like hell. I would like to put Network to be ran 1st.

    Is there a way to do it?
    Emil Beli
    http://www.beli.ws/blog/
    openSUSE 11.4 x64 KDE, ATI 5600, i7 dell inspire laptop

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,649
    Blog Entries
    14

    Default Re: App start order in KDE4

    To me it's a minor annoyance, but I agree it's a thing that needs improvement. Googling about kde4 startup sequence did not bring me much.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default Re: App start order in KDE4

    Neither here... I 1st googled a lot, but had hope that there is a setting about it...

    Emil Beli
    http://www.beli.ws/blog/
    openSUSE 11.4 x64 KDE, ATI 5600, i7 dell inspire laptop

  4. #4
    Join Date
    Sep 2008
    Location
    Earl Shilton UK
    Posts
    298

    Default Re: App start order in KDE4

    Isn't there a combobox in teh systemsettings > advanced > autostart bit that lists 3 options per auto-started app?

    I can't recall exactly (and I'm not at home) but I remember one of them was pre-kde startup (I don't understand how that works, but nvm). Perhaps one of them could be start after everything else? Worth a look anyway.

    NetworkManager is started quite early, and it can do systemwide connections (ie so you can boot into a console, no X) and have your interface up & running.

    Knetworkmanager is started by KDE (somehow, somewhere in the bowels of it). But it can't configure system connections yet though unfortunately. Gnome's can (afaiia) so maybe you could google for how to do that? Then your network would be up before KDE anyway (as it really should be).

    Or ifup would work too. You'll have to configure your wireless properly though. Wired usually just works with it.

    Although, could it be you're talking about sessions? In which case the only solution is to get the network up before kde starts (imho) as I really don't think you'll be able to guarantee that Knetworkmanager will have started, got comfortable, and brought an interface up before other apps decide to start.

    <grumble mode="GrittedTeeth">
    It also annoys the hell out of me too, to the extent I turned off sessions completely - if you can't get the net up *before* my apps start then don't bother, I'll do it myself. Especially as most apps you leave running constantly tend to be networked apps (ie email...). Have you ever seen the *****storm of popups kmail can generate with a few accounts & no network? Un-be-lieveable
    </grumble>

    I'm not moaning really though - all these things are fixable, and as soon as knetworkmanager can do system connections it'll be gravy (hopefully)
    Happily using Linux since 1998
    Share & Enjoy

  5. #5
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default Re: App start order in KDE4

    I was talking about sessions. There is nothing in my autostart, but it does save open apps in session... so That order is what I need to change.
    Emil Beli
    http://www.beli.ws/blog/
    openSUSE 11.4 x64 KDE, ATI 5600, i7 dell inspire laptop

  6. #6
    Join Date
    Sep 2008
    Location
    Earl Shilton UK
    Posts
    298

    Default Re: App start order in KDE4

    I don't think you can alter the order in which they're started. I may of course be wrong there, but I have never seen any way to do it.

    However, Knetworkmanager (what connects your net) isn't part of session startup, so perhaps trying to figure out how to delay whatever code starts session apps long enough that knetworkmanager comes up might be a good bet?

    If it were me though, I'd investigate either using ifup instead of NM (its a pain if you move between wifi APs though) or have a look into how to go about creating a system connection in NM.
    Either of those won't work if you are connecting to new (& therefore unconfigured) networks each time.

    Good luck!
    Happily using Linux since 1998
    Share & Enjoy

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,649
    Blog Entries
    14

    Default Re: App start order in KDE4

    Like you say, no real solution if you're running around with a laptop, connecting for 15 minutes and move on to the next. I've done searching on this in the past, never found a working solution. IMHO that should be that knetworkmanager is the first app to start. I already know it's not waiting for some other app or service like kwallet.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,649
    Blog Entries
    14

    Default Re: App start order in KDE4

    I started a thread How to make knetworkmanager start as a first app &bull; KDE Community Forums on forums.kde.org , let's wait and see if one of the devs picks it up.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #9
    Join Date
    Sep 2008
    Location
    Earl Shilton UK
    Posts
    298

    Default Re: App start order in KDE4

    Nice, I'll watch that with interest.
    Happily using Linux since 1998
    Share & Enjoy

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,504
    Blog Entries
    15

    Default Re: App start order in KDE4

    Quote Originally Posted by weighty foe
    Nice, I'll watch that with interest.
    Hi
    This may shed some light?
    http://techbase.kde.org/KDE_System_A...ration/Startup

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
    up 13 days 4:09, 5 users, load average: 0.14, 0.32, 0.40
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •