aboutsummaryrefslogtreecommitdiffstats
path: root/etc/inc/allow-opengl-game.inc
blob: 5ec227348dd4842858119930148c312852f64c03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This file is overwritten during software install.
# Persistent customizations should go in a .local file.
include allow-opengl-game.local

# Explanation: Fedora (and maybe others) install a .desktop file that uses
# `Exec=foo-wrapper` instead of `Exec=foo`.  Each /usr/bin/foo-wrapper is a
# symlink to /usr/bin/opengl-game-wrapper.sh, which checks hardware
# acceleration and then starts the game or notifies the user that there is a
# problem.

noblacklist ${PATH}/bash
whitelist /usr/share/opengl-games-utils/opengl-game-functions.sh
private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity