Setting up Rexuiz on Arch Linux running the Sway window manager involves several steps. Rexuiz is a free and open-source first-person shooter that uses the DarkPlaces engine, and it should work well with Sway. Below is a guide on how to install and run Rexuiz on your Arch Linux system.
Step 1: Install Rexuiz
-
Update system packages:
Make sure your system is up to date:
sudo pacman -Syu
-
Install Rexuiz from the AUR:
Rexuiz can be installed from the Arch User Repository (AUR). If you have an AUR helper like yay, you can use it to install Rexuiz easily. If you don't have yay installed, you may want to install it first.
To install Rexuiz with yay, run:
yay -S rexuiz
If you prefer to install manually:
- Search for the package on the AUR website: AUR - Rexuiz
- Download the
PKGBUILD file.
- Build and install it using:
makepkg -si
Step 2: Install Dependencies
Rexuiz may have some required dependencies, especially some graphics libraries. Ensure you have the following installed:
sudo pacman -S \
base-devel \
glu \
sdl2 \
openal \
libvorbis \
libtheora \
libpng
Step 3: Configure Graphics Settings
-
Graphics Drivers: Make sure you have the appropriate graphics drivers installed for your hardware (NVIDIA, AMD, or Intel). If you have not done so already, install the necessary drivers.
-
Set Up OpenGL: If you're using Intel or AMD, ensure that you have the mesa package installed:
sudo pacman -S mesa
Step 4: Running Rexuiz
After installation, you should be able to run Rexuiz by typing rexuiz in the terminal.
To launch it, simply run:
rexuiz
Step 5: Troubleshooting
If you encounter issues running Rexuiz:
- Check Dependencies: Make sure all required dependencies are correctly installed.
- Sway Specific Issues: Ensure that your Sway configuration does not block any necessary inputs or outputs. You can check your Sway logs for any errors by running:
swaymsg -t get_tree
- Run in Terminal: If the game does not launch, try running it from the terminal to see error messages that may point you in the right direction.
Step 6: Further Configuration (Optional)
You can configure the game settings directly within Rexuiz, adjusting controls, graphics settings, and resolutions to suit your preferences.
Conclusion
With these steps, you should have Rexuiz installed and running on your Arch Linux system under Sway. Enjoy your gaming experience! If you have any more questions or run into issues, feel free to ask.