gnome-session 3.1.3-0ubuntu5 fails to source ~/.gnomerc

Bug #816086 reported by Anders Kaseorg on 2011-07-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)

Bug Description

/etc/X11/Xsession.d/55gnome-session_gnomerc tests that $BASESTARTUP matches gnome-session* when deciding whether to source ~/.gnomerc. But in gnome-session 3.1.3-0ubuntu5, $STARTUP has changed from ‘gnome-session’ to ‘env XDG_CURRENT_DESKTOP=GNOME gnome-session’ or similar, so $BASESTARTUP is ‘env’. Therefore ~/.gnomerc doesn’t get sourced anymore.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-session-common 3.1.3-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-6.7-generic 3.0.0-rc7
Uname: Linux 3.0.0-6-generic x86_64
NonfreeKernelModules: openafs
Architecture: amd64
Date: Mon Jul 25 15:03:55 2011

EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
PackageArchitecture: all
 PATH=(custom, user)
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)

Anders Kaseorg (andersk) wrote :
Victor Vargas (kamus) on 2011-07-25
tags: added: patch
Changed in gnome-session (Ubuntu):
importance: Undecided → Medium
Sebastien Bacher (seb128) wrote :

Thank you for your bug report

Hey Michael, is the current .desktop hack a temporary one or is it supposed to stay this way?

Michael Terry (mterry) wrote :

Guh. Seb, I was hoping to have it stay this way. This was the lowest-footprint way of getting all display managers to set it.

I wonder how widespread use of BASE_STARTUP is and whether it's a good idea... I'll look at this.

Anders Kaseorg (andersk) wrote :

$BASESTARTUP was just a temporary variable computed from $STARTUP by the same script (55gnome-session_gnomerc). But it would be worth checking if $STARTUP is parsed anywhere else.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-session - 3.1.3-0ubuntu6

gnome-session (3.1.3-0ubuntu6) oneiric; urgency=low

  * debian/patches/50_ubuntu_sessions.patch:
    - Revert my last change. Making the root program be 'env'
      confuses some Xsession.d scripts. LP: #816086
  * debian/patches/52_xdg_current_desktop.patch:
    - Set XDG_CURRENT_DESKTOP inside gnome-session based on a
      new key 'DesktopName' in gnome-session .desktop files.
 -- Michael Terry <email address hidden> Tue, 26 Jul 2011 15:52:43 -0400

Changed in gnome-session (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers