{ borderless-fullscreen }: a shell script that forces a windowed app into borderless fullscreen on Linux.
Some games only offer "windowed" or "exclusive fullscreen", and both are annoying on a multi-monitor desk. This puts the window you pick fullscreen without the mode switch, so alt-tab stays instant. It's the Linux take on the Borderless Gaming app from Windows.
Note
Needs Xorg or Wayland tooling installed first — xdotool + zenity on Xorg, wlr-randr + wmctrl + zenity on Wayland. The installer asks which one you're on.
| Session | Packages |
|---|---|
| Xorg | xdotool · zenity |
| Wayland | wlr-randr · wmctrl · zenity |
Needs: git · zenity · xdotool or wlr-randr + wmctrl
# Debian/Ubuntu — Xorg
sudo apt-get install xdotool zenity
# Debian/Ubuntu — Wayland
sudo apt-get install wlr-randr wmctrl zenity
# Fedora — Xorg
sudo dnf install xdotool zenity
# Fedora — Wayland
sudo dnf install wlr-randr wmctrl zenity
# Arch — Xorg
pacman -Syu xdotool zenity
# Alpine — Xorg
apk add --upgrade xdotool zenity- Clone the repo and enter it:
git clone https://github.com/AfroPK/borderless-fullscreen.git && cd borderless-fullscreen sudo chmod +x install.shsudo ./install.shand pick Wayland or Xorg.- It shows up in your application menu — launch it from there.
Start the app, pick the window you want, and it goes borderless fullscreen. To remove it, run sudo ./uninstall.sh from the cloned repo.
- Tested on Xorg and Wayland sessions; a few compositors handle window sizing differently.
- Inspired by Borderless Gaming on Windows.
- MIT licence.






