You are not logged in.

#1 2020-08-21 14:07:44

saurabh000345
Member
From: West Bengal, India
Registered: 2018-12-20
Posts: 36
Website

KDE Plasma AutoStart applications failure

EDIT: Rephrased

KDE Plasma fails to properly autostart applications.

> Sometimes, the processes start but nothing shows up - no icons on the dock and the application cannot even be launched from the application launcher. I have to kill the process, relaunch it, **and intrestingly, I'm asked to unlock the default keyring again.**
I have tried Skype, Steam and flameshot were added for autostart. Earlier, discord was added too but I didn't use it much anyway so took it off of the list, thinking it was an application error. Turns out it's not an application fault afterall.

> Everytime I boot up, at least one of the autostart applications gets logged out of. It's a hassle to keep logging in everytime.


Is there any known method to solve this and get the applications starting up again? Let me know if I can provide some logs to help make the situation clearer.



EDIT: Adding some more info
As I mentioned, the autostart was set up from KDE System Settings. So, there simply were .desktop files pasted to ~/.config/autostart/ directory.

Last edited by saurabh000345 (2020-08-22 15:16:07)


I skimmed through the wiki

Offline

#2 2020-08-22 12:36:54

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: KDE Plasma AutoStart applications failure

Well, Steam auto-loads just fine on my system when I tell it (Steam) to auto load on start. So I have to ask, how did you tell Steam to autostart? Did you create the autostart, or did you tell Steam to set up autostart?


An old man, trying to stay sane

Offline

#3 2020-08-22 12:54:38

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: KDE Plasma AutoStart applications failure

saurabh000345 wrote:

How do I go about making the auto-start work?

First there's the /etc/xdg/autostart where systemwide autostart happens.
Then there's ~/.config/autostart where you can write a script to start whatever you want and put it there.

Offline

#4 2020-08-22 15:04:55

saurabh000345
Member
From: West Bengal, India
Registered: 2018-12-20
Posts: 36
Website

Re: KDE Plasma AutoStart applications failure

d_fajardo wrote:
saurabh000345 wrote:

How do I go about making the auto-start work?

First there's the /etc/xdg/autostart where systemwide autostart happens.
Then there's ~/.config/autostart where you can write a script to start whatever you want and put it there.

Yes that is properly set. That shouldn't be an issue


I skimmed through the wiki

Offline

#5 2020-08-22 15:06:06

saurabh000345
Member
From: West Bengal, India
Registered: 2018-12-20
Posts: 36
Website

Re: KDE Plasma AutoStart applications failure

Buddlespit wrote:

Well, Steam auto-loads just fine on my system when I tell it (Steam) to auto load on start. So I have to ask, how did you tell Steam to autostart? Did you create the autostart, or did you tell Steam to set up autostart?

I set up the autostart from KDE System Settings. As far as I understand, it simply placed .desktop executables in ~/.config/autostart/


I skimmed through the wiki

Offline

#6 2020-08-22 15:17:01

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: KDE Plasma AutoStart applications failure

saurabh000345 wrote:

it simply placed .desktop executables in ~/.config/autostart/

Yes but is it enabled in your KDE System Settings?

Offline

#7 2020-08-22 19:46:37

saurabh000345
Member
From: West Bengal, India
Registered: 2018-12-20
Posts: 36
Website

Re: KDE Plasma AutoStart applications failure

d_fajardo wrote:
saurabh000345 wrote:

it simply placed .desktop executables in ~/.config/autostart/

Yes but is it enabled in your KDE System Settings?

Yes it is. And as i've mentioned the processes do start. Sometimes they do load up too (never have they all loaded flawlessly though, but they used to). I have to kill them and restart. Which also, as I've mentioned, prompts for my default keyring. I suspect that the login issue can be solved if the Default Keyring issue (which should automatically be unlocked when booting) is fixed. I'm assuming it automatically unlocks because I'm not prompted for a keyring if I remove all autostart configs and start the applications on my own after booting.

[https://i.imgur.com/tVTMnqN.png]  -> Link to a screenshot

Last edited by saurabh000345 (2020-08-22 19:49:53)


I skimmed through the wiki

Offline

#8 2020-08-22 23:16:54

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: KDE Plasma AutoStart applications failure

saurabh000345 wrote:

I set up the autostart from KDE System Settings. As far as I understand, it simply placed .desktop executables in ~/.config/autostart/

I would recommend that you try letting Steam create the .desktop file.

But, in all honesty, I think your problem may lay elsewhere. Something else is broken and as a side effect, Steam and Skype load either improperly or at the wrong time in the loading process.


An old man, trying to stay sane

Offline

#9 2020-08-23 04:11:14

saurabh000345
Member
From: West Bengal, India
Registered: 2018-12-20
Posts: 36
Website

Re: KDE Plasma AutoStart applications failure

Buddlespit wrote:
saurabh000345 wrote:

I set up the autostart from KDE System Settings. As far as I understand, it simply placed .desktop executables in ~/.config/autostart/

I would recommend that you try letting Steam create the .desktop file.

But, in all honesty, I think your problem may lay elsewhere. Something else is broken and as a side effect, Steam and Skype load either improperly or at the wrong time in the loading process.


What do you suspect would be wrong?

I see the Default key-ring misbehaving(maybe I'm wrong with that assumption tho) which might explain applications signing out if they're loaded before the keyring is unlocked. But still the processes being unresponsive cannot be explained by this.

I will try letting Steam create the desktop file taking your suggestion. Thank you.


I skimmed through the wiki

Offline

#10 2020-08-23 06:12:50

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: KDE Plasma AutoStart applications failure

You can also try creating a bash script instead to load whatever app you need with the necessary configuration and put that in ~/.config/autostart-scripts.

Offline

#11 2020-08-24 06:39:07

saurabh000345
Member
From: West Bengal, India
Registered: 2018-12-20
Posts: 36
Website

Re: KDE Plasma AutoStart applications failure

d_fajardo wrote:

You can also try creating a bash script instead to load whatever app you need with the necessary configuration and put that in ~/.config/autostart-scripts.


Simply just executing commands for steam and skype for example and pushing them to the background? I'll try this and post an update.

I'm still curious about what's causing this behavior tho.


I skimmed through the wiki

Offline

#12 2020-08-24 08:10:23

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: KDE Plasma AutoStart applications failure

saurabh000345 wrote:

I'm still curious about what's causing this behavior tho.

You can try creating a new user and set it up to autostart the same things to narrow things down. If it works, then you know the problem is in some configuration in your /home.
If you encounter the same problem with the new user, then problem occurs system-wide.

Offline

Board footer

Powered by FluxBB