← Back to team overview

desktop-packages team mailing list archive

[Bug 523796] Re: Startup list does not save changes randomly

 

I can confirm this!

I am running a clean install of Ubuntu 11.04 64bit classic desktop, with
all updates (31.8.2011). After adding a program to the Startup
Applications everything looks good. After the first restart the set
program starts up automatically as expected. But after that the
~/config/autostart folder is empty and on the second restart the set
program does not start up anymore.

In my case ~/.config/autostart folder was already owned by the
username:username and the permissions were: drwx------. I changed the
permissions to Drwxrwxrwx, but no effect.

As a background, I am building a information Kiosk, so the Ubuntu is set
to login automatically and the program I am trying to automatically
launch at the startup is Chromium Browser. The command I'm using in
Startup Applications is: "/usr/bin/chromium-browser --kiosk
http://www.amusa.fi/ruutu/etela-karjala";

WORKAROUND
================
To stop the Startup Application setting from disappearing I used the following procedure. This is not a fix, but I am able to live with this workaround:
1. Set the Startup Application normally [in my case chromium-browser]
2. Set the permissions of ~/.config/autostart folder to: dr-xr-xr-x (chmod 555 autostart)
3. Set the permissions of ~/.config/autostart/chromium-browser.desktop  to : -r--r--r-- (chmod 444 filename) [chromium-browser.desktop is the startup settings file the application I want to startup]

This workaround seems to work for me. Naturally I'm now unable to add
more Startup Applications...

-Jukka-

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/523796

Title:
  Startup list does not save changes randomly

Status in “gnome-session” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gnome-session

  Hi,
  gnome-session-properties sometimes fails saving changes in the Startup list.

  As example, when adding a new launcher it does not save changes, or
  the added application then fails to start with Ubuntu.

  One has to try twice, three or more times or has to re-edit the new
  launcher (even with the same info or parameters) for finally getting
  it to go the correct way the next login.

  Or, then, if one unchecks the box for some application not starting
  automatically when Ubuntu does... it does not save the change and the
  next time one opens the Startup list the box of such application
  continues checked.

  ProblemType: Bug
  Architecture: amd64
  Date: Thu Feb 18 14:13:20 2010
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/gnome-session
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  NonfreeKernelModules: fglrx
  Package: gnome-session-bin 2.28.0-0ubuntu5
  ProcEnviron:
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
  SourcePackage: gnome-session
  Uname: Linux 2.6.31-19-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/523796/+subscriptions