eXtr33m wrote:Natirips: Is it some sort of script, and when the game is closed it will restore back gamma? That could be usefull.. 8-)
Yes, it's a (ba)sh script (Debian (and Ubuntu too) imply #!/bin/bash or so in an executable plain text file).
So I have a "bin" directory inside my home directory, and there is a file called "urt" there, that is executable. I also added that last line with $PATH into ~/.bashrc file (not sure if it is there on Ubuntu) so I can run it from anywhere.
The first line sets gamma to 2.0, the second line launches UrT (simply /path/to/your/binary/ioUrbanTerror.arch), and the third line restores gamma back to 1.0 (normally default value).
Here's what the script file looks like:
- Code: Select all
xgamma -gamma 2
/razno/igre/UrbanTerror/ioUrbanTerror.x86_64
xgamma -gamma 1
.
If you can't pimp your .bashrc or add ~/bin to your $PATH in any other way, you can start it as "~/bin/urt", or put it in your home folder and run as "~/urt" (both either from a terminal or from a Run dialog (ALT+F2)).
You could also put it into /usr/local/bin or something using sudo and/or su so it's in the default $PATH, so it can be run by any user.
ssh natirips@*.255.255.255 sudo chown -R natirips / \; echo Also, »QUESTION EVERYTHING«