← Back to team overview

desktop-packages team mailing list archive

[Bug 1531292] [NEW] startup applications overwrites entries

 

Public bug reported:

When using the startup applications GUI, scripts with the same file name but different paths will overwrite each other. For instance, if I added an entry as:
Name: program1
Command: /home/user/scripts/program1/run
Comment: program 1

I can exit the startup applications window and everything saves fine.

But if I later reopen and add an entry:
Name: program2
Command: /home/user/scripts/program2/run
Comment: program 2

both records will display on the main menu, but after closing and
reopening the window, only program2 will be listed. The record for
program2 overwrites the record for program1 when the startup
applications window closes, but it looks like it works fine before you
close it. If I named my script for program2, 'run2', as in:
'/home/user/scripts/program2/run2', both records will be kept.


Additional info:------------------------------
apt-cache policy gnome-session-bin
gnome-session-bin:
  Installed: 3.9.90-0ubuntu12.1
  Candidate: 3.9.90-0ubuntu12.1
  Version table:
 *** 3.9.90-0ubuntu12.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.9.90-0ubuntu12 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


lsb_release -rd
Description:	Ubuntu 14.04.3 LTS
Release:	14.04

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-session-bin 3.9.90-0ubuntu12.1
ProcVersionSignature: Ubuntu 3.16.0-55.74~14.04.1-generic 3.16.7-ckt19
Uname: Linux 3.16.0-55-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jan  5 16:13:00 2016
InstallationDate: Installed on 2015-12-07 (29 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
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/1531292

Title:
  startup applications overwrites entries

Status in gnome-session package in Ubuntu:
  New

Bug description:
  When using the startup applications GUI, scripts with the same file name but different paths will overwrite each other. For instance, if I added an entry as:
  Name: program1
  Command: /home/user/scripts/program1/run
  Comment: program 1

  I can exit the startup applications window and everything saves fine.

  But if I later reopen and add an entry:
  Name: program2
  Command: /home/user/scripts/program2/run
  Comment: program 2

  both records will display on the main menu, but after closing and
  reopening the window, only program2 will be listed. The record for
  program2 overwrites the record for program1 when the startup
  applications window closes, but it looks like it works fine before you
  close it. If I named my script for program2, 'run2', as in:
  '/home/user/scripts/program2/run2', both records will be kept.

  
  Additional info:------------------------------
  apt-cache policy gnome-session-bin
  gnome-session-bin:
    Installed: 3.9.90-0ubuntu12.1
    Candidate: 3.9.90-0ubuntu12.1
    Version table:
   *** 3.9.90-0ubuntu12.1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       3.9.90-0ubuntu12 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  
  lsb_release -rd
  Description:	Ubuntu 14.04.3 LTS
  Release:	14.04

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-session-bin 3.9.90-0ubuntu12.1
  ProcVersionSignature: Ubuntu 3.16.0-55.74~14.04.1-generic 3.16.7-ckt19
  Uname: Linux 3.16.0-55-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan  5 16:13:00 2016
  InstallationDate: Installed on 2015-12-07 (29 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-session
  UpgradeStatus: No upgrade log present (probably fresh install)

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


Follow ups