Thread: File Manager
View Single Post
Posts: 12 | Thanked: 0 times | Joined on Aug 2007 @ Seattle,WA
#22
Originally Posted by kurupted View Post
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.
I see that too (different GUI appearance if run as 'root' or 'user'). It's probably due to different configurations stored in each users' home directory. But I haven't bothered to look into it yet.

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.