all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: L  p R n  d n    <guix@lprndn.info>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: GNOME 3.30: help needed!
Date: Sun, 23 Dec 2018 14:59:16 +0100	[thread overview]
Message-ID: <cucpntsgx8r.fsf@lprndn.info> (raw)
In-Reply-To: <87y38ir7hi.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 21 Dec 2018 20:43:21 +0100")

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Guix,
>
> I just pushed the branch “wip-gnome3.30” to Savannah.  It is based on
> “wip-gnome-upgrades”, but upgrades our GNOME packages to version 3.30.
>
> Unfortunately, I haven’t been able to figure out how to start a GNOME
> session with this version.  I’m pretty sure it’s just a matter 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=x11.
>
> I would very much appreciate any help you can provide in pushing this
> upgrade into a usable shape!  Let’s meet in #guix and hack on this!
>
> --
> Ricardo


Hello,

First, thanks for all the work. 
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 = ''
      if test "$XDG_CURRENT_DESKTOP" = "GNOME"; then
          ${concatMapStrings (p: ''
            if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then
              export XDG_DATA_DIRS=$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=$GI_TYPELIB_PATH''${GI_TYPELIB_PATH:+:}${p}/lib/girepository-1.0
              export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
            fi
          '') cfg.sessionPath}
      fi
    '';
    
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

  reply	other threads:[~2018-12-23 13:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-21 19:43 GNOME 3.30: help needed! Ricardo Wurmus
2018-12-23 13:59 ` L p R n d n [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-01-03  6:13 Rene
2019-01-04  8:06 ` Ricardo Wurmus
2019-01-04 11:44   ` Catonano
2019-01-04 11:52     ` Catonano
2019-01-04 12:45       ` Catonano
2019-01-05  4:43     ` Rene
2019-01-05  4:37   ` Rene
2019-01-07 12:18     ` Ricardo Wurmus
2019-01-07 23:55       ` Rene
2019-01-09 14:08         ` Ricardo Wurmus
2019-01-09 15:15           ` Ricardo Wurmus
2019-01-09 18:52             ` Timothy Sample
2019-01-09 19:42           ` Ricardo Wurmus
2019-01-14 15:17     ` L p R n d n

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cucpntsgx8r.fsf@lprndn.info \
    --to=guix@lprndn.info \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.