简体   繁体   English

Flutter 桌面 Linux 应用程序不工作从 snapstore(ubuntu 商店)安装后

[英]Flutter desktoop Linux Appliaction not working After installed it from snapstore(ubuntu store)

I have developed the Flutter Linux desktop application.我开发了 Flutter Linux 桌面应用程序。 In debugging mode application working fine.在调试模式应用程序工作正常。 The application was also published on snapcraft(ubuntu store) but when we installed this application from the store, the application was not listed in the application menu list(ubuntu app list).该应用程序也发布在 snapcraft(ubuntu 商店)上,但是当我们从商店安装此应用程序时,该应用程序未列在应用程序菜单列表(ubuntu 应用程序列表)中。 it will open via terminal only它将仅通过终端打开

can anyone help me with this issue?谁能帮我解决这个问题?

Thank you谢谢

to make it appear in the menu you have to create the gui folder inside the snap snap/gui your desktop file and your image for the application icon the desktop file with the following information要使其出现在菜单中,您必须在 snap snap/gui 中创建 gui 文件夹 您的桌面文件和应用程序图标的图像 带有以下信息的桌面文件

[Desktop Entry]
Name=paneladmin
Comment=flutterapp
Exec=paneladmin
Icon=${SNAP}/meta/gui/logoadmin.png
Terminal=false
Type=Application
Categories=Utility;Application;

your desktop file should have the same name as your yaml file and exec the name of your yaml in the app name part https://forum.snapcraft.io/t/desktop-files-for-menu-integration/13115 your desktop file should have the same name as your yaml file and exec the name of your yaml in the app name part https://forum.snapcraft.io/t/desktop-files-for-menu-integration/13115

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter 未安装在 UBUNTU 20.04 LTS 上 - Flutter not installed on UBUNTU 20.04 LTS Flutter 在 Ubuntu Linux 中找不到 SQFLite 数据库路径 - Flutter cannot find SQFLite databases path in Ubuntu Linux Cassandra 在升级 Ubuntu 到 20.04 后不工作 - Cassandra not working after upgrade Ubuntu to 20.04 在最新的 docker 更新后,Docker 运行命令在 Ubuntu 20.04 中不起作用 - Docker run command not working in Ubuntu 20.04 after latest docker update 将 ubuntu 18.04 升级到 20.04 后,简单的 hello world snap 不起作用 - Simple hello world snap is not working after upgrade of ubuntu 18.04 to 20.04 在 WSL2 中:安装了适用于 Windows 10 nodejs 的 Ubuntu 20.04,但 npm 不工作 - In WSL2: Ubuntu 20.04 for Windows 10 nodejs is installed but npm is not working 来自 ssh/config 文件的 ssh 隧道命令在 ubuntu 20.04 上不起作用 - ssh tunneling command from ssh/config file is not working on ubuntu 20.04 试图删除 ubuntu 上的所有已安装文件 - Trying to delete all installed files on ubuntu ubuntu20.04 linux中的联想屏幕变暗 - dim lenovo screen in ubuntu20.04 linux 从 Ubuntu 18.04 升级到 20.04 后,Java 应用程序使用 &lt;1% cpu - Java app is using <1% cpu after upgrade from Ubuntu 18.04 to 20.04
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM