From mboxrd@z Thu Jan 1 00:00:00 1970 From: L p R n d n Subject: Re: GNOME 3.30: help needed! Date: Sun, 23 Dec 2018 14:59:16 +0100 Message-ID: References: <87y38ir7hi.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gb3Np-00075T-Cf for guix-devel@gnu.org; Sun, 23 Dec 2018 08:01:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gb3Nm-0003Ih-5M for guix-devel@gnu.org; Sun, 23 Dec 2018 08:01:29 -0500 Received: from mout01.posteo.de ([185.67.36.141]:45956) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gb3Nl-00039u-Pu for guix-devel@gnu.org; Sun, 23 Dec 2018 08:01:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5281C16005F for ; Sun, 23 Dec 2018 14:01:12 +0100 (CET) In-Reply-To: <87y38ir7hi.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 21 Dec 2018 20:43:21 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus writes: > Hi Guix, > > I just pushed the branch =E2=80=9Cwip-gnome3.30=E2=80=9D to Savannah. It= is based on > =E2=80=9Cwip-gnome-upgrades=E2=80=9D, but upgrades our GNOME packages to = version 3.30. > > Unfortunately, I haven=E2=80=99t been able to figure out how to start a G= NOME > session with this version. I=E2=80=99m pretty sure it=E2=80=99s just a m= atter of > setting the correct environment variables so that all the required > libraries and the DBus service files are found. > > My ~/.xsession file ends on > > gnome-session > sleep 60 > > to avoid an annoying endless session reload. > > Note that the wayland backend is the new default. If you want a little > less mystery at first, try setting XDG_SESSION_TYPE=3Dx11. > > I would very much appreciate any help you can provide in pushing this > upgrade into a usable shape! Let=E2=80=99s meet in #guix and hack on thi= s! > > -- > Ricardo Hello, First, thanks for all the work.=20 I don't have time right now but i might look at this soon. In the meantime, I looked in nixpkgs and they updated not so long ago. They added this a few months ago: services.xserver.displayManager.sessionCommands =3D '' if test "$XDG_CURRENT_DESKTOP" =3D "GNOME"; then ${concatMapStrings (p: '' if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then export XDG_DATA_DIRS=3D$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p= }/share/gsettings-schemas/${p.name} fi if [ -d "${p}/lib/girepository-1.0" ]; then export GI_TYPELIB_PATH=3D$GI_TYPELIB_PATH''${GI_TYPELIB_PATH:= +:}${p}/lib/girepository-1.0 export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:= +:}${p}/lib fi '') cfg.sessionPath} fi ''; =20=20=20=20 It seems to add a few environment variables to start Gnome from the display manager. FYI, p is any package added to cfg.sessionPath. It defaults to gnome-shell and gnome-shell-extensiosn. (They also advise not to modify it and rather patch the package itself so it might just not be possible for those two.) I don't know if it's related. I hope it helps tho. Have a nice day, Lprndn