Bug 357027 - Unable to add autostart entries (via "Add program..." button)
Summary: Unable to add autostart entries (via "Add program..." button)
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: 5.5.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL: http://imgur.com/eab8GGj
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 04:29 UTC by liudas
Modified: 2020-08-11 20:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!