Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gnome wayland support #44497

Merged
merged 7 commits into from
Dec 10, 2018
Merged

Commits on Dec 9, 2018

  1. Configuration menu
    Copy the full SHA
    9895ce2 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2018

  1. gnome3.gnome-session: prevent crash when launching wayland sessions

    gnome-session inherits GDMS PATH, which is at the moment non-functional. In X11
    this didn't matter as the `Xsession` wrapper would populate the environment
    beforehand. Wayland sessions doesn't source `Xesssion` (duh), so we patch
    `bin/gnome-session` to use absolute paths for `grep` and `bash`.
    
    In addition `bin/gnome-session` is a simple wrapper around
    `libexec/gnome-session-binary` mostly responsible for sourcing the users profile
    before launching the binary. This made our wrapping of `bin/gnome-session`
    ineffective on wayland as the profile would reset the environment. Simply wrap
    `libexec/gnome-session-binary` instead.
    hedning committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    d54bfa8 View commit details
    Browse the repository at this point in the history
  2. nixos/sddm: Enable wayland-sessions

    LightDM is unable to separate between `wayland-sessions/gnome.desktop` and
    `xsessions/gnome.desktop` so I ommitted adding this to LightDM.
    hedning committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    48a9a24 View commit details
    Browse the repository at this point in the history
  3. nixos/gnome3: Implement sessionPath through environment.extraInit

    This will simply make the `sessionPath` more likely to work.
    hedning committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    cdd266c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3c0e704 View commit details
    Browse the repository at this point in the history
  5. nixos/tests/gnome3: select X11 gnome shell explicitely

    This isn't strictly necessary yet as LightDM doesn't read the wayland sessions,
    but there's no harm in being explicit.
    hedning committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    116c16d View commit details
    Browse the repository at this point in the history
  6. nixos/tests/gnome3-gdm: port to wayland

    The test now runs wayland, which means we can no longer use X11 style testing.
    Instead we get gnome shell to execute javascript through its dbus interface.
    hedning committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    75e223b View commit details
    Browse the repository at this point in the history