Add Startup Items. Advantech RSB-4220

Add to My manuals
72 Pages

advertisement

Add Startup Items. Advantech RSB-4220 | Manualzz

3.7.8.3

Adding a Matrix Application

Instructions for adding a new application or directory to Matrix are provided below.

1.

Create a new folder on the target file system at /usr/share/matrix-gui-2.0/apps/.

The name should clearly describe the application or directory. The name of the folder must differ from that of all existing folders in the target location.

2.

Create a desktop file according to the parameters discussed below. We recommend that the name of the desktop file match the name of the newly created folder. The desktop file name cannot contain spaces. The parameters of the desktop file should be set according to whether the new addition to Matrix is an application or directory. Input this information into the Type field. The desktop file must have the desktop suffix.

3.

Update the Icon field on the desktop to refer to any existing Icon in the /usr/ share/matrix-gui-2.0 directory or subdirectories. A new 96x96 png image can also be added and located in the newly created folder.

4.

For applications, an HTML file containing an application description can be added to the newly created directory. If a description page is added, update the

X-Matrix-Description field in the .desktop file.

5.

Refresh Matrix using the application “Refresh Matrix” located in the Settings submenu.

Blank template icons for Matrix can be found at the following link: http://gforge.ti.com/gf/download/frsrelease/712/5167/blank_icons_1.1.tar.gz

The .desktop file is based on the standard specified at the URL: http://standards.freedesktop.org/desktop-entry-spec/latest/

Additional fields unique to Matrix are also added.

The format of each parameter is as follows:

<Field>=<Value>

The fields and values are case sensitive.

3.7.9

Add Startup Items

1.

To remove startup items, run the following command: update-rc.d [-n] [-f] [-r <root>] <basename> remove basename is your service script name eg. update-rc.d -f matrix-gui-2.0 remove

2.

To add startup items

First, ensure that the service script exists, then run the following command: update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] .

start|stop: when system start /shutdown the basename will run automatically

NN: 0~99 runlvl: RSB4220 runlevel is 5(default); eg. update-rc.d networking start 40 5 . (The “.” is also a parameter. If missing, the operation will be failed) then you can find S40networking in the rc5.d directory.

49 RSB-4220 User Manual

advertisement

Related manuals

advertisement

Table of contents