Thread
:
How to use root within script/program?
View Single Post
AlMehdi
2011-03-01 , 11:03
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#
8
Thanks for all of the suggestions
Update:
The run file is /usr/share/application/hildon/awoken.desktop. It uses the gui-file /opt/awoken-extras/awoken.py that uses /opt/awoken-extras/data.sh depending on what button you pressed.
By using the "run-standalone.sh" i am able to run the awoken.py file as root.. but when it want to execute data.sh it get a permission error. I have tried with both user and root permission on the awoken.py file.
So it is: awoken.desktop >> awoken.py >> data.sh
I have tried with and without the awkoen.sudoers in /etc/sudoers.d/
The files are in it's actual folder so if somebody want to try it on the n900 the only need is to unpack it to root. You should comment out the data.sh so no icons are changed.
The file is here:
http://dl.dropbox.com/u/3143026/awok...e-1.1-5.tar.gz
__________________
You like what i do?
Donate!
Make your desktop look awesome - use the
AwOken Theme
with the
AwOken Icon Theme.
Add me on twitter
@almehdin
Visit
the swedish maemo/meego community forums
Quote & Reply
|
AlMehdi
View Public Profile
Send a private message to AlMehdi
Find all posts by AlMehdi