WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to put programs in ondemand menu  (Read 4821 times)

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
How to put programs in ondemand menu
« on: November 01, 2013, 02:56:01 PM »
Where the sce directory is, there are an import and a ondemand too, in what form have I to introduce an entrance for the ondemand?

(in tc5x we have the apps program)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How to put programs in ondemand menu
« Reply #1 on: November 01, 2013, 04:20:49 PM »
as dCore is even more of a kit than Core, we have:

1. loadsce

When used by itself it presents a menu of available, and current;ly unloaded sces.
So in a sense it provides a CLI "ondemand".

2. ondemand

The ondemand CLI code is still there. Its use from the command line is as follows:

ondemand -l 

Will list all sces on the system.

ondemand -c

Will display current on demand sces.

ondemand firefox

Will create the firefox ondemand item and its menu item will be available with supported window managers.
And would be shown with ondemand -c

ondemand -r firefox

Will remove the firefox  ondemand item and the menu item will no longer display.

ondemand -e firefox.sce will attempt to run the ondemand item, if a single executable is specified .by freedesktop item.

These ondemand flags are and have been available with native Core since the introduction of ondemand.
10+ Years Contributing to Linux Open Source Projects.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: How to put programs in ondemand menu
« Reply #2 on: November 01, 2013, 04:54:14 PM »
Many thanks Roberts, I have never use the cli version.   ;D

Perhaps is useful to put this information in the wiki!!

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How to put programs in ondemand menu
« Reply #3 on: November 01, 2013, 09:36:23 PM »
OK. Please, if you will, cut and paste into the Wiki.
I like to see the community maintain the Wiki items.
10+ Years Contributing to Linux Open Source Projects.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: How to put programs in ondemand menu
« Reply #4 on: November 02, 2013, 12:45:20 PM »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How to put programs in ondemand menu
« Reply #5 on: November 02, 2013, 04:31:37 PM »
@Onyarian Thank you for posting to the Wiki.
10+ Years Contributing to Linux Open Source Projects.