When the application runs to read the application installation resource file under
/usr/share, why does the reading fail?Linglong applications run in a container, and the application data will be mounted to
/opt/apps/<appid>/. Only system data will exist in the/usr/sharedirectory, and there will be no application-related data. Therefore, reading directly from/usr/sharewill fail. Suggested processing: Use theXDG_DATA_DIRSenvironment variable to read resources, and/opt/apps/<appid>/files/sharewill exist in this environment variable search path.The font library file cannot be found when the application is running. Why can the corresponding font library be read when the
debpackage is installed?When the
debpackage is installed, it will depend on the corresponding font library file. The Linglong package format adopts a self-sufficient packaging format. Except for the basic system library,qtlibrary anddtklibrary files provided inruntime, do not need to be provided by yourself, other dependent data files need to be provided by yourself. It is recommended to put the corresponding data file underfiles/share, and use the environment variableXDG_DATA_DIRSto read the path.What is in the Linglong application
runtime? Can you add some library files to it?At present, the
runtimethat Linglong application depends on provides theqtlibrary and thedtklibrary. Becauseruntimehas a strict size limit, adding additional library files toruntimeis currently not allowed.The application runs in the container. Can a configuration file be created in any path of the container during the running process?
This is not allowed. The file system in the container is a read-only file system and configuration files are not allowed to be created under arbitrary paths.
Where is app data saved? Where can I find it outside the container?
Because Linglong applications follow the principle of non-interference, the
XDG_DATA_HOME,XDG_CONFIG_HOME,XDG_CACHE_HOMEenvironment variables are defined in the corresponding path of the host machine,~/.linglong/<appid>/. So the user application data will be saved under this path. When writing data while the application is running, it should also be able to read the corresponding environment variable to write the data. Mutual configuration calls between applications are prohibited.The application provides the
dbus servicefile, where do I place it? What does theExecsegment write?When the application provides the
dbus servicefile, it needs to be placed in theentries/dbus-1/servicesdirectory. IfExecexecutes the binary in the Linglong package, use the--execoption parameter to execute the corresponding binary.Can the application download files to the
$HOMEdirectory by default? I downloaded the file, why can't I find it on the host machine?Linglong specification does not allow files and directories to be created in the
$HOMEdirectory.Why does the desktop shortcut icon appear as a gear or blank? How are the icon files placed?
If the gear shaped icon is displayed, the icon has not been obtained. You need to confirm whether the
Iconpath name is correct. When the icon is empty, thetryExecfield exists. When the command does not exist, it will cause the shortcut to display improperly. Place the application icon in theiconsdirectory. The directory structure should be consistent with the systemiconsdirectory structure. The recommended path isicons/hicolor/scalable/apps/org.desktopspec.demo.svg. Usesvgformat icons. Refer to the icon file format specification. If you use a non-vector format, please place the icon according to the resolution. Note that thedesktopfile should not write the icon path, but directly write the icon name.Why do
xdg-openandxdg-emailthat come with the application fail?Linglong specially handles
xdg-openandxdg-emailinruntime, so the application is forbidden to execute the executable file or script ofxdg-openandxdg-emailthat it carries.Why doesn't the system environment variable used by the application take effect?
When using environment variables, you need to confirm whether there are corresponding environment variables in the container. If not, you need to contact the Linglong team for processing.
The library files required for the application to run were not found. How can I provide them?
The resource files that the application needs to use and the library files both need to be provided by the application itself. The library files are placed in the
files/libpath.Where can I choose the application download directory?
Currently Linglong users can only choose the
Desktop,Documents,Downloads,Music,Pictures,Videos,Public, andTemplatesdirectories under the user's home directory, and cannot be downloaded to other directories.Why has the
QTWebEnginerendering process crashed when the application is running?Due to the system upgrade of
glibc, the application fails to use the built-in browser, and the application needs to be re-adapted. A temporary solution is to set the environment variable:export QTWEBENGINE_DISABLE_container=1.When the application is running, the
libqxcb.solibrary cannot be found or theqtwebengineerror is reported. What can I do?When a
qt.conffile exists, you need to configure the correct path in the file or use theQTWEBENGINEPROCESS_PATH,QTWEBENGINERESOURCE_PATH,QT_QPA_PLATFORM_PLUGIN_PATH, andQT_PLUGIN_PATHenvironment variables to configure the search path.The application running error message
gpu_data_manager_impl_private, how can I solve it?The current temporary solution is to add
--no-container.Reference: https://github.com/Automattic/simplenote-electron/issues/3044
Can the application carry the database file by itself and write data to the database during operation?
The file system in the container is a read-only file system and does not allow data to be written to application resource files.
Why does the execution of binary with
suidandguidpermissions fail?In order to ensure system security, Linglong container prohibits the execution of such permission binaries in the container.
Can the input method of uab offline package format not be used under Debian and Ubuntu?
It is recommended to install the
fictxinput method to experience it.
Documentation adapted from the versioned OpenAtom-Linyaps source. Examples describe the documented workflow; they are not a claim of a local Linux test.
© UnionTech Software Technology Co., Ltd. · LGPL-3.0-or-later