Albert 在Linux系统下是一个类似类似Windows的Everything和Listary软件,除了找文件和应用还可以进行计算器计算,打开网页等操作。

Ubuntu 18.04 LTS 安装Albert

根据 https://software.opensuse.org/download.html?project=home:manuelschneid3r&package=albert,有两种方法进行安装,我采用的第二种方法。

方法1:Add repository and install manually

echo 'deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_18.04/ /' | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list
sudo wget -nv https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_18.04/Release.key -O "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"
sudo apt update
sudo apt install albert

方法2:Grab binary packages directly

下载 albert_0.16.1_amd64.deb 安装包,下载链接:https://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_18.04/amd64/albert_0.16.1_amd64.deb

sudo dpkg -i albert_0.16.1_amd64.deb

遇到问题,缺少依赖

提示是缺少 libmuparser2v5, libqt5charts5, libqt5concurrent5libqt5x11extras5.

Selecting previously unselected package albert.
(Reading database ... 304796 files and directories currently installed.)
Preparing to unpack albert_0.16.1_amd64.deb ...
Unpacking albert (0.16.1) ...
dpkg: dependency problems prevent configuration of albert:
 albert depends on libmuparser2v5 (>= 2.2.3); however:
  Package libmuparser2v5 is not installed.
 albert depends on libqt5charts5 (>= 5.7.1); however:
  Package libqt5charts5 is not installed.
 albert depends on libqt5concurrent5 (>= 5.6.0~rc); however:
  Package libqt5concurrent5 is not installed.
 albert depends on libqt5x11extras5 (>= 5.6.0); however:
  Package libqt5x11extras5 is not installed.

dpkg: error processing package albert (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 albert

解决办法

sudo apt --fix-broken install
sudo dpkg -i albert_0.16.1_amd64.deb

安装成功

在这里插入图片描述
设置热键
在这里插入图片描述

功能失效(其实没有失效),重装

发现功能没有生效,准备重装,先卸载:

sudo dpkg --purge albert 

然后我用方法1进行了重装,还是没有功能生效,查询后才发现需要在extension里面开启对应的功能,比如需要查找Applications就需要把它勾选。

演示

在这里插入图片描述

Logo

更多推荐