Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:sce-ondemand_command [2016/05/14 04:10] – nitram | dcore:sce-ondemand_command [2016/08/31 05:42] (current) – nitram | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== dCore sce-ondemand Command ===== | ===== dCore sce-ondemand Command ===== | ||
- | The sce-ondemand command is used to manage | + | The sce-ondemand command is used to manage |
+ | < | ||
+ | #!/bin/sh | ||
+ | ondemand -e firefox.sce | ||
+ | </ | ||
- | Process: | + | This command loads and launches the SCE through a desktop file, found in / |
- | *Adding an SCE to ondemand: | + | |
- | *Creates an application entry in the Window Manager' | + | |
- | *Adds a file in / | + | |
- | < | + | |
- | *This command loads and launches the SCE's executable | + | |
- | *A "Neither freedesktop file nor App executable exists. | + | |
- | < | + | |
- | exec < | + | |
- | *If creating extensions from list files (see sce-import -l command) it may be advisable to name the list file, and subsequent created SCE name, after the main executable to ensure it launches properly from the ' | + | |
- | Usage options from the ' | + | The contents of the OnDemand script may be manually modified to fix application launch issues or customize functionality. For example, this modified qpdfview OnDemand script ensures newly opened PDF documents open in tabbed mode: |
+ | < | ||
+ | #!/bin/sh | ||
+ | #ondemand -e qpdfview.sce | ||
+ | sce-load qpdfview && qpdfview --unique | ||
+ | </ | ||
+ | |||
+ | If creating SCEs from list files (see sce-import -l command) it may be easiest to name the list file, and subsequent created SCE name, after the main executable to ensure it launches properly from an OnDemand menu. | ||
+ | |||
+ | The '' | ||
+ | < | ||
+ | ondemand firefox | ||
+ | </ | ||
+ | |||
+ | The easiest way to add an application to OnDemand is during the import process, review '' | ||
+ | |||
+ | As OnDemand is in dCore' | ||
+ | < | ||
+ | tc@box:~$ echo $PATH | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Usage options from the '' | ||
sce-ondemand - Manage ondemand SCE(s). Adding an SCE to ondemand creates a | sce-ondemand - Manage ondemand SCE(s). Adding an SCE to ondemand creates a | ||
Line 20: | Line 37: | ||
| | ||
less frequently used SCE(s) after boot. | less frequently used SCE(s) after boot. | ||
+ | | ||
Usage: | Usage: | ||
+ | | ||
sce-ondemand SCE Add SCE to ondemand, update menus. | sce-ondemand SCE Add SCE to ondemand, update menus. | ||
sce-ondemand -c | sce-ondemand -c |