How can I start an app before session start?

I'm using KDE Plasma, and every time I log in, I have to wait a log time for my latte-dock to start. How can I make my latte-dock start before the gui is displayed?

Before the GUI is displayed?

You can search for Autostart and add it there.

1 Like
3 Likes

Latte-dock depends on the gui(plasma-desktop). What you ask is technically impossible insane :wink:
But if you find a way to do it, I would appreciate your feedback!

3 Likes

This is the classic X/Y problem as @jonathon is so fond of referencing. The user is simply asking the wrong question as a workaround to the real issue. The real issue is the bug Latte has been experiencing. Rolling back to a prior version of Latte would be a more workable (temporary) fix.

4 Likes

I see you mention about the latte's bug... Can I know more about it?

3 Likes

That's preposterous. You want them to go and do their own searching?!? Get out of here. Is this some kind of third world distro?! What are we even paying for?

4 Likes

We are providing 10 times refund of all the payments. Claim within the week.

4 Likes

Preload may be of help, who knows?

regards

1 Like

If plasma-desktop is not started, then latte-dock is lost in chaos goes to background and does not show up, so you have to kill it and restart it.
It’s CATCH22 (I like this reference :laughing: ).
I was having the opposite problem, trying to make latte start later and added sleep 2 to make it work :wink:

4 Likes

I think I’ve found what makes my latte dock starts so slow… I disable autostart of libinput-gestures, then when I reboot and login next time, the latte dock starts up like a rocket — it almost starts as the same time as I saw the gui. So, here comes another problem:

I’ve found the real issue. How can I make libinput-gestures autostart after latte-dock, or just make it starts quickier?

1 Like

My default method for everything is to use a systemd service. you could unload your trackpads driver/module at boot, then have it sleep for 5 seconds after login, then reload the module. Not an easy service to write if your unfamiliar with systemd.

Perhaps someone else has an easier more straightforward suggestion.

I did not familiar with systemd, and that seems too complicated to me... And I've tried login script, but that will just make me stuck in the splash screen for 1 minute.