waywall
- waywall is a Wayland compositor designed to run inside your existing Wayland session. It provides various convenient features for speedrunning, including but not limited to:
- Window resizing
- Key remapping
- Ninjabrain Bot support
- Mirrors (i.e. magnifiers for eye measuring, F3, etc.) without using OBS
- Lots of custom functionality.
- If you're using X11, please use resetti instead.
Installer Script
Always be very careful running the scripts of the internet, only run the script that you can trust
Below is the automated installation script created by snaw. It does following:
- Download and setup default JDK to avoid issue related to headless JDK
- Download and install Prism launcher(flatpak prisms backup is taken at runtime)
- Downloads and install waywall
- Downloads Gores Generic Config sets it up for waywall
- Configures your minecraft instance to use waywall ( wrapper and glfw setup
- Setup Ninjabrain bot for boateye (godsens,greenboat,std deviation etc). ( doesnt set sensitivies in waywall , you have to do it manually. Please check guide here https://its-saanvi.github.io/linux-mcsr/minecraft/wayland/boat-eye.html)
- Optionally, can setup plugwaywall + plugins for generic config in any point in time
- Dragclicking support
Check how to run and supported os on their page: https://github.com/lemonsnaw/snaws-waywall-installer
Installation
-
To install waywall on Fedora / Nobara:
-
Fedora 42 / Nobara 42 onwards, prebuilt binaries are available and is recommended way to install waywall. Please download the
.x86_64.rpmpackage from releases of waywall.-
If you are using KDE Plasma (default with Desktop edition of Fedora), installation can be done by double clicking on .rpm file and installing it via Discover app.
-
In any other case you can use,
sudo dnf install [path_to_rpm_file]provide path to.rpmfile.Example:
sudo dnf install ~/Downloads/waywall.x86_64.rpm
-
-
Fedora 41 / Nobara 41 and below
-
First install the dependencies with the following terminal command:
sudo dnf install libspng-devel cmake meson mesa-libEGL-devel luajit-devel libwayland-client libwayland-server libwayland-cursor libxkbcommon-devel xorg-x11-server-Xwayland-devel wayland-protocols-devel wayland-scanner wayland-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel -
Then, run the commands on this page of the waywall documentation to compile waywall from source.
-
-
-
On Arch Linux / Arch linux derivatives:
-
Prebuilt binary(waywall + glfw) is available in waywall releases and is recommended way to install waywall.
-
Download the
waywallXXXXX-x86_64.pkg.tar.zst. whereXXXXXis version -
Copy the path to
*.pkg.tar.zstand install it using pacman with following command:sudo pacman -U waywallpkgpathExample:
sudo pacman -U ~/Downloads/waywall-0.5-1-x86_64.pkg.tar.zst
once finished you can proceed with next section and if any of the dependancies are missing please install them by searching on web and then run the above command again.
-
-
Waywall package is available in AUR however it does not come GLFW(graphics library that Minecraft uses), waywall requires custom GLFW to work, either you build GLFW manually described in this section of waywall documentation or download prebuilt GLFW from this frontcage glfw update.
-
-
On Debian , prebuilt binaries are available for waywall however they only work with Debian 13 and up as older versions do not have updated dependencies to run waywall and older versions should use x11 and resetti instead. Please download
.debversion from releases of waywall.- Installation of package can be done by double clicking on
.deband installing using default system install. - In any other case apt can be used to install .deb packages using following command.
sudo apt install locationTodebfileeg.sudo apt install ~/Downloads/waywall.deb
- Installation of package can be done by double clicking on
-
On Ubuntu/Ubuntu based Distros (Linux Mint, MX Linux, Pop OS! etc),
- Ubuntu 26.04 has been tested and verified working with waywall using
.debpackage. Follow the same installations instruction as Debian. - Linux Mint 22.3 and below/Any distro based on Ubuntu 24.04 or below cannot run waywall due outdated dependencies and should switch to x11 and use resetti instead.
- Ubuntu 26.04 has been tested and verified working with waywall using
-
On SteamOS (or for local installation on Arch):
- Prebuilt binary (waywall + glfw) is available in waywall releases and is recommended way to install waywall.
-
Download the
waywallXXXXX-x86_64.pkg.tar.zst. whereXXXXXis version -
Untar the download with
tar -xf waywallXXXXX-x86_64.pkg.tar.zst -
For any further instructions that refer to the
waywallexecutable or the GLFW shared object library, instead use the full path where you have untarred the .zst file.Example:
/home/deck/mcsr/deps/waywall/usr/bin/waywall -
After attempting to launch, you may find that some libraries are missing (for example
libspng). There are multiple ways to fix this. The "easy route" is to installlibspngby disabling SteamOS readonly mode, which allows commands likesudo pacman -S libspng. As this library is small, there is no real downside to doing this.However, if you would like to avoid modifying the root partition as much as possible (or if larger libraries are required in the future, or in your setup), you can also locally install libraries using e.g.
pacman -S --root $HOME/mcsr/deps/ libspng. This will create a "root-like" folder structure in$HOME/mcsr/deps/. In order for libraries in here to be seen by Waywall, you can add a .conf file in/etc/ld.so.conf.d:sudoedit /etc/ld.so.conf.d/mcsr.conf (in editor: add the following) /home/deck/mcsr/deps/usr/lib/ # ensure that this is the correct library path, obviously sudo ldconfig # required for ld to recognize the updated library locationsThis will allow you to install arbitrary libraries without requiring space in your root partition.
-
- Prebuilt binary (waywall + glfw) is available in waywall releases and is recommended way to install waywall.
Verification of installation
- Run
waywallor whole path to binary if you have built from source in a terminal to check it's installed properly. it should produce similar output:Usage: waywall wrap -- CMD Run the specified command in a new waywall instance Options: --profile PROFILE Run waywall with the given configuration profile --allow-mc-x11 Allows Minecraft to run under X11. This will result in a degraded experience. --no-env-reexec Disable re-executing waywall with the parent process'
GLFW and Instance setup
Once you have waywall installed either from prebuilt binaries or built from source and verified it is working as described in previous section Verification of installation then you can proceed with following section. This sections assumes you are using Prism Launcher if not please check documentation of the launcher you are using.
Waywall Wrapper command
-
If you installed waywall from prebuilt binary, you can use
waywall wrap --in your wrapper command for you instance using following steps-
Click on edit instance of your minecraft instance

-
Go to settings in your edit instance page

-
Click on custom commands tab in settings , tick Override Global settings if its already not ticked then copy paste
waywall wrap --under Wrapper command section as described in following image
-
-
If you built waywall from source or are using full path.
-
Follow same steps as step 1 and 2 from above.
-
Click on custom commands tab in settings , tick Override Global settings if its already not ticked then copy paste the ABSOLUTE Path to your waywall binary in wrapper command e.g if you have built waywall binary in home/username/waywall/waywall , you need to add that path as such to your wrapper command
/home/username/waywall/waywall wrap --
-
GLFW path
-
Locate GLFW path and copy it.
- If you installed waywall using prebuilt binaries(.rpm,.deb,pkg.tar.zst), you should have GLFW library located at following location
/usr/local/lib64/waywall-glfw/libglfw.so - If you have built GLFW from source or using prebuilt GLFW builds from frontcage GLFW update. You should copy the complete path to that e.g if you have glfw.so at
/home/username/Downloads/glfw.so, that's the path you should copy.
- If you installed waywall using prebuilt binaries(.rpm,.deb,pkg.tar.zst), you should have GLFW library located at following location
-
Click on edit instance of your minecraft instance

-
Go to settings in your edit instance page

-
Go to Tweaks tab in settings . Tick
Native Librariescheckbox if its not already ticked. TickUse system installation of GLFWcheckbox option if its not already ticked then paste the path you copied earlier in GLFW library path input box
Next Steps
After doing wrapper command and putting glfw path. Launch minecraft once and verify it launches , once confirmed it launches, move on to the next section to install an example config and learn how to customize it to your liking.
Troubleshooting
On dual-GPU setups (i.e. laptops with integrated and dedicated graphics), waywall may not display mirrors correctly, specifically if the desired GPU is an NVIDIA one.
- With modern waywall , you can do following:
-
Click on edit instance of your minecraft instance

-
Go to settings in your edit instance page

-
Go to Tweaks tab in settings . Tick Performance checkbox if its not already checked then tick Use Discrete GPU checkbox if its not already ticked

-
In case above doesnt work please do the following:
- Arch users should check
nvidia-primeis installed. - If you're on another distro (i.e. Fedora):
-
Run the below commands to create the prime-run script on your PATH:
mkdir ~/.local/bincd ~/.local/bintouch prime-runnano prime-run -
Then, paste the following text, and save and exit the file with Ctrl+X:
#!/bin/bash __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@" -
Finally, make the script executable by running
sudo chmod +x prime-run. -
Then, modify your wrapper command in your instance's settings in Prism like so:
sh -c "waywall wrap -- prime-run $INST_JAVA \"$@\"" -
Remember to replace
waywallwith the absolute path if you must. -
Finally, uncheck "Use discrete GPU" in Prism Launcher settings if it was checked earlier when setting up Minecraft.
-