Andrew http://www.headshotgamer.com/
11/01/2009 7:13:59 PM
True! I guess it's up to the user to decide. Thanks for your input!
|
G&T
11/01/2009 6:25:18 AM
echo $PASSWORD | sudo -S $COMMAND
or alternatively add the script path to /etc/sudoers.
example:
username ALL = (ALL) NOPASSWD: /home/username/.scripts/test.sh
|
Andrew http://www.headshotgamer.com/
10/01/2009 9:42:11 AM
The only problem with that is that you have to use "sudo", so it's not great for setting up bash scripts or using as a command in an application launcher since you'll need to to enter the root users password (or worse yet, include it in the script!).
|
G&T
10/01/2009 5:17:48 AM
You can also use this command:
sudo nvidia-settings -a GPUOverclockingState=1 -a GPU2DClockFreqs=GPUCORE-MHZ,GPUMEM-MHZ -a GPU3DClockFreqs=GPUCORE-MHZ,GPUMEM-MHZ
ie.
GPU2DClockFreqs=700,666 GPU3DClockFreqs=700,666
|