Workaround for some games that do not start in the foreground with the SteamOS compositor
MIT License
THIS PROJECT IS NO LONGER ACTIVELY MAINTAINED, PLEASE SEE THIS FORK: https://github.com/oolongbrothers/steamos-fg
When using the SteamOS compositor, some games start behind the big picture UI and no graphics are displayed. This script forces such games to be shown in the foreground.
Affected games this script fixes include:
Run the following command:
sudo curl https://raw.githubusercontent.com/alkazar/steamos-fg/master/steamos-fg -o /usr/local/bin/steamos-fg && sudo chmod a+x /usr/local/bin/steamos-fg
Add steamos-fg %command%
to the launch options for each game you wish to use this script with.
This script was tested on Arch and reported to work on Ubuntu and SteamOS.
On Arch, you will need the xorg-xwininfo
and xorg-xprop
packages.
On Ubuntu, you will need the x11-utils
package.