ZhangZhihui's Blog  

All applications' desktop entries can be found in /usr/share/applications.

You can create a desktop entry under ~/.local/share/applications to make your own icon.

zzh@ZZHPC:/usr/share/applications$ sudo cp org.flameshot.Flameshot.desktop ~/.local/share/applications
zzh@ZZHPC:/usr/share/applications$ cd ~/.local/share/applications
zzh@ZZHPC:~/.local/share/applications$ sudo chown zzh:zzh org.flameshot.Flameshot.desktop
zzh@ZZHPC:~/.local/share/applications$ mv org.flameshot.Flameshot.desktop ZFlameshot.desktop
zzh@ZZHPC:~/.local/share/applications$ vi ZFlameshot.desktop 

Change the 'Exec' line for [Desktop Entry] to "Exec=/usr/bin/flameshot gui --delay 500".

Modify the value of 'Actions' for [Desktop Entry], deleting 'Capture;'.

Delete the [Desktop Action Capture] part.

Delete all the 'Desktop Action' parts, leaving only the [Desktop Entry].

posted on   ZhangZhihuiAAA  阅读(5)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
 
点击右上角即可分享
微信分享提示