Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install optional utilities #147

Open
SuspiciousDuck opened this issue Jun 1, 2024 · 1 comment
Open

Install optional utilities #147

SuspiciousDuck opened this issue Jun 1, 2024 · 1 comment
Labels
status:awaiting-triage type:enhancement New feature or request for feature enhancement

Comments

@SuspiciousDuck
Copy link

Is your feature request related to a problem?

Previously, I had launch options for some games that would require utilities that aren't included with Steam, like gamemoderun. As an example, these are my launch options for GMod, "gamescope -w 1920 -h 1080 --display-index 0 gamemoderun %command%" (going by memory). As you can see, gamescope and gamemoderun aren't actually included in this image. So I was wondering if there could be an environment option to allow the installation of these utilities for minimal hassle.

What is your feature request?

Adding extra environment variables to determine the installation of utilities like gamescope, gamemode, and mangohud. For example, in .env there'd be an option called MANGOHUD, with true or false values. The default would be false for all 3 utilities.

Are there any workarounds?

You could install them manually, but you'd have to reinstall them every time the container is started.

Additional Context

No response

@SuspiciousDuck SuspiciousDuck added status:awaiting-triage type:enhancement New feature or request for feature enhancement labels Jun 1, 2024
@alansari
Copy link
Contributor

alansari commented Jun 2, 2024

You can create a script in the init.d folder called install_additional_stuff.sh
Anything in the init.d folder, located in your home directory, will be invoked when the container starts. My recommendation is use apt-get install --needed so it doesn't attempt to install every boot, only when the container is recerated.
edit: check out https://github.com/Steam-Headless/init.d for examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:awaiting-triage type:enhancement New feature or request for feature enhancement
Projects
None yet
Development

No branches or pull requests

2 participants