Forked from wellington1993/wayland-gnome-ubuntu-mint.sh
Created
September 11, 2022 21:29
-
-
Save hmidani-abdelilah/038e17e88ff4c94c62de6a4b1654e7aa to your computer and use it in GitHub Desktop.
How to Install Wayland Gnome on Linux Mint Ubuntu with Dependencies with PPA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment