Ubuntu 软件显示为已安装磁盘?

Ubuntu 软件显示为已安装磁盘?

就在最近,Nautilus 中出现了一个带有路径的新的 53 MB 卷media/qwr/disk

在此处输入图片描述

我查看了自动启动目录,其中有两个文件。

设置自动启动:

#!/bin/bash

if [ -r $GS_SELF_TEST_OS_RELEASE_FILENAME ];
then
  if [[ "$(grep "^NAME" $GS_SELF_TEST_OS_RELEASE_FILENAME | awk -F '"' '{print $2}')" == "Ubuntu" ]];
  then
    # Delete autostart and recreate to handle migration to ubuntu-software snap
    # FIXME: Remove the following line after revision > 214 and < 352 is the majority
    rm -rf $SNAP_USER_DATA/.config/autostart
    if [[ ! -d "$SNAP_USER_DATA/.config/autostart" ]];
    then
      mkdir -p $SNAP_USER_DATA/.config/autostart
      ln -sfnt $SNAP_USER_DATA/.config/autostart/ ${SNAP/`basename $SNAP`/current}/autostart/ubuntu-software-service.desktop
    fi
  fi
fi

exec "$@"

ubuntu-software-service.desktop

[Desktop Entry]
Name=Ubuntu Software
Exec=snap-store.ubuntu-software --gapplication-service %U
X-GNOME-Autostart-Delay=60
OnlyShowIn=GNOME;Unity;
NoDisplay=true

为什么 Ubuntu 软件显示为已安装磁盘?我该如何防止这种情况发生?

相关内容