ubuntu20.04 应用快捷方式生成与图标配置
ubuntu20.04 应用快捷方式生成与图标配置向Show Application 中添加新的应用向Show Application 中添加新的应用以mendeley.AppImage 为例,从https://www.appimagehub.com/ 下载某个应用添加执行权限,并放到系统路径中chmod +x mendeley.AppImage# 测试 ./mendeley.AppImage ,
·
ubuntu20.04 应用快捷方式生成与图标配置
向Show Application 中添加新的应用
- 以mendeley.AppImage 为例,从https://www.appimagehub.com/ 下载某个应用
- 添加执行权限,并放到系统路径中
chmod +x mendeley.AppImage
# 测试 ./mendeley.AppImage , 能运行目标应用即可
sudo mv mendeley.AppImage /usr/local/bin
# 以下方便在命令行中调用
sudo ln -s /usr/local/bin/mendeley.AppImage /usr/local/bin/mendeley
# 测试 whereis mendeley,能找到应用即可
- 在目录 /usr/share/applications 或 ~/.local/share/applications 添加 mendeley.desktop
- 注意icon=xxx/xxx.png 这一行,可从google image等下载相应图标,放到某一路径。如不正确,则在Show Application 中没有图标。
- 注意 StartupWMClass=xxx 这一行,可用命令 xprop WM_CLASS, 再点击目标应用mendeley窗口,可获得相应类别,如不正确,可能导致taskbar 上的应用没有图标。参考ubuntu: icon miss when application is launched
[Desktop Entry]
Version=1.0
Type=Application
Name=Mendeley Reference Manager
GenericName=Mendeley Reference Manager
Comment=mendeley reference manager
StartupWMClass=Mendeley Reference Manager
TryExec=mendeley
Exec=mendeley
Icon=/home/xxx/.local/share/icons/hicolor/48x48/mimetypes/mendeley.png
Categories=Tools;Paper;
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)