Bug 18575

Summary: KDE Editing a *.desktop start link in ~/.config/autostart/ makes it try save in wrong place
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Morgan Leijström 2016-05-29 01:03:56 CEST
Description of problem:   Editing an autostart link makes it save or try to save the new version in a weird place.


Steps to Reproduce:

1. Create a start link using i.e Dolphin: in ~/.config/autostart/ right click and select to create a program start link, enter details, done no problem: a *.desktop file shows up in ~/.config/autostart/


2. right click the *.desktop file and edit it: in the right ab change the field Name or program, press OK
  ==> you get a popup saying you do not have permissions to write that file to a path it tells.   Well that path it tries is weird. I have two cauldrons and on one it tries to use 
~/.local/share/applications/rt/  and on the other
~/.local/share/applications/t/   (one letter less)


WORKAROUND 1 :
When you edit it, on the left tab change the name (which will be used as filename before ".desktop")  Then it will actually change the name of the file and save this with all edits you have done without complaining.
(Then, if you want, change back the name)


3, to show a variant of the problem in 2, you can also try to use KDE system settings > start and finish > autostart, button "Add program..." fill in details and press OK.  You get the same error popup trying same weird path.

...often. i have not figured out when it fouls up and when not.


WORKAROUND 2 :
Create the path given in the error message.  The edited *.desktop files will show up there.  But they will not be used by either autostarting or the KDE systemsetings editor, so manually move them over the old files in ~/.config/autostart/

I guess a softlink of that dir to autostart dir could work, not tried.


SIDENOTE: The first column "Name" in the list in KDE system settings > start and finish > autostart, is from "Name" fiels in right tab when editing the *.desktop file
Comment 1 Morgan Leijström 2016-05-29 01:07:17 CEST
*** Bug 18498 has been marked as a duplicate of this bug. ***
Marja Van Waes 2016-05-29 17:04:28 CEST

CC: (none) => marja11
Assignee: bugsquad => mageia

Comment 2 Morgan Leijström 2016-07-26 16:41:21 CEST
I can not repeat the problem on current cauldron :)

Status: NEW => RESOLVED
Resolution: (none) => FIXED