55
RSB-4221 User Manual
Chapter 4
LinuxBSP
4.8.8.2
Launching and Stopping Matrix*
If the Matrix GUI does not start with the system, you can manually start the program
by the following command:
If you want the Matrix to start with the system by default, please run the following
command on RSB-4221:
When you want to cancel the default startup, just remove the S97matrix-gui-2.0 file.
For more information on the use of Matrix, please refer to the following website:
http://processors.wiki.ti.com/index.php/Matrix_Users_Guide
4.8.8.3
Adding a Matrix Application
Below are step-by-step instructions for Adding a New Application/Directory to Matrix.
1.
Create a new folder on your target file system at /usr/share/matrix-gui-2.0/apps/
. The name should be a somewhat descriptive representation of the application
or directory. The folder name must be different from any existing folders at that
location.
2.
Create a desktop file based on the parameters discussed below. It is recom-
mended the name of the desktop file match the name of the newly created
folder. No white spaces can be used for the desktop filename. The desktop file
parameters should be set depending on if you want to add a new application or
a new directory to Matrix. The Type field must be set according to your decision.
The desktop file must have the desktop suffix.
3.
Update the Icon field in the desktop to refer to any existing Icon in the
/usr/share/matrix-gui-2.0 directory or subdirectories. You can also add a new
96x96 png image and place it into your newly created folder.
4.
Optionally for applications you can add a HTML file that contains the application
description in your newly created directory. If you add a description page then
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 here:
http://gforge.ti.com/gf/download/frsrelease/712/5167/blank_icons_1.1.tar.gz
The .desktop file is based on standard specified at the URL:
http://standards.freedesktop.org/desktop-entry-spec/latest/
Additional fields were added that are unique for Matrix.
Format for each parameter:
<Field>=<Value>
The fields and values are case sensitive.
4.8.9
Screen rotation for Qt application
Export the environment:
export QWS_DISPLAY=Transformed:Rot90 or
Directly run :
./exmaple -qws -display "Transformed:Rot270"
advantech# /etc/init.d/matrix-gui-2.0 start
advantech# cp /etc/init.d/matrix-gui-2.0 /etc/rc5.d/S97matrix-gui-2.0
Summary of Contents for RSB-4221
Page 6: ...RSB 4221 User Manual vi...
Page 10: ...RSB 4221 User Manual x...
Page 14: ...RSB 4221 User Manual 4...
Page 33: ...23 RSB 4221 User Manual Chapter 2 H W Installation 2 3 2 Board Dimension...
Page 48: ...RSB 4221 User Manual 38...