Skip to content

Instantly share code, notes, and snippets.

@wellington1993
Last active April 17, 2024 21:45
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wellington1993/1e3c2f7254b1a372c3158b15c125e3f7 to your computer and use it in GitHub Desktop.
Save wellington1993/1e3c2f7254b1a372c3158b15c125e3f7 to your computer and use it in GitHub Desktop.
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
@electroheadfx
Copy link

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