maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   emelfm2 (https://talk.maemo.org/showthread.php?t=41647)

bunanson 2010-01-24 01:34

Re: emelfm2
 
Quote:

Originally Posted by DaSilva (Post 491307)
I cannot install the WikiHow application from the Ovi store with emelfm2 already installed. Do you know how to use both applications?

Is it also possible to start emelfm2 with root privileges so that you can edit and save ever file you want?

No idea about the 1st question,

2nd question.
xterm
sudo gainroot
emelfem2

bun

DaSilva 2010-01-24 01:36

Re: emelfm2
 
How can edit the shortcut of emelfm2 so that it will be executed with root privileges every time?

YoDude 2010-01-24 01:56

Re: emelfm2
 
Quote:

Originally Posted by DaSilva (Post 491307)
I cannot install the WikiHow application from the Ovi store with emelfm2 already installed. Do you know how to use both applications?

Is it also possible to start emelfm2 with root privileges so that you can edit and save ever file you want?

Yes, you can run emelfm2 at root from xterm.

...and No, the installation of emelfm2 should not prevent you from running another app unless that app is not optified and requires the root space for its installation. If that is the case then the program you uninstall to make room for it doesn't matter.
On the face of it it looks like this WiKiHow app is not optified and actually loads its data into root. This is something unexpected from an app from a "trusted" source like Ovi.
Perhaps another thread should be started to discuss this. :)

DaSilva 2010-01-24 02:57

Re: emelfm2
 
Thanks.

So how must I edit the .desktop file to run emelfm2 always with root privileges?

zwer 2010-01-24 04:48

Re: emelfm2
 
As application exec use: /bin/busybox sh -c 'echo emelfm2 | sudo gainroot'

Should work fine... Or you can edit the sudoers file...

YoDude 2010-01-24 06:04

Re: emelfm2
 
Quote:

Originally Posted by DaSilva (Post 491378)
Thanks.

So how must I edit the .desktop file to run emelfm2 always with root privileges?

I wouldn't edit a dang thing without the right editor. Instead, simply gain root in xterm by installing rootsh. At the root prompt type emelfm2 and hit enter.

zwer 2010-01-24 06:08

Re: emelfm2
 
Ummm, what's wrong with vim? You can't get more proper/right editor than that...

YoDude 2010-01-24 14:34

Re: emelfm2
 
Quote:

Originally Posted by zwer (Post 491502)
Ummm, what's wrong with vim? You can't get more proper/right editor than that...

You didn't specify an editor in your original post. :)

The proof in the pudding is always in the tasting though so follow a couple of posts down on this page >> http://talk.maemo.org/showthread.php?t=38582&page=12
to see what editing the sudoers file tasted like for me at least. :eek:

...of course everyones mileage may vary and not everyone is as foolish as me so IMHO, I wouldn't jump to an alternative means that has potentially more risks when a safer solution is at hand. :)

zwer 2010-01-24 14:46

Re: emelfm2
 
Well, he asked how to edit the .desktop file, specifically what shall he put there - he didn't mention editing sudoers.

As for sudoers, there is always the proven method - visudo ( /usr/sbin/visudo ), which at the moment pops up with an error that it cannot find /bin/vi - just add a symlink to your vim in /bin/vi and you are all set.

YoDude 2010-01-24 18:14

Re: emelfm2
 
Quote:

Originally Posted by zwer (Post 491945)
Well, he asked how to edit the .desktop file, specifically what shall he put there - he didn't mention editing sudoers.

As for sudoers, there is always the proven method - visudo ( /usr/sbin/visudo ), which at the moment pops up with an error that it cannot find /bin/vi - just add a symlink to your vim in /bin/vi and you are all set.

Fair enough. :)

...and as to DaSilva's orriginai statement...

Quote:

Originally Posted by DaSilva (Post 491307)
I cannot install the WikiHow application from the Ovi store with emelfm2 already installed. Do you know how to use both applications?...

I have had time to uninstall emelfm2 to try this and he is absolutely correct. Not only is WikiHow a memory hog but is it is un-installable with emelfm2 installed and as he stated, vice versa.
For me this is a real head scratcher and I will start a new thread because of this and the other issues with WikiHow. I will reference Dasilva's observations that are in this thread.

WikiHow is an interesting app that may have been rushed by the press reports about iPhone users using simular apps during Haiti's crisis. However, whenever you need more than the rudimentary info it provides, it refers you to its web page.

(Most may already know basic first aid but how to treat something a little more advanced like a sucking chest wound may need an internet connection anyway)

For now I just put a shortcut to its web site on my desktop.

http://wwww.wikihow.com


All times are GMT. The time now is 08:00.

vBulletin® Version 3.8.8