[Seek Help] 20.5启动器j里的应用分类如何修改?
Tofloor
poster avatar
boydreaming
deepin
2022-05-09 15:11
Author

启动器的应用分类总是不尽如人意,在20版之前,可以通过修改/opt/apps或./local/里的desktop里的Categories进行修改。但是在20.5上修改没有变化。请问,如何修改?谢谢。

Reply Favorite View the author
All Replies
JunRui2818
deepin
2022-05-09 16:43
#1

/usr/share/applications

.desktop文件编辑,字段 Categories=

完成后重启

Reply View the author
boydreaming
deepin
2022-05-09 16:54
#2
JunRui2818

/usr/share/applications

.desktop文件编辑,字段 Categories=

完成后重启

没用,/usr/share/applications下的都是链接。指到/opt/apps下的。

Reply View the author
JunRui2818
deepin
2022-05-09 16:57
#3

可以的

[Desktop Entry]
Comment=Use Powerword to learn English.
Comment[zh_CN]=使用金山词霸学英语
Exec=/opt/apps/com.kingsoft.powerword/files/Powerword %f
GenericName=Powerword
GenericName[zh_CN]=金山词霸
Name=Powerword
Name[zh_CN]=金山词霸
StartupNotify=false
Terminal=false
Type=Application
Categories=Tools;
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Icon=/opt/apps/com.kingsoft.powerword/entries/icons/hicolor/48x48/apps/com.kingsoft.powerword.png
InitialPreference=3

例子

Reply View the author
JunRui2818
deepin
2022-05-09 16:58
#4

[Desktop Entry]
Comment=Use Powerword to learn English.
Comment[zh_CN]=使用金山词霸学英语
Exec=/opt/apps/com.kingsoft.powerword/files/Powerword %f
GenericName=Powerword
GenericName[zh_CN]=金山词霸
Name=Powerword
Name[zh_CN]=金山词霸
StartupNotify=false
Terminal=false
Type=Application
**Categories=Network;**
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Icon=/opt/apps/com.kingsoft.powerword/entries/icons/hicolor/48x48/apps/com.kingsoft.powerword.png
InitialPreference=3

Reply View the author
boydreaming
deepin
2022-05-09 18:29
#5
JunRui2818

[Desktop Entry]
Comment=Use Powerword to learn English.
Comment[zh_CN]=使用金山词霸学英语
Exec=/opt/apps/com.kingsoft.powerword/files/Powerword %f
GenericName=Powerword
GenericName[zh_CN]=金山词霸
Name=Powerword
Name[zh_CN]=金山词霸
StartupNotify=false
Terminal=false
Type=Application
**Categories=Network;**
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Icon=/opt/apps/com.kingsoft.powerword/entries/icons/hicolor/48x48/apps/com.kingsoft.powerword.png
InitialPreference=3

不行,在以前版本可以。貌似在新版不行。

比如360压缩,它分到办公学习里。😪

[Desktop Entry]
Encoding=UTF-8
Name=360zip
MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
GenericName=Archiving Tool
Exec=/opt/apps/com.qihoo.360zip/files/bin/360zip.sh %F
Icon=/opt/apps/com.qihoo.360zip/files/360zip/com.qihoo.360zip.png
Type=Application
Terminal=false
X-KDE-HasTempFileOption=true
Categories=Utility;System;Archiving;[Desktop Entry]
Encoding=UTF-8
Name=360zip
MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
GenericName=Archiving Tool
Exec=/opt/apps/com.qihoo.360zip/files/bin/360zip.sh %F
Icon=/opt/apps/com.qihoo.360zip/files/360zip/com.qihoo.360zip.png
Type=Application
Terminal=false
X-KDE-HasTempFileOption=true
Categories=Utility;System;Archiving;
Name[zh_CN]=360压缩
Name[en_US]=360zip
Comment[en_US]=Create and Extract Files
Comment[zh_CN]=创建、解压多种格式的压缩文件
Name[zh_CN]=360压缩
Name[en_US]=360zip
Comment[en_US]=Create and Extract Files
Comment[zh_CN]=创建、解压多种格式的压缩文件

Reply View the author
lanxing0821
deepin
2022-05-10 05:01
#6

办公是Office,标识写错了,怎么可能生效。有什么不明白的,这里看看。

Reply View the author
boydreaming
deepin
2022-05-10 17:58
#7
lanxing0821

办公是Office,标识写错了,怎么可能生效。有什么不明白的,这里看看。

啥意思?360压缩的desktop里Categories=Utility;System;Archiving;但是实际被自动分成“办公学习”里。

Reply View the author