diff -Nru lxsession-edit-0.2.0/debian/changelog lxsession-edit-0.2.0/debian/changelog --- lxsession-edit-0.2.0/debian/changelog 2011-07-28 22:20:09.000000000 +0000 +++ lxsession-edit-0.2.0/debian/changelog 2012-03-23 20:25:06.000000000 +0000 @@ -1,3 +1,10 @@ +lxsession-edit (0.2.0-1ubuntu2~ppa1) precise; urgency=low + + * debian/patches: + - + + -- Julien Lavergne Fri, 23 Mar 2012 21:24:29 +0100 + lxsession-edit (0.2.0-1ubuntu1) oneiric; urgency=low * Sync with Debian unstable. Ubuntu remaining changes : diff -Nru lxsession-edit-0.2.0/debian/patches/01_fix_session_name.patch lxsession-edit-0.2.0/debian/patches/01_fix_session_name.patch --- lxsession-edit-0.2.0/debian/patches/01_fix_session_name.patch 1970-01-01 00:00:00.000000000 +0000 +++ lxsession-edit-0.2.0/debian/patches/01_fix_session_name.patch 2012-03-23 20:24:21.000000000 +0000 @@ -0,0 +1,36 @@ +Author: Julien Lavergne +Bug-Ubuntu: + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- lxsession-edit-0.2.0.orig/src/lxsession-edit.c ++++ lxsession-edit-0.2.0/src/lxsession-edit.c +@@ -394,7 +394,7 @@ int main(int argc, char** argv) + if( argc > 1 ) + session_name = argv[1]; + else +- session_name = g_getenv("XDG_CURRENT_DESKTOP"); ++ session_name = g_getenv("DESKTOP_SESSION"); + + if( G_UNLIKELY(!session_name) ) + session_name = "LXDE"; +@@ -449,6 +449,8 @@ int main(int argc, char** argv) + /* If it's our favorite, LXDE */ + if( strcmp(session_name, "LXDE") == 0 ) + wm_cmd = g_strdup("openbox-lxde"); ++ else if ( strcmp(session_name, "Lubuntu") == 0 ) ++ wm_cmd = g_strdup("openbox-lubuntu"); + else + wm_cmd = g_strdup("openbox"); + } diff -Nru lxsession-edit-0.2.0/debian/patches/series lxsession-edit-0.2.0/debian/patches/series --- lxsession-edit-0.2.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ lxsession-edit-0.2.0/debian/patches/series 2012-03-23 20:23:49.000000000 +0000 @@ -0,0 +1 @@ +01_fix_session_name.patch