如何在Ubuntu上安装Noise音乐播放器


Noise是一款快速美观的GTK3音频播放器,专注于音乐和库。它支持外部设备、CD和专辑封面。Noise利用Granite打造一致流畅的用户界面。Elementary OS团队在launchpad.net上创建了一些PPA,以便用户可以轻松地在Ubuntu桌面上安装和测试一些elementary应用程序(Noise播放器)。本文将介绍如何在Ubuntu上安装Noise播放器。

功能

  • 支持插件。

  • 自动升级数据库到较新版本。

  • 支持Last.fm认证。

  • 支持当前歌曲的智能自动滚动。

  • 支持水平滚动固定。

  • 支持无缝播放。

  • 改进启动速度。

  • 多库管理。播客现在每个单独的文件夹都有单独的库。

安装Noise

要安装Noise,您应该为Ubuntu添加BeatBox PPA:

$ sudo add-apt-repository ppa:elementary-os/daily

示例输出应如下所示:

ATTENTION!
Do NOT install this PPA if you want a tested running system, this PPA contains the newest and most unstable development of elementary, it's useful only if you are a developer and are not afraid to encounter CRITICAL BUGS.
Also this PPA may overwrite already installed packages you don't want it to!
   More info: https://launchpad.net/~elementary-os/+archive/ubuntu/daily
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp2a8fyksz/secring.gpg' created
gpg: keyring `/tmp/tmp2a8fyksz/pubring.gpg' created
gpg: requesting key 4E1F8A59 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2a8fyksz/trustdb.gpg: trustdb created
gpg: key 4E1F8A59: public key "Launchpad PPA for elementary OS team" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

通过运行如下所示的更新命令来更新系统软件:

$ sudo apt-get update

通过运行以下命令来安装Noise播放器:

$ sudo apt-get install noise

示例输出应如下所示:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
   apport-hooks-elementary contractor javascript-common libgda-5.0-4
   libgda-5.0-common libgranite-common libgranite3 libgsignon-glib1 libindicate5
   libjs-jquery libnoise-core0 libtagc0
Suggested packages:
   libgda-5.0-bin libgda-5.0-mysql libgda-5.0-postgres
The following NEW packages will be installed:
   apport-hooks-elementary contractor javascript-common libgda-5.0-4
   libgda-5.0-common libgranite-common libgranite3 libgsignon-glib1 libindicate5
   libjs-jquery libnoise-core0 libtagc0 noise
0 upgraded, 13 newly installed, 0 to remove and 32 not upgraded.
Need to get 2,527 kB of archives.
After this operation, 16.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
Get:2 http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial/main amd64 libgranite-common all 0.3.1+r935+pkg83~daily~ubuntu0.4.1 [54.7 kB]
Get:3 http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial/main amd64 libgranite3 amd64 0.3.1+r935+pkg83~daily~ubuntu0.4.1 [160 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libgda-5.0-common all 5.2.4-1ubuntu1 [797 kB]
......................................................................................

要打开Noise播放器,请使用以下命令:

$ noise

示例输出应如下所示:

安装完成后,运行以下命令禁用Noise音乐播放器的叠加滚动条:

$ sudo sed -i "s/Exec=noise/Exec=env\ LIBOVERLAY_SCROLLBAR=0\ noise/g" /usr/share/applications/noise.desktop

卸载Noise音乐播放器

要卸载Noise音乐播放器,请使用以下命令:

$ sudo apt-get remove noise

示例输出应如下所示:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   apport-hooks-elementary contractor javascript-common libgda-5.0-4
   libgda-5.0-common libgranite-common libgranite3 libgsignon-glib1 libindicate5
   libjs-jquery libnoise-core0 libtagc0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
   noise
0 upgraded, 0 newly installed, 1 to remove and 32 not upgraded.
After this operation, 3,647 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 180015 files and directories currently installed.)
Removing noise (0.3.1+r1919+pkg95~daily~ubuntu0.4.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.0-1ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
..................................................................................

恭喜!现在,您知道“如何在Ubuntu上安装Noise音乐播放器”了。我们将在下一篇文章中学习更多关于这些命令的知识。继续关注!

更新于:2020年1月22日

222 次浏览

开启您的职业生涯

通过完成课程获得认证

开始学习
广告