Notices


Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Dec 2007 @ fairfield, ct
#61
Thanks linuxrebel -- that worked perfectly!

I won't ask how you knew that line ... I have to find out more about xterm and how to launch applications from there....
 
linuxrebel's Avatar
Posts: 182 | Thanked: 46 times | Joined on Jan 2007 @ Silly-Con Valley
#62
I cheated, I launched mahjong, then xterm, then ran;

ps ax | grep mahjong

That gave me the command line used to launch it. cp'd the line, killed mahjong and tried it.
 

The Following User Says Thank You to linuxrebel For This Useful Post:
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#63
New version released: 0.4

This adds the long awaited "Run in term" and "Run as root" options. Unfortunately, the same limitations apply for Personal Menu as they do for Command Navigator.

"Run in term" creates two terminal windows (the first with two shortcut bars, the second with none) with the command running in the second.

"Run as root" requires you to have permission to run the desired command with NOPASSWD option. There are two ways to do this.

Both methods start with creating a file named:

Code:
/etc/sudoers.d/personal-menu.sudoers
For the first method, you create a blanket statement that will allow you to run ANY COMMAND AT ALL as root with no password. Insert this line in the file you just created:

Code:
user ALL = NOPASSWD: ALL
In the second, safer, option you only list the commands you are going to use in the file. The line would look something like this:

Code:
user ALL = NOPASSWD: /bin/ls, /usr/bin/whoami
After you have completed the file (and any time you update it) run:

Code:
update-sudoers
Of course, all of the above needs to be done as root.

Also new in this release:
- Settings backup and restore
- Selecting installed applications or icons now sorts alphabetically for easier selection.

I have four new Maemo projects I am going to start working on (some small, some big) so I might not get around to adding more features to this program for a while. If anyone points out a bug I will try to fix it quickly.
 

The Following 3 Users Say Thank You to fiferboy For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#64
I assume update-sudoers checks syntax ala visudo so people can't break their systems with it?
 
Posts: 316 | Thanked: 29 times | Joined on Feb 2007 @ Maryland, US
#65
I would use this if I could get the email app to launch correctly for me.

I try /usr/bin/ossoemail and it opens a blank email application (no accounts or folders) and then closes after a few seconds.

Has anyone managed to get the default email app to work? (I am not using or installed Modest)

tia
 
Posts: 309 | Thanked: 51 times | Joined on Apr 2007
#66
I tried to find the correct launch command for the email app, without success so far. I test it from xterm or via ssh, which shows the same problems as from "personal menu".

There is a program "ossoemail.launch" in /usr/bin which is supposed to do the right thing, but it seems that it needs some parameters.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#67
@fiferboy

I love you (not in that way ), thank you very much for those much awaited options.

Nashle cmd-navigator :P , hello personal menu
 
Posts: 316 | Thanked: 29 times | Joined on Feb 2007 @ Maryland, US
#68
Originally Posted by Rider View Post
I tried to find the correct launch command for the email app, without success so far. I test it from xterm or via ssh, which shows the same problems as from "personal menu".

There is a program "ossoemail.launch" in /usr/bin which is supposed to do the right thing, but it seems that it needs some parameters.
thanks for trying.

in OS2007 I was able to do it with Simple launcher and Idea! - so maybe there is a way to get it to work here also
 
terrencegf's Avatar
Posts: 221 | Thanked: 182 times | Joined on Jul 2007 @ Central Illinois
#69
Originally Posted by Rider View Post
I tried to find the correct launch command for the email app, without success so far.
I am by no means an expert here, but it may have something to do with the way the .desktop file is structured (/usr/share/applications/hildon/email-engine.desktop). There's an entry for "StartupWMClass=ossemail" which I think is used for window notification/communication. I don't know how to "pass" this value to the application via the command line. But this may be the reason why Simple-Launcher can run the default email application correctly. Perhaps looking at the code for simple-launcher can shed some light on this issue.
 
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#70
After digging through the simple-launcher code (it has been a long time since I looked at object oriented code) I can't see how the execution code differs from mine. We both read the desktop files "exec" line for the executable. We both spawn a process the same. I must be missing something.

I find it very peculiar that when I read an exec line from a desktop file it can fail, which other processes reading the same line (simple-launcher, I assume the Nokia menu) it works fine. Very peculiar.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:43.