Bug 357027

Summary: Unable to add autostart entries (via "Add program..." button)
Product: [Applications] systemsettings Reporter: liudas <liudas>
Component: kcm_autostartAssignee: Laurent Montel <montel>
Status: RESOLVED FIXED    
Severity: normal CC: kdeu, nate
Priority: NOR    
Version: 5.5.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http://imgur.com/eab8GGj
Latest Commit: Version Fixed In: 5.20

Description liudas 2015-12-22 04:29:48 UTC
After fresh install of plasma, unable to add new autostart entries. At the end of add procedure I get error:
"Could not save properties. You do not have sufficient access to write to /home/USER/.local/share/applications/tion.desktop."
It seems that PATH is malformed.

Reproducible: Always

Steps to Reproduce:
1. Open Settings -> Startup and Shutdown -> Autostart -> Add program..
2. Choose application (konversation), click OK, click OK
3. Error pops up.

Actual Results:  
I get error: "Could not save properties. You do not have sufficient access to write to /home/USER/.local/share/applications/tion.desktop."

Expected Results:  
Startup entries is created.

1. It looks that PATH for creating entry is malformed because it differs I choose different applications.
2. Folder ~/.local/share/applications is missing (not created initially at installation nor on demand)
3. After manually created "~/.local/share/applications" folder - error is gone and I am able to add startup entries.
Comment 1 Lukas Ba. 2016-12-17 23:44:48 UTC
This bug is still alive. When trying to add libreoffice writer, the properties dialog pops up, and clicking on OK gives the following error:

"Could not save properties. You do not have sufficient access to write to /home/me/.config/autostart//libreoffice-writer.desktop"

The folder /home/me/.config/autostart/ already exists, but the bug happens anyway.

This seems to happen only when the .desktop file has an Exec line with an additional commandline flag, such as

libreoffice --writer
Comment 2 Nate Graham 2020-08-11 20:39:38 UTC
This is fixed in the rewrite which will be released in Plasma 5.20!