![]() |
Re: A equivilent of a .bat file on the n900
Quote:
I saw the sudoers.d dir but didn't get back to looking in there. I'll give it a peek. Thanks. |
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900
On top, to make life more easier and thats what I did in my n810 but haven't tried it in n900 as I don't own it yet (but for different purpose), you can, according to this, create a .desktop file in /usr/share/applications/hildon and this will create an icon in the main menu which you can just click and get the job done. Easy :)
|
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900
Quote:
I've done this and the file saved fine, i checked the contents with cat powerlevel.sh and it was correct, however when running it it doesn't change the powerlevel, any idea why? it looks fine to me and i did the chmod to, a message saying root enabled comes up when i run the file as user so it looks like its calling the correct file. On a side note when following your instructions i had to type sudo gainroot to run the commands, would this have caused a problem? |
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900
Quote:
http://talk.maemo.org/showpost.php?p...4&postcount=91 |
Re: A equivilent of a .bat file on the n900
Quote:
|
Re: A equivilent of a .bat file on the n900?
i did the following thing in xterminal without going in to sudo gainroot
Quote:
is it going to work when i write this command in xterm ./oc.sh EDIT: i tried this with the ./oc.sh command with and without sudo gainroot but an error is shown with " permission denied" can some body point oit my mistake, please. |
Re: A equivilent of a .bat file on the n900?
Permission denied usually means the executable bit is not set [you seemed to have taken care of that] or the underlying File System has noexec enabled, or it is a FAT or other weird FS.
Try Code:
sh oc.sh |
All times are GMT. The time now is 00:47. |
vBulletin® Version 3.8.8