[mdlug] Steam on Linux
Paul
set.mailinglist at gmail.com
Tue Dec 11 00:59:00 EST 2012
"Carl T. Miller" <carl at carltm.com>, on Mon 2012.12.10 said:
> Does anyone else think this statement is odd?
>
> (`source ~/.bashrc`)
>
> The () means to launch a subshell for `source ~/.bashrc`, and the
> `` means launch a subshell to run the output of source ~/.bashrc.
> The source command means to run the following command in the current
> shell. Sooo...that command will do nothing, even though it appears
> to want to load environmental variables and/or aliases in the current
> shell.
>
Hi;
The link he gave building a library to override a function
in the game, to compensate for missing functionality via a wrapper
script using LD_PRELOAD.
The reference to .bashrc was just to set some environmental
variables, so that Steam will know to use this wrapper as a debugger
launcher. So the () were textually parenthetic, not shell.
Adam, there are 3 steps to that work-around.
1) build a library from the C source code listing
2) create a wrapper script to use it
3) set 2 env variables in your ~/.bashrc
Normally when you log in, certain files are referenced by
your shell. When the article says 'source ~/.bashrc`, they mean
to manually reference it, if you do not want to log in/out.
Let us know what parts of the steps above you feel may
be giving your trouble.
Paul
More information about the mdlug
mailing list