nightnine

Linux平台的Ubuntu系统中,开始菜单中的程序都在/usr/share/applications/目录下,文件格式都是xxxx.desktop

================================================================

[Desktop Entry]
Type=Application
Name=SetPro
Comment=SetPro
Exec=/usr/lib/SetPro
Icon=/usr/lib/LOGO.png
StartupNotify=true
Terminal=false
Type=Application
Categories=PackageManager;GTK;System;Settings;Viewer;
Name[zh_CN]= 设置
Comment[zh_CN]=设置

==============================================================

按如上代码,创建一个SetPro.desktop的文件复制到/usr/share/applications/目录下,在开始菜单中即可看到程序图标了

分类:

技术点:

相关文章:

  • 2021-11-28
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
猜你喜欢
  • 2022-12-23
  • 2021-10-03
  • 2021-11-25
  • 2021-06-05
  • 2021-11-04
  • 2021-09-29
  • 2022-12-23
相关资源
相似解决方案