[Bug Report] 启动器不加载软连接的桌面文件
Tofloor
poster avatar
@Mr.Sun
deepin
6 hours ago
Author

系统信息:


highgo@highgo-pc:~$ fastfetch 
             ............                 highgo@highgo-pc
         .';;;;;.       .,;,.             ----------------                                                                                                                                                                
      .,;;;;;;;.       ';;;;;;;.          OS: Deepin 25 x86_64                                                                                                                                                            
    .;::::::::'     .,::;;,''''',.        Host: 21M7A001CD (ThinkPad E14 Gen 6)                                                                                                                                           
   ,'.::::::::    .;;'.          ';       Kernel: Linux 6.18.38-amd64-desktop-rolling                                                                                                                                     
  ;'  'cccccc,   ,' :: '..        .:      Uptime: 6 mins                                                                                                                                                                  
 ,,    :ccccc.  ;: .c, '' :.       ,;     Packages: 1902 (dpkg)                                                                                                                                                           
.l.     cllll' ., .lc  :; .l'       l.    Shell: bash 5.2.37                                                                                                                                                              
.c       :lllc  ;cl:  .l' .ll.      :'    Display (AUOA195): 2240x1400 @ 60 Hz in 14" [Built-in]                                                                                                                          
.l        'looc. .   ,o:  'oo'      c,    DE: Deepin                                                                                                                                                                      
.o.         .:ool::coc'  .ooo'      o.    WM: KWin (X11)                                                                                                                                                                  
 ::            .....   .;dddo      ;c     WM Theme: dark/deepin                                                                                                                                                           
  l:...            .';lddddo.     ,o      Theme: deepin-dark [GTK2]                                                                                                                                                       
   lxxxxxdoolllodxxxxxxxxxc      :l       Icons: nirvana [GTK2]                                                                                                                                                           
    ,dxxxxxxxxxxxxxxxxxxl.     'o,        Cursor: bloom (24px)                                                                                                                                                            
      ,dkkkkkkkkkkkkko;.    .;o;          Terminal: deepin-terminal 6.5.39                                                                                                                                                
        .;okkkkkdl;.    .,cl:.            Terminal Font: Noto Sans Mono (12pt)                                                                                                                                            
            .,:cccccccc:,.                CPU: Intel(R) Core(TM) Ultra 7 155H (22) @ 4.80 GHz                                                                                                                             
                                          GPU: Intel Arc Graphics @ 2.25 GHz [Integrated]
                                          Memory: 5.83 GiB / 30.81 GiB (19%)
                                          Swap: 64.60 MiB / 16.00 GiB (0%)
                                          Disk (/): 27.85 GiB / 99.87 GiB (28%) - xfs
                                          Disk (/home): 453.32 GiB / 833.16 GiB (54%) - xfs
                                          Disk (/opt): 625.24 GiB / 953.40 GiB (66%) - xfs
                                          Local IP (enp0s31f6): 192.168.10.229/23
                                          Battery (LNV-5B11M75269��): 100% [AC Connected]
                                          Locale: zh_CN.UTF-8

以下这些图标开机后启动器中都没有

highgo@highgo-pc:~$ find /usr/share/applications/ -maxdepth 1 -type l -exec ls -ld {} +
lrwxrwxrwx 4 root root 66  7月 1日 08:06 /usr/share/applications/com.qq.wemeet.desktop -> /opt/apps/com.qq.wemeet/entries/applications/com.qq.wemeet.desktop
lrwxrwxrwx 4 root root 56  6月19日 08:04 /usr/share/applications/todesk.desktop -> /opt/apps/com.todesk/entries/applications/todesk.desktop
lrwxrwxrwx 4 root root 70  6月19日 08:04 /usr/share/applications/wps-office-et.desktop -> /opt/apps/cn.wps.wps-office/entries/applications/wps-office-et.desktop
lrwxrwxrwx 4 root root 71  6月19日 08:04 /usr/share/applications/wps-office-pdf.desktop -> /opt/apps/cn.wps.wps-office/entries/applications/wps-office-pdf.desktop
lrwxrwxrwx 4 root root 78  6月19日 08:04 /usr/share/applications/wps-office-prometheus.desktop -> /opt/apps/cn.wps.wps-office/entries/applications/wps-office-prometheus.desktop
lrwxrwxrwx 4 root root 71  6月19日 08:04 /usr/share/applications/wps-office-wpp.desktop -> /opt/apps/cn.wps.wps-office/entries/applications/wps-office-wpp.desktop
lrwxrwxrwx 4 root root 71  6月19日 08:04 /usr/share/applications/wps-office-wps.desktop -> /opt/apps/cn.wps.wps-office/entries/applications/wps-office-wps.desktop

解决办法:

方案一.开机后每次手动执行 sudo update-desktop-database 重新加载;

方案二.复制这些文件到当前用户目录下: find /usr/share/applications/ -maxdepth 1 -type l -exec cp --remove-destination {} ~/.local/share/applications/ \;

目前使用方案二解决

Reply Favorite View the author
All Replies
avatar
deepin流云
Super Moderator
Community OP
3 hours ago
#1

你这些应用不是从商店安装的么,为什么需要创建桌面软链接呢?

商店安装的这些应用默认都会在桌面创建图标,启动器也有图标的

Reply View the author