feature_showcase contents in VM terminal:
- clients: As it is described in the online documentation, in order to start an application in Window Manager you need to create a .desktop file for the application to set the environment in Window Manager.
- components: Includes a qml container file
- config.ini: This file is where developers modify the configuration of the Window Manager
- layouts: Includes the layouts file in .json format, that defines application regions
- start.sh: This is a shell script that starts the application automatically in Window Manager
In order to use the feature_showcase example all you need to do is to create a softlink the default config.ini file /etc/window_manager/config.ini to the config.ini file in feature_showcase.
You can achieve that by logging into the CCpilot display via “SSH” and use the following command in a Windows Command Prompt or Linux Terminal:
$ sudo ln -sf /opt/window_manager_application/examples/feature_showcase/config.ini /etc/window_manager/config.ini
Then you can restart Window Manager with this command:
$ sudo systemctl restart window-manager
Also make sure to start the demo applications aswell:
$ sudo systemctl start multitouch.service
and
$ sudo systemctl start maincluster.service
This is how feature_showcase layout look like
feature_showcase layouts- The QuickBar logo that can be changed to desired logo
- This is where the application icons appear, you can click to display the desired application or hold for a second to open the layout selector to place it in the windows that configured in layout.json file
- Here is the available layouts, you can press on it to expand and show all the available layouts.
- Here are the defined layouts from layout.json files that you can choose from.
In the above screenshot we see that two applications are displayed Gauges and Multi Touch in the layout “Left | Right” which place an application on the left of the screen and the other on the right.
There is also a third application demo Crane-demo added in the download package, that will be displayed but not included in the screenshots below!
If you press and hold on one of the application icons, it will open the layout selector for this layout:
As you can see in the screenshot below, you can choose to place the app on Left or Right.
Left | Right layout selector
As mentioned before, you can change the layout by pressing on Layout (3) and choose between the other layouts, in this case “Single App” and “Quad”.
Available layouts
This is how the “Single App” layout looks, displays only one application in Fullscreen mode.
You can press on the other application to immediately display that application instead, easily change between different multiple applications.
Single App displaying in Fullscreen mode
This is the layout selector for “Single App” layout.
Single App layout selector