Re: [Nix-dev] Gnome 3.22 hit master

2016-10-27 Thread zimbatm
If we believe that Wayland is the future it makes sense to me to exercise
the new stack on a small thing like GDM. If Wayland is the default backend
it's also bound to be better tested by upstream.

On Thu, 27 Oct 2016, 00:37 Alexander Ried,  wrote:

> 2016-10-26 22:01 GMT+02:00 Jascha Geerds :
>
> But you can still select a legacy (X server based) Gnome session inside
> GDM, right?
>
> The decision which type of user session (x or wayland) will be started is
> based on the path of the .desktop file that's requested: If the parent
> folder is called wayland-sessions, gdm starts a wayland user session.
> Otherwise a x user session.
>
> Our xserver module generates these files as
> /nix/store/-desktops/.desktop, so it should always start a x
> user session.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Gnome 3.22 hit master

2016-10-26 Thread Alexander Ried
2016-10-26 22:01 GMT+02:00 Jascha Geerds :

> But you can still select a legacy (X server based) Gnome session inside
> GDM, right?
>
The decision which type of user session (x or wayland) will be started is
based on the path of the .desktop file that's requested: If the parent
folder is called wayland-sessions, gdm starts a wayland user session.
Otherwise a x user session.

Our xserver module generates these files as
/nix/store/-desktops/.desktop, so it should always start a x
user session.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Gnome 3.22 hit master

2016-10-26 Thread Jascha Geerds
On Wed, Oct 26, 2016, at 20:12, Alexander Ried wrote:
> GDM defaults to wayland if it's available. Since our default is to build
> the packages with wayland support, GDM will use it unless explicitly
> configured not to.

But you can still select a legacy (X server based) Gnome session inside
GDM, right?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Gnome 3.22 hit master

2016-10-26 Thread Eelco Dolstra
Hi,

On 10/26/2016 05:01 PM, Alexander Ried wrote:

> GDM was finally updated from ancient 3.14 to current 3.22 and now uses wayland
> instead of X for the login. After logging in, gnome-session will likely still
> start a user X session for you (no more X running as root).

Hm, using Wayland instead of X11 sounds like a fairly major architectural
change for NixOS, akin to switching the init system. AFAIK, Wayland support in
NixOS is experimental and we've never made a conscious decision on switching to
Wayland. Has there been any discussion about this?

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Gnome 3.22 hit master

2016-10-26 Thread Jascha Geerds
On Wed, Oct 26, 2016, at 17:01, Alexander Ried wrote:
> GDM was finally updated from ancient 3.14 to current 3.22 and now uses
> wayland instead of X for the login. After logging in, gnome-session will
> likely still start a user X session for you (no more X running as root).

These are really great news!

Who did the hard work of updating GDM to 3.22? Thank you so much! I've
tried it in the past (3.14 and 3.16) but failed...

Any chance to get Gnome 3.22 backported to NixOS 16.09 (in addition to
3.20)?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev