My experience with tiling window managers / dot-WM's and part2 of the Ultrawide gaming on Linux entry


Here is the first entry with KDE and ultrawide gaming:

/Blog/2023.04.07_Linux_Force_Triple_Screen_Gaming_without_Eyefinity_or_Surround/Linux_Force_Triple_Screen_Gaming_without_Eyefinity_or_Surround.html

I tried a few new desktops on Linux and found two in particular that I love.

The first one is Wayfire. It is crazy how fast and beautiful this WM is, and as usual with WM's with dotfiles as they are now known, it is customizable into oblivion. It is a floating WM and that is rare with such dotfile WM's. It works great for everything except one thing. Multi-monitor gaming is not possible on this WM. The windows wrap around a triangle by design, which means that multi-screen gaming or very large windows are not possible.

I tried a couple of tiling window managers, but most were just too stiff for me. Then I tried Hyprland. It is exactly what I wanted and how I use my PC most of the time. Window tile dynamically, logical and easy. The best part is that you can use window rules, key binds and gamescope to play on multiple monitors. It makes gaming in general very convenient because you can just SHIFT+TAB and move the window around and do whatever you want with the SteamOverlay on the screen. It is literally the best WM I have ever used in terms of how everything works and how to use it.

Here is everything I needed to add to my hypr.conf to make ultra-wide gaming work perfectly. You need gamescope to force games to do what you want!:


> Making Wine/Proton/Gamescope Windows floating:

# Linux: windowrule = float, wine windowrule = float, class:^(wine)$,class:^(.*)$ windowrule = float, proton windowrule = float, wineserver windowrule = float, winecfg windowrule = float, class:^(proton)$ windowrule = float, class:^(wine)$ windowrule = float, gamescope # EXE: windowrule = move 0 0, title:^(\*.exe)(.*)$ windowrule = float, wine.exe windowrule = float, proton.exe windowrule = float, wineserver.exe windowrule = float, winecfg.exe windowrulev2 = float, title:^(\*.exe), class:^(wineserver)$
> Forcing a window into the game area (in this case 2k vertical and 2k horizontal times 3 and moving the window to the right position): bind = SUPER, G, resizeactive, exact 7680 1440 bind = SUPER, G, moveactive, exact 0 260
It only works with floating windows, and if the rules do not work with a window, you can force it to float: bind = SUPER, V, togglefloating
The Steam Game-StartUp-Options:

2K Ultrawide: gamescope -h 1440 -w 7680 -b %command% 2K Normal: gamescope -h 1440 -w 2560 -b %command%


Sources: