![]() |
Re: File Manager
im not sure if i did it right.
i got step 1 but step 2 took a bit to comprehend i went to /usr/local/lib/emelfm2 i didnt know what you meant by "if not being run by root" i was running root emelfm2 to edit the file in the first place. but i put the code in to the script. i saved and rebooted my n810 and then i ran emelfm2 again and well so far i just have had to delete some things which i am able to do now. but the emelfm2 i am running doesnt look like the emelfm2 i would be running while in root. (gui looks like the normal one). so im still unsure if i have done it right. |
Re: File Manager
Quote:
As for the script, it needs to check to see if 'root' is running it, because the 'sudo' doesn't work (emelfm2 doesn't run) if run by 'root'. I just went around the problem, because I'm not familiar enough with sudo to know how to resolve it. |
Re: File Manager
Thanks for info, after seeing emel script i realized i wanted this too.
Since this gives emelfm2 power to let you mess up your system, i'd only recommend for advanced users, but you can also do this : Edit (as root) /etc/sudoers and add : user ALL = (ALL) NOPASSWD: ALL (if you want user 'user' to sudo anything) -or- user ALL = NOPASSWD: /usr/bin/emelfm2 (minimum i think... didnt test) Then edit (as root), the /usr/share/applications/hildon/emelfm2.desktop and set the exec line to read : Exec=sudo /usr/bin/emelfm2 That should launch emelfm2 as root. Edit : Fixed sudo line as pointed out by qwerty12 below |
Re: File Manager
Sorry for the bump but this is urgent.
I can tell that you didn't test the sudoers line: user ALL = NOPASSWD: run-standalone.sh /usr/bin/emelfm2 because it should be : user ALL = NOPASSWD: /usr/bin/run-standalone.sh /usr/bin/emelfm2 If it doesn't have usr/bin; then sudo is f*****. It will not run any program that needs root (app manager etc) and you cannot edit /etc/sudoers as user :rolleyes: I fixed thanks to "delaroca's" non deb version of plink which connected to my ssh server running on my n800. |
Re: File Manager
Gotta love fault tolerance... glad you were able to reboot the mars rover :) I updated lines above - thanks
|
Re: File Manager
PCManFM would be awesome on the IT's, and it's lighter than Emelfm2. (btw, emelfm, the original, would also be great).
And as it's a GTK app, would it be too hard to port? edit: GTK+1 emelfm, Debian Sid armel package works on the IT's, with a few UI glitches (preference dialogues). Like XMMS one has to start it with LC_MESSAGES=C LANG=C otherwise the dialogues' text will be empty. |
Re: File Manager
Cough cough
Forget about this post :) |
Re: File Manager
Quote:
************************************************** ******* How do I access root mode? when emelfm2 ask for a command, i enter >> sudo gainroot then it loads x Terminal and ask me for a password....and I don't know it. I never created 1. Please Help |
Re: File Manager
Why it is that some files in the file manager that I try to move to other folders are set as read only and I can't move or copy them? Are they locked that I have to use xterm and be root to copy or move them? Cause I have created some note files that now I can't even edit them due to this read only issue.
|
All times are GMT. The time now is 09:06. |
vBulletin® Version 3.8.8