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/07/18 00:34] – 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' | + | 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: |
- | *Creates a script in / | + | |
- | < | + | |
- | *This command loads and launches the SCE through a desktop file, found in / | + | |
- | *A "Neither freedesktop file nor App executable exists. | + | |
- | *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 | #!/bin/sh | ||
Line 16: | Line 15: | ||
sce-load qpdfview && qpdfview --unique | sce-load qpdfview && qpdfview --unique | ||
</ | </ | ||
- | *If creating extensions 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. | ||
- | Usage options from the ' | + | 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 24: | 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 |