After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334066 - gnome-session autostart migration of session-manual doesn't work if ~/.config/autostart doesn't exist
gnome-session autostart migration of session-manual doesn't work if ~/.config...
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-09 20:47 UTC by Ray Strode [halfline]
Modified: 2006-06-12 19:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
create user's autostart config directory if it doesn't already exist (1.74 KB, patch)
2006-03-09 20:49 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2006-03-09 20:47:07 UTC
Right now gnome-session has some code in it to try to migrate a user's session-manual file over to the new autostart format.

The code fails if a user doesn't have a ~/.config/autostart directory.
Comment 1 Ray Strode [halfline] 2006-03-09 20:49:25 UTC
Created attachment 61002 [details] [review]
create user's autostart config directory if it doesn't already exist

The above patch creates the autostart config dir if it doesn't already exist.  It also fixes the name of the filenames in case of conflict to always end in .desktop
Comment 2 Scott Anderson 2006-04-06 22:40:12 UTC
I can confirm this bug.  I upgraded from 2.12 to 2.14 (debian unstable) and lost my session-manual file, and the .xsession-errors file had a list of items like the following:

(gnome-session:3988): WARNING **: Could not save /home/user/.config/autostart/ssh-add.desktop file.

I did not have a .config/autostart directory yet.
Comment 3 Rodrigo Moya 2006-06-12 11:07:51 UTC
Yeah, this should be committed, it breaks the migration from the old setup
Comment 4 Ray Strode [halfline] 2006-06-12 19:11:01 UTC
Thanks, I actually forgot about this.

commited to HEAD and gnome-2-14