This is an old revision of the document!


dCore sce-ondemand Command

The sce-ondemand command is used to manage ondemand SCE(s).

Process:

  • Adding an SCE to ondemand:
    • Creates an application entry in the Window Manager's 'ondemand' menu.
    • Adds a file in /etc/sysconfig/tcedir/ondemand/ containing the command to be executed.
    • A standard 'ondemand' file contains the following, which may be customized by the user if needed:
ondemand -e <EXTENSION>
  • This command loads and launches the SCE's executable either through a '.desktop' file found in /usr/local/share/applications/ or by direclty issuing exec.
  • A “Neither freedesktop file nor App executable exists. Please invoke from terminal or menu.” pop-up message when attempting to launch an 'ondemand' extension typically means the application does not have a '.desktop' file, often an application meant to run from a command line. The user may wish to manually modify the SCE's 'ondemand' file, similar to below:
sce-load <EXTENSION>
  exec <APPLICATION>

This may be necessary, for instance, if the ondemand item is created for an extension built after a list of packages and the name of the list does not correspond to the executable. To avoid such hassle it seems advisable to generally name extension list after their main executable.

Usage options from the 'sce-ondemand –help' command:

sce-ondemand - Manage ondemand SCE(s). Adding an SCE to ondemand creates a
               script in /tce/ondemand and updates the Window Manager's
               ondemand menu, which provides a convenient way to load
               less frequently used SCE(s) after boot.
Usage:
sce-ondemand SCE      Add SCE to ondemand, update menus.
sce-ondemand -c       Display current ondemand SCE(s).
sce-ondemand -e SCE   Load and execute any SCE, do not add to ondemand.
sce-ondemand -l       List available SCE(s) to add to ondemand, those
                      not yet in sceboot.lst or ondemand.
sce-ondemand -r SCE   Remove SCE from ondemand, update menus.

> Return to the dCore Wiki Welcome page

Print/export
QR Code
QR Code dcore:sce-ondemand_command (generated for current page)