diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/allow-opengl-game.inc | 6 | ||||
-rw-r--r-- | etc/profile-a-l/alienarena-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/ballbuster-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/colorful-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/etr-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/gl-117-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/glaxium-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/neverball-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/neverputt-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/pinball-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/scorched3d-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/supertuxkart-wrapper.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/xonotic.profile | 3 | ||||
-rw-r--r-- | etc/templates/profile.template | 3 |
14 files changed, 23 insertions, 0 deletions
diff --git a/etc/inc/allow-opengl-game.inc b/etc/inc/allow-opengl-game.inc index 5d2d6c5c1..5ec227348 100644 --- a/etc/inc/allow-opengl-game.inc +++ b/etc/inc/allow-opengl-game.inc | |||
@@ -2,6 +2,12 @@ | |||
2 | # Persistent customizations should go in a .local file. | 2 | # Persistent customizations should go in a .local file. |
3 | include allow-opengl-game.local | 3 | include allow-opengl-game.local |
4 | 4 | ||
5 | # Explanation: Fedora (and maybe others) install a .desktop file that uses | ||
6 | # `Exec=foo-wrapper` instead of `Exec=foo`. Each /usr/bin/foo-wrapper is a | ||
7 | # symlink to /usr/bin/opengl-game-wrapper.sh, which checks hardware | ||
8 | # acceleration and then starts the game or notifies the user that there is a | ||
9 | # problem. | ||
10 | |||
5 | noblacklist ${PATH}/bash | 11 | noblacklist ${PATH}/bash |
6 | whitelist /usr/share/opengl-games-utils/opengl-game-functions.sh | 12 | whitelist /usr/share/opengl-games-utils/opengl-game-functions.sh |
7 | private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity | 13 | private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity |
diff --git a/etc/profile-a-l/alienarena-wrapper.profile b/etc/profile-a-l/alienarena-wrapper.profile index b31996cd2..b05a6968d 100644 --- a/etc/profile-a-l/alienarena-wrapper.profile +++ b/etc/profile-a-l/alienarena-wrapper.profile | |||
@@ -6,6 +6,7 @@ include alienarena-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin alienarena-wrapper | 12 | private-bin alienarena-wrapper |
diff --git a/etc/profile-a-l/ballbuster-wrapper.profile b/etc/profile-a-l/ballbuster-wrapper.profile index 419dcaab5..64a78e154 100644 --- a/etc/profile-a-l/ballbuster-wrapper.profile +++ b/etc/profile-a-l/ballbuster-wrapper.profile | |||
@@ -6,6 +6,7 @@ include ballbuster-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin ballbuster-wrapper | 12 | private-bin ballbuster-wrapper |
diff --git a/etc/profile-a-l/colorful-wrapper.profile b/etc/profile-a-l/colorful-wrapper.profile index 4b762047d..ebccffe09 100644 --- a/etc/profile-a-l/colorful-wrapper.profile +++ b/etc/profile-a-l/colorful-wrapper.profile | |||
@@ -6,6 +6,7 @@ include colorful-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin colorful-wrapper | 12 | private-bin colorful-wrapper |
diff --git a/etc/profile-a-l/etr-wrapper.profile b/etc/profile-a-l/etr-wrapper.profile index 98f949918..66dcb3af1 100644 --- a/etc/profile-a-l/etr-wrapper.profile +++ b/etc/profile-a-l/etr-wrapper.profile | |||
@@ -6,6 +6,7 @@ include etr-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin etr-wrapper | 12 | private-bin etr-wrapper |
diff --git a/etc/profile-a-l/gl-117-wrapper.profile b/etc/profile-a-l/gl-117-wrapper.profile index d783940f3..52b812954 100644 --- a/etc/profile-a-l/gl-117-wrapper.profile +++ b/etc/profile-a-l/gl-117-wrapper.profile | |||
@@ -6,6 +6,7 @@ include gl-117-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin gl-117-wrapper | 12 | private-bin gl-117-wrapper |
diff --git a/etc/profile-a-l/glaxium-wrapper.profile b/etc/profile-a-l/glaxium-wrapper.profile index 7dc2cf65e..341f3ac4b 100644 --- a/etc/profile-a-l/glaxium-wrapper.profile +++ b/etc/profile-a-l/glaxium-wrapper.profile | |||
@@ -6,6 +6,7 @@ include glaxium-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin glaxium-wrapper | 12 | private-bin glaxium-wrapper |
diff --git a/etc/profile-m-z/neverball-wrapper.profile b/etc/profile-m-z/neverball-wrapper.profile index 534e41dd1..086bd6e5e 100644 --- a/etc/profile-m-z/neverball-wrapper.profile +++ b/etc/profile-m-z/neverball-wrapper.profile | |||
@@ -6,6 +6,7 @@ include neverball-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin neverball-wrapper | 12 | private-bin neverball-wrapper |
diff --git a/etc/profile-m-z/neverputt-wrapper.profile b/etc/profile-m-z/neverputt-wrapper.profile index dacd113cc..d29809c9a 100644 --- a/etc/profile-m-z/neverputt-wrapper.profile +++ b/etc/profile-m-z/neverputt-wrapper.profile | |||
@@ -6,6 +6,7 @@ include neverputt-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin neverputt-wrapper | 12 | private-bin neverputt-wrapper |
diff --git a/etc/profile-m-z/pinball-wrapper.profile b/etc/profile-m-z/pinball-wrapper.profile index 2b5ed6e27..fec4c3132 100644 --- a/etc/profile-m-z/pinball-wrapper.profile +++ b/etc/profile-m-z/pinball-wrapper.profile | |||
@@ -6,6 +6,7 @@ include pinball-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin pinball-wrapper | 12 | private-bin pinball-wrapper |
diff --git a/etc/profile-m-z/scorched3d-wrapper.profile b/etc/profile-m-z/scorched3d-wrapper.profile index e76caec1d..a8713edbf 100644 --- a/etc/profile-m-z/scorched3d-wrapper.profile +++ b/etc/profile-m-z/scorched3d-wrapper.profile | |||
@@ -3,6 +3,7 @@ | |||
3 | # Persistent local customizations | 3 | # Persistent local customizations |
4 | include scorched3d-wrapper.local | 4 | include scorched3d-wrapper.local |
5 | 5 | ||
6 | # Allow opengl-game wrapper script (distribution-specific) | ||
6 | include allow-opengl-game.inc | 7 | include allow-opengl-game.inc |
7 | 8 | ||
8 | private-bin scorched3d-wrapper | 9 | private-bin scorched3d-wrapper |
diff --git a/etc/profile-m-z/supertuxkart-wrapper.profile b/etc/profile-m-z/supertuxkart-wrapper.profile index af8d73deb..20744090c 100644 --- a/etc/profile-m-z/supertuxkart-wrapper.profile +++ b/etc/profile-m-z/supertuxkart-wrapper.profile | |||
@@ -6,6 +6,7 @@ include supertuxkart-wrapper.local | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Allow opengl-game wrapper script (distribution-specific) | ||
9 | include allow-opengl-game.inc | 10 | include allow-opengl-game.inc |
10 | 11 | ||
11 | private-bin supertuxkart-wrapper | 12 | private-bin supertuxkart-wrapper |
diff --git a/etc/profile-m-z/xonotic.profile b/etc/profile-m-z/xonotic.profile index 87e75986d..ad4ed4d8b 100644 --- a/etc/profile-m-z/xonotic.profile +++ b/etc/profile-m-z/xonotic.profile | |||
@@ -8,7 +8,10 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.xonotic | 9 | noblacklist ${HOME}/.xonotic |
10 | 10 | ||
11 | # Allow /bin/sh (blacklisted by disable-shell.inc) | ||
11 | include allow-bin-sh.inc | 12 | include allow-bin-sh.inc |
13 | |||
14 | # Allow opengl-game wrapper script (distribution-specific) | ||
12 | include allow-opengl-game.inc | 15 | include allow-opengl-game.inc |
13 | 16 | ||
14 | include disable-common.inc | 17 | include disable-common.inc |
diff --git a/etc/templates/profile.template b/etc/templates/profile.template index 2188721b8..459baf51a 100644 --- a/etc/templates/profile.template +++ b/etc/templates/profile.template | |||
@@ -91,6 +91,9 @@ include globals.local | |||
91 | # Allow nodejs (blacklisted by disable-interpreters.inc) | 91 | # Allow nodejs (blacklisted by disable-interpreters.inc) |
92 | #include allow-nodejs.inc | 92 | #include allow-nodejs.inc |
93 | 93 | ||
94 | # Allow opengl-game wrapper script (distribution-specific) | ||
95 | #include allow-opengl-game.inc | ||
96 | |||
94 | # Allow perl (blacklisted by disable-interpreters.inc) | 97 | # Allow perl (blacklisted by disable-interpreters.inc) |
95 | #include allow-perl.inc | 98 | #include allow-perl.inc |
96 | 99 | ||