View Single Post
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#140
Originally Posted by James_Littler View Post
it's so you don't have to run as root, meaning you can use the command in alarmed without using sudo

(I had the same problem with sudo asking for a password)

First extract OptimizeN900 and copy to you N900 (I copied to Downloads)

Then go into xterm and run the following code
Code:
root
Code:
mkdir /opt/scripts
makes the directory 'scripts' within 'opt'

Code:
cp /home/user/MyDocs/Downloads/OptimizeN900 /opt/scripts
Copies the OptimizeN900 file from 'Downloads' to 'scripts'

Code:
chown root /opt/scripts/OptimizeN900
Code:
chmod 4755 /opt/scripts/OptimizeN900
After you've done that you can execute the script by typing
Code:
sh /opt/scripts/OptimizeN900
You can also put this command into alarmed

combined with the above steps, the attached desktop file creates a shortcut for the optimize script!

just extract optimize.desktop file to

/usr/share/applications/hildon

has no icon yet
Attached Files
File Type: zip optimize.zip (306 Bytes, 218 views)
 

The Following 2 Users Say Thank You to F2thaK For This Useful Post: