我正在运行 14.04
我已阅读过这个问题,它的答案与网络上其他答案大致相同,但对我来说不起作用。
我可以毫无问题地搜索所有其他文件,但是当我尝试搜索应用程序时,却无法这样做。
我不知道去哪里解决这个问题——我已确保unity-lens-applications
安装了,以及unity-scope-master
。
我还能做些什么来解决这个问题?老实说,我不想从终端启动所有应用程序。
在新创建的用户帐户上、应用做出现。但是,我希望在我的登录上修复此问题。
建议修复
unity
在 alt + F2 中运行
这将返回与上面相同的错误,但少了过滤器。sudo apt-get install zeitgeist zeitgeist-core
它已经安装并且是最新的
其他无效的建议:
clear $HOME/.cache/
并重新启动- 如何重置我的 Unity 配置?
- 如何将 GNOME 重置为默认值?
- Unity 无法加载,没有启动器,也没有出现 Dash
根据要求,ls /usr/share/applications/ 的输出:
activity-log-manager.desktop
apport-gtk.desktop
apturl.desktop
bamf-2.index
baobab.desktop
bluetooth-sendto.desktop
bluetooth-wizard.desktop
brasero.desktop
brasero-nautilus.desktop
caffeine.desktop
ccsm.desktop
checkbox-gui.desktop
cheese.desktop
compiz.desktop
credentials-preferences.desktop
dconf-editor.desktop
debian-uxterm.desktop
debian-xterm.desktop
defaults.list
deja-dup.desktop
deja-dup-preferences.desktop
deluge.desktop
display.im6.desktop
docky.desktop
dropbox.desktop
emerald-theme-manager.desktop
empathy.desktop
eog.desktop
evince.desktop
evince-previewer.desktop
evolution-data-server-uoa.desktop
extras-calendar-indicator.desktop
extras-pushbullet-indicator.desktop
extras-variety.desktop
FacebookMessengerfacebookcom.desktop
file-roller.desktop
firefox.desktop
gcalctool.desktop
gconf-editor.desktop
gcr-prompter.desktop
gcr-viewer.desktop
geary.desktop
gedit.desktop
gimp.desktop
gkbd-keyboard-display.desktop
Gmailmailgooglecom.desktop
gnome-activity-log-manager-panel.desktop
gnome-background-panel.desktop
gnome-bluetooth-panel.desktop
gnome-color-panel.desktop
gnome-contacts.desktop
gnome-control-center.desktop
gnome-datetime-panel.desktop
gnome-deja-dup-panel.desktop
gnome-disk-image-mounter.desktop
gnome-disk-image-writer.desktop
gnome-disks.desktop
gnome-display-panel.desktop
gnome-font-viewer.desktop
gnome-info-panel.desktop
gnome-keyboard-panel.desktop
gnome-mouse-panel.desktop
gnome-network-panel.desktop
gnome-online-accounts-panel.desktop
gnome-power-panel.desktop
gnome-power-statistics.desktop
gnome-printers-panel.desktop
gnome-region-panel.desktop
gnome-screen-panel.desktop
gnome-screenshot.desktop
gnome-sound-panel.desktop
gnome-sudoku.desktop
gnome-system-log.desktop
gnome-system-monitor.desktop
gnome-system-monitor-kde.desktop
gnome-terminal.desktop
gnome-universal-access-panel.desktop
gnome-user-accounts-panel.desktop
gnome-user-share-properties.desktop
gnome-wacom-panel.desktop
gnomine.desktop
GoogleCalendargooglecom.desktop
google-chrome.desktop
GooglePlusplusgooglecom.desktop
gucharmap.desktop
hplj1020.desktop
ibus-setup-bopomofo.desktop
ibus-setup.desktop
ibus-setup-pinyin.desktop
im-config.desktop
landscape-client-settings.desktop
language-selector.desktop
libreoffice-calc.desktop
libreoffice-draw.desktop
libreoffice-impress.desktop
libreoffice-math.desktop
libreoffice-startcenter.desktop
libreoffice-writer.desktop
libreoffice-xsltfilter.desktop
mahjongg.desktop
mimeinfo.cache
mono-runtime-common.desktop
mono-runtime-terminal.desktop
mount-archive.desktop
nautilus-autorun-software.desktop
nautilus-classic.desktop
nautilus-connect-server.desktop
nautilus.desktop
nautilus-folder-handler.desktop
nautilus-home.desktop
nm-applet.desktop
nm-connection-editor.desktop
nvidia-settings.desktop
onboard.desktop
onboard-settings.desktop
orca.desktop
popcorn-time.desktop
python2.7.desktop
python3.4.desktop
Redditredditcom.desktop
remmina.desktop
rhythmbox.desktop
rhythmbox-device.desktop
root-system-bin.desktop
screenlets-manager.desktop
seahorse.desktop
session-properties.desktop
shotwell.desktop
shotwell-viewer.desktop
shutter.desktop
signon-ui-browser-process.desktop
simple-scan.desktop
software-properties-drivers.desktop
software-properties-gnome.desktop
software-properties-gtk.desktop
sol.desktop
spotify.desktop
sublime_text.desktop
system-config-printer.desktop
tekka.desktop
thunderbird.desktop
totem.desktop
transmission-gtk.desktop
Twittertwittercom.desktop
typecatcher.desktop
ubuntu-amazon-default.desktop
ubuntu-software-center.desktop
unity-activity-log-manager-panel.desktop
unity-appearance-panel.desktop
unity-bluetooth-panel.desktop
unity-color-panel.desktop
unity-control-center.desktop
unity-credentials-panel.desktop
unity-datetime-panel.desktop
unity-deja-dup-panel.desktop
unity-display-panel.desktop
unity-info-panel.desktop
unity-keyboard-panel.desktop
unity-lens-photos.desktop
unity-mouse-panel.desktop
unity-network-panel.desktop
unity-power-panel.desktop
unity-region-panel.desktop
unity-scope-gdrive.desktop
unity-screen-panel.desktop
unity-sound-panel.desktop
unity-tweak-tool.desktop
unity-universal-access-panel.desktop
unity-user-accounts-panel.desktop
unity-wacom-panel.desktop
unitywebappsqmllauncher.desktop
update-accounts.desktop
update-manager.desktop
usb-creator-gtk.desktop
vino-preferences.desktop
vlc.desktop
webbrowser-app.desktop
xdiagnose.desktop
yelp.desktop
答案1
由于它仅限于您的用户帐户,因此它一定与您的用户有关。
也许您的主文件夹中的某个.desktop
文件使启动器出错了?您可以尝试将这些文件夹中的文件全部移到其他地方吗:
/home/<youruser>/.gnome/apps/
/home/<youruser>/.local/usr/share/applications/
例如
$ mkdir backup_local
$ mkdir backup_gnome
$ mv .local/share/applications/*.desktop backup_local/
$ mv .gnome/apps/*.desktop backup_gnome/
然后注销,登录,看看是否有什么变化?如果没有帮助,您可以随时将它们移回。如果有帮助,请尝试将它们逐个移动到哪个文件是罪魁祸首。
编辑:您可以找出哪一个是格式错误的:
安装
desktop-file-utils
包裹:sudo apt-get install desktop-file-utils
使用以下命令检查每个
.desktop
文件的有效性desktop-file-validate
:desktop-file-validate .local/share/applications/*.desktop desktop-file-validate .gnome/apps/*.desktop
或者当然,如果您已经移动它,则在不同的位置。如果所有文件都正常,它将不打印任何内容。如果任何文件格式不正确,它将每行打印一条错误消息。
您可能还想检查其他桌面文件:
desktop-file-validate /usr/share/applications/*.desktop
答案2
在我使用 Ubuntu 14.04 LTS 的某个会话期间,应用程序搜索停止响应,显示相同的错误。我找到的解决方案是打开终端 ( CtrlAltT) 并终止主范围
$ kill $(pgrep -f unity-scope-home/unity-scope-home)
范围已重新启动,应用程序搜索已恢复其功能
答案3
实际上,注销访客会话并以主用户身份重新登录就可以解决这个问题,因为我还是不太明白为什么……但在那之前,我花了一些时间尝试上述命令行,但对我的情况没有任何积极作用。当然,如果能有一种方法来重置这些 .desktop 文件,这显然是问题所在,那就太好了,如果能有一种方法来修复它们,那就太好了。无论如何,谢谢
答案4
请注意Applications
,类型或者类别在您的案例中(请参见附图进行对比)。从 14.04 LTS 升级到 16.04 LTS 后,我遇到了同样的问题。对我有用的解决方案是
我把答案复制到这里:
sudo apt-get purge unity-lens-applications
sudo apt-get install unity-lens-applications
然后注销并登录。