虽然我在AskUbuntu上阅读了很多帖子,但我没有找到一个适当的方法来禁用这些 Evolution 服务,尤其是当 Evolution 已经从系统中清除时,在 Ubuntu MATE 21.04 上。
这些服务在 `systemctl list-unit-files --type=service` 下没有列出,所以我无法使用 `sudo systemctl mask`。
这两个与进化相关的软件包仍然存在,因为清除它们会删除许多其他软件包。
执行
操作系统:Ubuntu MATE 21.04
evolution-data-server版本:3.40.0-1ubuntu1.1
evolution-data-server-common版本:3.40.0-1ubuntu1.1
非常感谢您的提前帮助。
这些服务在 `systemctl list-unit-files --type=service` 下没有列出,所以我无法使用 `sudo systemctl mask`。
ps -ef | grep evolution
admn 1973 1459 0 17:15 ? 00:00:00 /usr/libexec/evolution-source-registry
admn 2023 1459 0 17:15 ? 00:00:00 /usr/libexec/evolution-calendar-factory
admn 2058 1459 0 17:15 ? 00:00:00 /usr/libexec/evolution-addressbook-factory
这两个与进化相关的软件包仍然存在,因为清除它们会删除许多其他软件包。
evolution-data-server
evolution-data-server-common
执行
ls -lsh /usr/libexec/evolution*
的结果为:$ ls -lsh /usr/libexec/evolution*
16K -rwxr-xr-x 1 root root 15K Jun 22 20:57 /usr/libexec/evolution-addressbook-factory
48K -rwxr-xr-x 1 root root 47K Jun 22 20:57 /usr/libexec/evolution-addressbook-factory-subprocess
116K -rwxr-xr-x 1 root root 115K Jun 22 20:57 /usr/libexec/evolution-calendar-factory
136K -rwxr-xr-x 1 root root 135K Jun 22 20:57 /usr/libexec/evolution-calendar-factory-subprocess
60K -rwxr-xr-x 1 root root 59K Jun 22 20:57 /usr/libexec/evolution-scan-gconf-tree-xml
124K -rwxr-xr-x 1 root root 123K Jun 22 20:57 /usr/libexec/evolution-source-registry
20K -rwxr-xr-x 1 root root 19K Jun 22 20:57 /usr/libexec/evolution-user-prompter
/usr/libexec/evolution-data-server:
total 116K
32K -rwxr-xr-x 1 root root 31K Jun 22 20:57 addressbook-export
8.0K -rwxr-xr-x 1 root root 7.0K Jun 22 20:57 csv2vcard
52K -rwxr-xr-x 1 root root 51K Jun 22 20:57 evolution-alarm-notify
24K -rwxr-xr-x 1 root root 23K Jun 22 20:57 list-sources
操作系统:Ubuntu MATE 21.04
evolution-data-server版本:3.40.0-1ubuntu1.1
evolution-data-server-common版本:3.40.0-1ubuntu1.1
非常感谢您的提前帮助。
systemctl status evolution-addressbook-factory.service
时,我收到了这个消息:找不到单元 evolution-calendar-factory.service
。谢谢。 - Jagssystemctl
命令中加上--user
参数。所有这些单元都是由用户会话拥有和启动的。 - N0rbertsystemctl --user mask
这4个服务:evolution-addressbook-factory.service
、evolution-calendar-factory.service
、evolution-source-registry.service
、evolution-user-prompter.service
,还是我需要像你发布的链接中提到的那样将.desktop
复制到~/.config/autostart/
?非常感谢。 - Jagsevolution-alarm-notify
的问题...而这个问题我并没有。我认为在这里给出一个答案会对未来的访问者有所帮助,因为缺少--user
参数导致无法找到这些服务。再次感谢。 - Jags