Bug 345595 - Changes made in the Autostart window are not saved.
Summary: Changes made in the Autostart window are not saved.
Status: RESOLVED DUPLICATE of bug 346862
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: 5.2.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-27 22:33 UTC by darktori
Modified: 2015-08-20 14:40 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darktori 2015-03-27 22:33:59 UTC
I'm on Kubuntu 15.04, which was upgraded from 14.10.
My autostart menu shows 3 programs and 1 script (ksuperkey enabled, pidgin disabled, steam enabled and my nvidia_fix script). Those were migrated from 14.10, but I'm pretty sure that I also had one more script there - that fixes some chrome bug for me.

Anyway, when I add a new script, it shows on the list, but after I hit Ok (apply is grayed out) and run the autostart manager again, the script is not on the list. I can also verify that not only is it not visible, but it doesn't work.

If I try to add the same script again, I get a message box, the the file will replace itself, and that I should provide a new name. If I cancel this message or provide a different name, the original script is again visible on the list - but it will vanish once I close the autostart manager and run it again.

Reproducible: Always

Steps to Reproduce:
1. Add a script to autostart
2. Click OK after it is added and visible on the list
3. Run the autostart manager again

Actual Results:  
The added script is no longer on the list.

Expected Results:  
The added script should still be on the list.

I'm not sure if the one script that survived the update to 15.04 is even working. It was a script that fixed graphical tearing for me on 14.10, but now the tearing is back.

I can see that the scripts I try to add ARE in ~/.config/autostart/ , but the one script that did not migrate from 14.10 is shown as a 0 byte file, and the new scripts I add are there looking OK.
Comment 1 Fabsk 2015-05-24 10:01:44 UTC
I also noticed (Kubuntu 15.04 migrated from 14.04) that:
* The entries stored in "~/.kde/Autostart" are not executed anymore.
* In "~/.config/autostart" only the files ".desktop" are now executed.
* The configuration GUI allows adding scripts, but does not display them when the GUI is reopened.
For now, as a work around, I added a ".desktop" entry for each of my scripts. I think that either the GUI should be consistent with what the autostart facility support: it should either only allow the creation of ".desktop" entries, or the execution of scripts should be fixed. The current state is quite confusing.
Comment 2 Nick 2015-06-28 07:51:31 UTC
I'm having the same problem here on Kubuntu 15.04. Using the official Ubuntu packages (no Kubuntu PPA)
Comment 3 David Edmundson 2015-08-20 14:40:55 UTC

*** This bug has been marked as a duplicate of bug 346862 ***