advertisement
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
- 8 Introduction
- 8 Specifications
- 8 Functional Specifications
- 9 Mechanical Specifications
- 9 Electrical Specifications
- 9 Environmental Specifications
- 9 Block Diagram
- 12 Jumpers
- 12 Jumper Description
- 12 Jumper List
- 12 Table 2.1: Jumper List
- 13 Jumper Settings
- 15 Connectors
- 15 Connector List
- 15 Connector Settings
- 16 Figure 2.1 Mini PCIe
- 17 Figure 2.2 Debug Port
- 17 Figure 2.3 USB Type-A Connector
- 19 Figure 2.4 Ethernet Connector
- 20 Figure 2.5 DC Power Jack
- 20 Figure 2.6 Reset Button
- 21 Figure 2.7 SD Slot
- 22 Figure 2.8 LVDS Connector
- 23 Figure 2.9 LVDS Inverter Power Connector
- 24 Figure 2.102x20-Pin Connector
- 25 Mechanical
- 25 Jumper and Connector Locations
- 25 Figure 2.11Jumper and Connector Layout (Top)
- 25 Figure 2.12Jumper and Connector Layout (Bottom)
- 25 Figure 2.13Coastline Layout
- 26 Board Dimensions
- 26 Figure 2.14Board Dimensions Layout (Top)
- 27 Figure 2.15Board Dimensions Layout (Bottom)
- 27 Figure 2.16Board Dimensions Layout (Coastline)
- 28 Quick Start
- 28 Debug Port Connection
- 28 Debug Port Setting
- 28 Figure 2.17HyperTerminal Settings for Terminal Setup
- 29 Test Tools
- 29 eMMC Test
- 30 USB Test
- 30 SD Test
- 31 SPI Test
- 32 I2C Test
- 32 CAN Test
- 33 GPIO Test
- 33 LVDS Test
- 34 LAN Test
- 36 2.5.10 RS232 Test
- 38 2.5.11 Watchdog Timer Test
- 40 Introduction
- 40 Package Contents
- 40 Pre-Built System Image
- 40 Source Code Package
- 41 Figure 3.1 Source Code Package Structure
- 42 Figure 3.2 Image\rootfs
- 44 Setting Up a Development Environment
- 44 Setenv.sh
- 45 Build Instructions
- 45 Build a U-Boot Image
- 45 Build a Linux Kernel Image
- 45 Build a Log
- 46 Create Linux System Boot Media
- 46 Storage Information (eMMC/SD Card)
- 46 Create a Linux System SD Card
- 47 Boot From Onboard Flash
- 47 Debug Message
- 47 Figure 3.3 HyperTerminal Settings for Serial Console Setup
- 48 Linux System Configuration and Use
- 48 Display Output Setting
- 50 Service Configuration
- 52 Network Configuration
- 52 Date/Time Configuration
- 52 Figure 3.4 Date/Time Settings
- 52 About the System
- 53 Brightness Control
- 53 Figure 3.5 Brightness Control
- 53 Serial Tools
- 53 Figure 3.6 Serial Control
- 54 Matrix GUI User Guide
- 54 Figure 3.7 Matrix
- 55 Add Startup Items
- 56 3.7.10 OTG Mode Selection
- 56 Development Guide and Reference
- 56 Development of C/C++ Programs
- 57 Developing GUI Programs with a Qt Library
- 57 Demo Program Source Code
- 62 System Recovery
- 64 RISC Design-in Services
- 66 Contact Information
- 67 Global Service Policy
- 67 Warranty Policy
- 68 Repair Process