Notices


Reply
Thread Tools
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#71
fiferboy --

are you (or is the other process) taking into account the "StartupWMClass" (or any other) configuration line in the .desktop file?
 
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#72
Briand: I am not (and don't know how to). Simple Launcher reads quite a few lines, specifically Type, Icon, Name, Comment, Exec, X-Osso-Service, X-Text-Domain. As far as I can see it uses Icon, Name, and Comment for display purposes and either Exec or X-Osso-Service for the executable. I haven't looked, but I guess X-Text-Domain is used for translation.
 
terrencegf's Avatar
Posts: 221 | Thanked: 182 times | Joined on Jul 2007 @ Central Illinois
#73
Originally Posted by fiferboy View Post
Simple Launcher reads quite a few lines, specifically Type, Icon, Name, Comment, Exec, X-Osso-Service, X-Text-Domain. As far as I can see it uses Icon, Name, and Comment for display purposes and either Exec or X-Osso-Service for the executable.
I think X-Osso-Service is your answer. In the simple-launcher code (misc/ApplicationItem.cc), it checks to see if this field is set. If so, it calls "osso_rpc_run_with_defaults".
 

The Following 2 Users Say Thank You to terrencegf For This Useful Post:
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#74
Aha! I think you really hit on something, terrencegf! I will definitely look into this tonight. This will, of course, mean restructuring my code somewhat for this extra variable, but I think I should be able to see if this is the answer to my problem by tomorrow.
 
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#75
I have a testing version running that allows you to execute desktop file without modifying the command (works with mahjong and email, probable with modest as well). I just need to update the control panel to write this information. It should be out sometime tonight.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#76
cool

If you do ever start work on this again, could I make 2 requests please?

1. Have a option for an edit menu like cmd-navigator.
2. If you add a menu item (great feature btw), is it possible to see command line and icon in add item window and edit it?
 
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#77
qwerty12: There is a hackish way to add an "Edit Menu" item in the first post of this thread. It is a long bit of dbus magic, but it works.

If you add the menu item, just go and edit it from the main control panel window. You can change the icon or command from there.
 

The Following User Says Thank You to fiferboy For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#78
From the OP:
Originally Posted by fiferboy View Post
If you have not configured Personal Menu when you first use it, it will be loaded with a link to the configuration dialog. If you want to put a link to this in the menu once you have configured it, the command is as follows:

Code:
dbus-send --print-reply --dest=com.nokia.controlpanel /com/nokia/controlpanel/rpc com.nokia.controlpanel.run_applet string:libpersonalmenusetup.so boolean:true
Answers #1, if I understood your request well.

EDIT: I'm slow...
 

The Following 2 Users Say Thank You to Benson For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#79
heh, the most "silly" things one could add now are a separator (the line in the default contacts menu) and some kind of subfolder system
 
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#80
tso: I wouldn't say silly. I was planning the submenu for sometime in the future, but I wasn't sure if that would be too much of a main menu replacement. I think the appeal of this solution was to have as many applications as you want on the screen without having to dig into submenus and scroll.

I released a new version to my garage page that will actually launch email, modest, mahjong, and other "problem" applications after you add them from the installed files. You will have to remove the existing entry and add it again after the update. Thanks simple-launcher and terrancegf!

I will update the first post here when I have some actual time.
 

The Following 2 Users Say Thank You to fiferboy For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:32.