WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Some apps don't start from On Demand menu  (Read 7042 times)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Some apps don't start from On Demand menu
« on: February 14, 2010, 04:16:16 AM »
Some applications start after clicking on them in the On Demand menu.

Others don't, but start if you click them in the On Demand menu, then click on them in the main menu.

I assume this can be easily reproduced. Let me know if I am wrong.
Many people see what is. Some people see what can be, and make a difference.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Some apps don't start from On Demand menu
« Reply #1 on: February 14, 2010, 06:43:16 AM »
Perhaps you have a mix of ondemand menu items made prior to this new feature.
Delete those prior ones and recreate. They are located in /home/.wmx/OnDemand/
10+ Years Contributing to Linux Open Source Projects.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Some apps don't start from On Demand menu
« Reply #2 on: February 14, 2010, 07:16:22 AM »
Deleted and the same result.

Examples of programs where this occurs are:

Chromium Browser
Open Office
Epdfview

It makes me wonder if I have something wrong somewhere. See if these work for you.
Many people see what is. Some people see what can be, and make a difference.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Some apps don't start from On Demand menu
« Reply #3 on: February 14, 2010, 07:33:43 AM »
I regularly use epdfview and it is in my ondemand menu. Subsquent clicks from there runs ok.
Note that  for epdfview I changed both the title and binary when prompted.
The extension name is epdfview-0.1.6.tcz so I entered the following:
Title:  Epdfview
Binary: epdfview

10+ Years Contributing to Linux Open Source Projects.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Some apps don't start from On Demand menu
« Reply #4 on: February 14, 2010, 07:46:30 AM »
After changing the title and binary to epdfview it works.

This is something to look into, because not everyone will change it.


I still have not been able to make the others work yet (in this short time).
Many people see what is. Some people see what can be, and make a difference.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Some apps don't start from On Demand menu
« Reply #5 on: February 14, 2010, 07:58:49 AM »
The issue is that not all extensions have a menu item from which I could try to extract such from.

Not all even have binaries from which to run, meta-extensions, i.e., compilete, which  BTW, I have in my ondemand section.

I agree it would be nice but would require adopting some additional standards for the extensions.

I have introduced the concept and infrastructure because I use it and find it most helpful in providing even faster boot times while still allowing quick and easy access to my less frequently used programs.
10+ Years Contributing to Linux Open Source Projects.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Some apps don't start from On Demand menu
« Reply #6 on: February 14, 2010, 08:01:10 AM »
They all work if I change the title and binary to the same as the name following /usr/local/bin/ in /usr/local/tce.menu.
Many people see what is. Some people see what can be, and make a difference.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Some apps don't start from On Demand menu
« Reply #7 on: February 14, 2010, 08:04:25 AM »
I think the OnDemand is a brilliant concept.

I think it is a good idea to adopt additional standards for extensions. Probably for version 3, as it probably won't be too long now.
Many people see what is. Some people see what can be, and make a difference.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Some apps don't start from On Demand menu
« Reply #8 on: February 14, 2010, 08:11:21 AM »
Did you see this?

http://forum.tinycorelinux.net/index.php?topic=4732.0

There were not many comments, so I wonder if many people saw it.

I think, in the future it is a good idea to merge the main menu and the OnDemand menu. This is one way it could be done.

The people making extensions could make the menu.

It could also be done by running something like OnDemand.

Just ideas. You decide how you want it.
Many people see what is. Some people see what can be, and make a difference.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Some apps don't start from On Demand menu
« Reply #9 on: February 14, 2010, 08:14:37 AM »

flwm does not use a file for its menu, so ordering is by item naming convention, another reason for my prompt for title.

I  will update it to temporarily mount the selected item, and if it has a menu extract and use that otherwise prompt the user for title and binary.
10+ Years Contributing to Linux Open Source Projects.

Offline kerpob

  • Jr. Member
  • **
  • Posts: 83
Re: Some apps don't start from On Demand menu
« Reply #10 on: February 22, 2010, 03:03:59 PM »
I'm having some difficulty getting open office to run from wbar. It doesn't seem to start from the location specified in the oo2 script in /usr/local/tce.menu

I need to run "./soffice" command from the /usr/local/oo2/program directory to make it work.

I'm not sure how to change the oo2 script in /usr/local/tce.menu/
eee user. From Xandros to Debian via Breeezy to TCL.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Some apps don't start from On Demand menu
« Reply #11 on: February 23, 2010, 04:31:53 AM »
don't know if it is related: with my gecko netbook, i get

Illegal instruction

while starting sylpheed-gtk1; i am using microcore 2.9rc4

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: Some apps don't start from On Demand menu
« Reply #12 on: February 23, 2010, 06:47:38 AM »
alu, could you use gdb to see which part causes it?

gdb sylpheed
bt full
quit
The only barriers that can stop you are the ones you create yourself.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Some apps don't start from On Demand menu
« Reply #13 on: February 23, 2010, 07:24:57 AM »
gdb sylpheed returns

(no debugging symbols found)
(gdb) bt full
No stack


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: Some apps don't start from On Demand menu
« Reply #14 on: February 23, 2010, 07:52:13 AM »
OK, my fault, incomplete instructions.

gdb sylpheed
run
bt full
quit
The only barriers that can stop you are the ones you create yourself.