Merge lp:~darkxst/gnome-session/lp1224217 into lp:~ubuntu-desktop/gnome-session/ubuntu

Proposed by Tim Lunn
Status: Merged
Merged at revision: 308
Proposed branch: lp:~darkxst/gnome-session/lp1224217
Merge into: lp:~ubuntu-desktop/gnome-session/ubuntu
Diff against target: 34 lines (+10/-2)
2 files modified
debian/changelog (+8/-0)
debian/gnome-session-bin.user-session.upstart (+2/-2)
To merge this branch: bzr merge lp:~darkxst/gnome-session/lp1224217
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+210912@code.launchpad.net

Description of the change

see also patches for g-s-d and u-s-d

To post a comment you must log in.
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Tim, could be that this has introduced bug?

After I updated gnome-session package I was not able to login in session. And in ubuntu forum there are user with same problem I was experiencing - http://ubuntuforums.org/showthread.php?t=2211609

In .xsession-errors:
init: Failed to obtain gnome-session instance: Unknown parameter: XDG_CURRENT_DESKTOP

I fixed it by adding X-LightDM-DesktopName=GNOME in session's .desktop file. Seems all sessions which will miss X-LightDM-DesktoName wont be able to start.

Revision history for this message
Tim Lunn (darkxst) wrote :

What session are you using? And yes all sessions should define x-lightdm-desktopname or risk random brokenness among upstart user sessions

--
Tim

On Monday, 17 March 2014 at 9:47 pm, Alberts Muktupāvels wrote:

> Tim, could be that this has introduced bug?
>
> After I updated gnome-session package I was not able to login in session. And in ubuntu forum there are user with same problem I was experiencing - http://ubuntuforums.org/showthread.php?t=2211609
>
> In .xsession-errors:
> init: Failed to obtain gnome-session instance: Unknown parameter: XDG_CURRENT_DESKTOP
>
> I fixed it by adding X-LightDM-DesktopName=GNOME in session's .desktop file. Seems all sessions which will miss X-LightDM-DesktoName wont be able to start.
> --
> https://code.launchpad.net/~darkxst/gnome-session/lp1224217/+merge/210912
> You are the owner of lp:~darkxst/gnome-session/lp1224217.
>
>

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

I am using flashback session, but I am not using ubuntu version. Now when I know that x-lightdm-desktop name is needed this is not problem for me.

Isn't there a way to set XDG_CURRENT_DESKTOP to some default value or empty value? So starting session does not stop with error - Unknown parameter: XDG_CURRENT_DESKTOP?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-02-20 08:06:44 +0000
3+++ debian/changelog 2014-03-13 21:24:06 +0000
4@@ -1,3 +1,11 @@
5+gnome-session (3.9.90-0ubuntu12) UNRELEASED; urgency=medium
6+
7+ * gnome-session-bin.user-session.upstart: Use XDG_CURRENT_DESKTOP
8+ as the instance specifier for gnome-session upstart jobs, since
9+ other sessions apart from ubuntu will need to use u-s-d (LP: #1224217)
10+
11+ -- Tim Lunn <tim@feathertop.org> Wed, 12 Mar 2014 16:27:59 +1100
12+
13 gnome-session (3.9.90-0ubuntu11) trusty; urgency=medium
14
15 * debian/50-ubuntu.conf:
16
17=== modified file 'debian/gnome-session-bin.user-session.upstart'
18--- debian/gnome-session-bin.user-session.upstart 2014-02-20 02:02:54 +0000
19+++ debian/gnome-session-bin.user-session.upstart 2014-03-13 21:24:06 +0000
20@@ -2,12 +2,12 @@
21 author "Stéphane Graber <stgraber@ubuntu.com>"
22
23 start on started dbus and xsession SESSIONTYPE=gnome-session
24-stop on starting gnome-session INSTANCE!=$DESKTOP_SESSION
25+stop on starting gnome-session INSTANCE!=$XDG_CURRENT_DESKTOP
26
27 env GNOME_DESKTOP_SESSION_ID=this-is-deprecated
28 export GNOME_DESKTOP_SESSION_ID
29
30-instance $DESKTOP_SESSION
31+instance $XDG_CURRENT_DESKTOP
32
33 emits desktop-start
34 emits desktop-end

Subscribers

People subscribed via source and target branches

to all changes: