Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to Install Wayland Gnome on Linux Mint Ubuntu with Dependencies with PPA
#!/bin/bash
# NOTICE, EASY WAY FIRST: sudo apt install gnome-session-wayland
# If easy way not work try this below:
################# 0 - Preparation ##################
# Update and PPA
sudo add-apt-repository -y ppa:wayland.admin/daily-builds; \
apt update; \
#
# Depends
sudo apt install -y doxygen xmlto; \
sudo apt install -y libxml2-dev; \
#
# Install build dependencies of wayland/weston
sudo apt install -y \
libevdev-dev \
libwacom-dev \
libxkbcommon-dev; \
#
sudo apt-get install -y autoconf automake bison debhelper dpkg-dev flex \
libudev-dev libx11-dev libx11-xcb-dev \
libxdamage-dev libxext-dev libxfixes-dev libxxf86vm-dev \
linux-libc-dev pkg-config python-libxml2 quilt x11proto-dri2-dev \
x11proto-gl-dev xutils-dev; \
#
# libinput dependencies:
sudo apt install -y libmtdev-dev libpam0g-dev; \
#
################## 1- Installation #################
# Wayland
sudo apt install -y libwayland0; \
sudo apt install -y weston wayland-protocols xserver-xorg; \
sudo apt install -y xwayland wayland; \
sudo apt install -y weston; \
#
# Gnome and Lightdm
apt install -y gnome-session\*; \
apt install -y gnome-session-wayland; \
#
sudo dpkg-reconfigure lightdm; \
weston; \
#
# From
# Me and
# https://wayland.freedesktop.org/ubuntu16.04.html
# https://wayland.freedesktop.org/ubuntu12.04.html
# http://ubuntuhandbook.org/index.php/2015/04/latest-wayland-ubuntu-14-04-ppa/
# https://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.pt-br.html
# https://www.howtoinstall.co/pt/ubuntu/xenial/gnome-session-wayland
# https://launchpad.net/~wayland.admin/+archive/ubuntu/daily-builds/+index?field.series_filter=utopic
# https://jan.newmarch.name/Wayland/RunningWayland/
# https://askubuntu.com/questions/514094/how-do-i-install-wayland-and-use-it
# https://github.com/wespelee/Wayland/blob/master/wayland-build-fedora.sh
@wellington1993
Copy link
Author

wellington1993 commented Oct 18, 2017

Tutorial: Copy and Paste many times
Stop only after don't have more installs to do.

Strange but at one of my desktops the Nvidia driver make fail the install on the middle and is needed to run script again...

@electroheadfx
Copy link

electroheadfx commented Mar 3, 2021

From Linux Mint 20.1, no work.
https://paste.ofcode.org/VLUG8d7nzBLDc6qLM5DUDT
Any way fast way to all uninstall ?
thanks bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment